Package org.hibernate.query.hql.internal
Class FullyQualifiedReflectivePath
- java.lang.Object
-
- org.hibernate.query.hql.internal.FullyQualifiedReflectivePath
-
- All Implemented Interfaces:
FullyQualifiedReflectivePathSource
,SemanticPathPart
,DotIdentifierSequence
- Direct Known Subclasses:
FullyQualifiedReflectivePathTerminal
public class FullyQualifiedReflectivePath extends Object implements SemanticPathPart, FullyQualifiedReflectivePathSource
-
-
Constructor Summary
Constructors Constructor Description FullyQualifiedReflectivePath(FullyQualifiedReflectivePathSource pathSource, String localName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FullyQualifiedReflectivePath
append(String subPathName)
Add a new part to the end of this sequence, returning the new representation.String
getFullPath()
The full sequence text.String
getLocalName()
The name of this sequence part.FullyQualifiedReflectivePathSource
getParent()
The parent sequence part.SqmPath<?>
resolveIndexedAccess(SqmExpression<?> selector, boolean isTerminal, SqmCreationState creationState)
FullyQualifiedReflectivePath
resolvePathPart(String name, boolean isTerminal, SqmCreationState creationState)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.hibernate.spi.DotIdentifierSequence
isRoot
-
-
-
-
Constructor Detail
-
FullyQualifiedReflectivePath
public FullyQualifiedReflectivePath(FullyQualifiedReflectivePathSource pathSource, String localName)
-
-
Method Detail
-
resolvePathPart
public FullyQualifiedReflectivePath resolvePathPart(String name, boolean isTerminal, SqmCreationState creationState)
- Specified by:
resolvePathPart
in interfaceSemanticPathPart
-
resolveIndexedAccess
public SqmPath<?> resolveIndexedAccess(SqmExpression<?> selector, boolean isTerminal, SqmCreationState creationState)
- Specified by:
resolveIndexedAccess
in interfaceSemanticPathPart
-
getParent
public FullyQualifiedReflectivePathSource getParent()
Description copied from interface:DotIdentifierSequence
The parent sequence part. E.g., given the sequence `a.b.c`, this returns `a.b`- Specified by:
getParent
in interfaceDotIdentifierSequence
-
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
-
getFullPath
public String getFullPath()
Description copied from interface:DotIdentifierSequence
The full sequence text. E.g., given the sequence `a.b.c`, this returns `a.b.c`- Specified by:
getFullPath
in interfaceDotIdentifierSequence
-
append
public FullyQualifiedReflectivePath append(String subPathName)
Description copied from interface:DotIdentifierSequence
Add a new part to the end of this sequence, returning the new representation. E.g., given the sequence `a.b.c` and appending `d` would return a new sequence `a.b.c.d`- Specified by:
append
in interfaceDotIdentifierSequence
-
-