Package org.hibernate.spi
Class EntityIdentifierNavigablePath
java.lang.Object
org.hibernate.spi.NavigablePath
org.hibernate.spi.EntityIdentifierNavigablePath
- All Implemented Interfaces:
Serializable
,DotIdentifierSequence
Specialized implementation of
NavigablePath
for handling special cases
pertaining to entity identifiers.- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.hibernate.spi.NavigablePath
NavigablePath.RelativePathCollector
-
Field Summary
Fields inherited from class org.hibernate.spi.NavigablePath
IDENTIFIER_MAPPER_PROPERTY
-
Constructor Summary
ConstructorsConstructorDescriptionEntityIdentifierNavigablePath
(NavigablePath parent, String identifierAttributeName) EntityIdentifierNavigablePath
(NavigablePath parent, String alias, String identifierAttributeName) -
Method Summary
Modifier and TypeMethodDescriptionThe name of this leaf sequence part.protected boolean
localNamesMatch
(DotIdentifierSequence otherPath) protected boolean
localNamesMatch
(EntityIdentifierNavigablePath otherPath) Methods inherited from class org.hibernate.spi.NavigablePath
append, append, equals, getAlias, getFullPath, getIdentifierForTableGroup, getParent, getRealParent, hashCode, isAliased, isParent, isParentOrEqual, isSuffix, pathsMatch, relativize, relativize, toString, treatAs, treatAs, trimSuffix
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.hibernate.spi.DotIdentifierSequence
getParts, isRoot
-
Constructor Details
-
Method Details
-
getIdentifierAttributeName
-
getLocalName
Description copied from interface:DotIdentifierSequence
The name of this leaf sequence part.Given the sequence
a.b.c
, returns the string"c"
.- Specified by:
getLocalName
in interfaceDotIdentifierSequence
- Overrides:
getLocalName
in classNavigablePath
-
localNamesMatch
- Overrides:
localNamesMatch
in classNavigablePath
-