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 FullyQualifiedReflectivePathappend(String subPathName)Append a new part to the end of this sequence, returning the new representation.StringgetFullPath()The full sequence text.StringgetLocalName()The name of this leaf sequence part.FullyQualifiedReflectivePathSourcegetParent()The parent sequence part.SqmPath<?>resolveIndexedAccess(SqmExpression<?> selector, boolean isTerminal, SqmCreationState creationState)FullyQualifiedReflectivePathresolvePathPart(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:
resolvePathPartin interfaceSemanticPathPart
-
resolveIndexedAccess
public SqmPath<?> resolveIndexedAccess(SqmExpression<?> selector, boolean isTerminal, SqmCreationState creationState)
- Specified by:
resolveIndexedAccessin interfaceSemanticPathPart
-
getParent
public FullyQualifiedReflectivePathSource getParent()
Description copied from interface:DotIdentifierSequenceThe parent sequence part.Given the sequence
a.b.c, returns the sequencea.b.- Specified by:
getParentin interfaceDotIdentifierSequence
-
getLocalName
public String 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
-
getFullPath
public String getFullPath()
Description copied from interface:DotIdentifierSequenceThe full sequence text.Given the sequence
a.b.c, returns the string"a.b.c".- Specified by:
getFullPathin interfaceDotIdentifierSequence
-
append
public FullyQualifiedReflectivePath append(String subPathName)
Description copied from interface:DotIdentifierSequenceAppend a new part to the end of this sequence, returning the new representation.Given the sequence
a.b.c, appendingdresults in the new sequencea.b.c.d.- Specified by:
appendin interfaceDotIdentifierSequence
-
-