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 booleanlocalNamesMatch(DotIdentifierSequence otherPath) protected booleanlocalNamesMatch(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, trimSuffixMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.hibernate.spi.DotIdentifierSequence
getParts, isRoot
-
Constructor Details
-
Method Details
-
getIdentifierAttributeName
-
getLocalName
Description copied from interface:DotIdentifierSequenceThe name of this leaf sequence part.Given the sequence
a.b.c, returns the string"c".- Specified by:
getLocalNamein interfaceDotIdentifierSequence- Overrides:
getLocalNamein classNavigablePath
-
localNamesMatch
- Overrides:
localNamesMatchin classNavigablePath
-