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)
Append 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 leaf 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
getParts, 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.Given the sequence
a.b.c
, returns the sequencea.b
.- Specified by:
getParent
in interfaceDotIdentifierSequence
-
getLocalName
public String 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
-
getFullPath
public String getFullPath()
Description copied from interface:DotIdentifierSequence
The full sequence text.Given the sequence
a.b.c
, returns the string"a.b.c"
.- Specified by:
getFullPath
in interfaceDotIdentifierSequence
-
append
public FullyQualifiedReflectivePath append(String subPathName)
Description copied from interface:DotIdentifierSequence
Append a new part to the end of this sequence, returning the new representation.Given the sequence
a.b.c
, appendingd
results in the new sequencea.b.c.d
.- Specified by:
append
in interfaceDotIdentifierSequence
-
-