Package org.hibernate.spi
Class EntityIdentifierNavigablePath
- java.lang.Object
-
- org.hibernate.spi.NavigablePath
-
- org.hibernate.spi.EntityIdentifierNavigablePath
-
- All Implemented Interfaces:
Serializable,DotIdentifierSequence
public class EntityIdentifierNavigablePath extends NavigablePath
Specialized NavigablePath implementation for handling special cases pertaining to entity identifiers- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.hibernate.spi.NavigablePath
NavigablePath.FullPathCalculator, NavigablePath.RelativePathCollector
-
-
Field Summary
-
Fields inherited from class org.hibernate.spi.NavigablePath
IDENTIFIER_MAPPER_PROPERTY
-
-
Constructor Summary
Constructors Constructor Description EntityIdentifierNavigablePath(NavigablePath parent, String identifierAttributeName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetIdentifierAttributeName()StringgetLocalName()The name of this sequence part.protected booleanlocalNamesMatch(DotIdentifierSequence otherPath)protected booleanlocalNamesMatch(EntityIdentifierNavigablePath otherPath)-
Methods inherited from class org.hibernate.spi.NavigablePath
append, append, calculateIdMapperFullPath, calculateRootFullPath, equals, getAlias, getFullPath, getIdentifierForTableGroup, getParent, getRealParent, hashCode, isAliased, isParent, relativize, relativize, toString, treatAs, treatAs
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.hibernate.spi.DotIdentifierSequence
isRoot, resolve
-
-
-
-
Constructor Detail
-
EntityIdentifierNavigablePath
public EntityIdentifierNavigablePath(NavigablePath parent, String identifierAttributeName)
-
-
Method Detail
-
getIdentifierAttributeName
public String getIdentifierAttributeName()
-
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- Overrides:
getLocalNamein classNavigablePath
-
localNamesMatch
protected boolean localNamesMatch(DotIdentifierSequence otherPath)
- Overrides:
localNamesMatchin classNavigablePath
-
localNamesMatch
protected boolean localNamesMatch(EntityIdentifierNavigablePath otherPath)
- Overrides:
localNamesMatchin classNavigablePath
-
-