public class PropertyPath extends java.lang.Object implements java.lang.Iterable<PropertyPath>
PropertyPath of a domain class.| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
equals(java.lang.Object obj) |
static PropertyPath |
from(java.lang.String source)
Extracts the
PropertyPath chain from the given source String. |
PropertyPath |
getLeafProperty()
Returns the leaf property of the
PropertyPath. |
java.lang.String |
getSegment()
Returns the name of the
PropertyPath. |
int |
hashCode() |
boolean |
hasNext()
Returns whether there is a nested
PropertyPath. |
java.util.Iterator<PropertyPath> |
iterator() |
PropertyPath |
next()
Returns the next nested
PropertyPath. |
java.lang.String |
toDotPath()
Returns the
PropertyPath in dot notation. |
java.lang.String |
toString() |
public java.lang.String getSegment()
PropertyPath.public PropertyPath getLeafProperty()
PropertyPath.public PropertyPath next()
PropertyPath.PropertyPath or null if no nested
PropertyPath available.hasNext()public boolean hasNext()
PropertyPath. If this returns
true you can expect next() to return a non-
null value.public java.lang.String toDotPath()
PropertyPath in dot notation.public boolean equals(java.lang.Object obj)
equals 在类中 java.lang.Objectpublic int hashCode()
hashCode 在类中 java.lang.Objectpublic java.util.Iterator<PropertyPath> iterator()
iterator 在接口中 java.lang.Iterable<PropertyPath>public static PropertyPath from(java.lang.String source)
PropertyPath chain from the given source String.source - must not be null.type - public java.lang.String toString()
toString 在类中 java.lang.ObjectCopyright © 2020. All Rights Reserved.