Package org.hibernate.loader
Class PropertyPath
- java.lang.Object
-
- org.hibernate.loader.PropertyPath
-
- All Implemented Interfaces:
DotIdentifierSequence
public class PropertyPath extends Object implements DotIdentifierSequence
-
-
Field Summary
Fields Modifier and Type Field Description static StringIDENTIFIER_MAPPER_PROPERTY
-
Constructor Summary
Constructors Constructor Description PropertyPath()PropertyPath(String property)PropertyPath(PropertyPath parent, String property)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PropertyPathappend(String property)Add a new part to the end of this sequence, returning the new representation.StringgetFullPath()The full sequence text.StringgetLocalName()The name of this sequence part.PropertyPathgetParent()The parent sequence part.StringgetProperty()booleanisRoot()Is this sequence node the root of the sequence.StringtoString()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.hibernate.spi.DotIdentifierSequence
resolve
-
-
-
-
Field Detail
-
IDENTIFIER_MAPPER_PROPERTY
public static final String IDENTIFIER_MAPPER_PROPERTY
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
PropertyPath
public PropertyPath(PropertyPath parent, String property)
-
PropertyPath
public PropertyPath(String property)
-
PropertyPath
public PropertyPath()
-
-
Method Detail
-
append
public PropertyPath append(String property)
Description copied from interface:DotIdentifierSequenceAdd a new part to the end of this sequence, returning the new representation. E.g., given the sequence `a.b.c` and appending `d` would return a new sequence `a.b.c.d`- Specified by:
appendin interfaceDotIdentifierSequence
-
getParent
public PropertyPath getParent()
Description copied from interface:DotIdentifierSequenceThe parent sequence part. E.g., given the sequence `a.b.c`, this returns `a.b`- Specified by:
getParentin interfaceDotIdentifierSequence
-
getLocalName
public String getLocalName()
Description copied from interface:DotIdentifierSequenceThe name of this sequence part. E.g., given the sequence `a.b.c`, this returns `c`- Specified by:
getLocalNamein interfaceDotIdentifierSequence
-
getProperty
public String getProperty()
-
getFullPath
public String getFullPath()
Description copied from interface:DotIdentifierSequenceThe full sequence text. E.g., given the sequence `a.b.c`, this returns `a.b.c`- Specified by:
getFullPathin interfaceDotIdentifierSequence
-
isRoot
public boolean isRoot()
Description copied from interface:DotIdentifierSequenceIs this sequence node the root of the sequence. Same as checking the nullness ofDotIdentifierSequence.getParent()- Specified by:
isRootin interfaceDotIdentifierSequence
-
-