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 String
getIdentifierAttributeName()
String
getLocalName()
The name of this sequence part.protected boolean
localNamesMatch(DotIdentifierSequence otherPath)
protected boolean
localNamesMatch(EntityIdentifierNavigablePath otherPath)
-
Methods inherited from class org.hibernate.spi.NavigablePath
append, append, calculateIdMapperFullPath, calculateRootFullPath, equals, getAlias, getFullPath, getIdentifierForTableGroup, getParent, getRealParent, hashCode, isAliased, isParent, pathsMatch, 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:DotIdentifierSequence
The name of this sequence part. E.g., given the sequence `a.b.c`, this returns `c`- Specified by:
getLocalName
in interfaceDotIdentifierSequence
- Overrides:
getLocalName
in classNavigablePath
-
localNamesMatch
protected boolean localNamesMatch(DotIdentifierSequence otherPath)
- Overrides:
localNamesMatch
in classNavigablePath
-
localNamesMatch
protected boolean localNamesMatch(EntityIdentifierNavigablePath otherPath)
- Overrides:
localNamesMatch
in classNavigablePath
-
-