Package org.hibernate.spi
Class TreatedNavigablePath
- java.lang.Object
-
- org.hibernate.spi.NavigablePath
-
- org.hibernate.spi.TreatedNavigablePath
-
- All Implemented Interfaces:
Serializable
,DotIdentifierSequence
@Incubating public class TreatedNavigablePath extends NavigablePath
An implementation ofNavigablePath
with special handling for treated paths.- 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 TreatedNavigablePath(NavigablePath parent, String entityTypeName)
TreatedNavigablePath(NavigablePath parent, String entityTypeName, @Nullable String alias)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected static String
calculateTreatedFullPath(@Nullable NavigablePath parent, String localName, @Nullable String alias)
NavigablePath
treatAs(String entityName)
NavigablePath
treatAs(String entityName, String alias)
-
Methods inherited from class org.hibernate.spi.NavigablePath
append, append, calculateIdMapperFullPath, calculateRootFullPath, equals, getAlias, getFullPath, getIdentifierForTableGroup, getLocalName, getParent, getRealParent, hashCode, isAliased, isParent, isParentOrEqual, isSuffix, localNamesMatch, localNamesMatch, pathsMatch, relativize, relativize, toString, 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 Detail
-
TreatedNavigablePath
public TreatedNavigablePath(NavigablePath parent, String entityTypeName)
-
TreatedNavigablePath
public TreatedNavigablePath(NavigablePath parent, String entityTypeName, @Nullable String alias)
-
-
Method Detail
-
calculateTreatedFullPath
protected static String calculateTreatedFullPath(@Nullable NavigablePath parent, String localName, @Nullable String alias)
-
treatAs
public NavigablePath treatAs(String entityName)
- Overrides:
treatAs
in classNavigablePath
-
treatAs
public NavigablePath treatAs(String entityName, String alias)
- Overrides:
treatAs
in classNavigablePath
-
-