Package org.hibernate.metamodel.mapping
Class SelectablePath
- java.lang.Object
-
- org.hibernate.metamodel.mapping.SelectablePath
-
- All Implemented Interfaces:
Serializable,DotIdentifierSequence
@Incubating public class SelectablePath extends Object implements Serializable, DotIdentifierSequence
The path for a selectable.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SelectablePath(String root)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description SelectablePathappend(String selectableName)Append a new part to the end of this sequence, returning the new representation.booleanequals(Object o)StringgetFullPath()The full sequence text.StringgetLocalName()The name of this leaf sequence part.SelectablePathgetParent()The parent sequence part.SelectablePath[]getParts()StringgetSelectableName()inthashCode()static SelectablePathparse(String path)SelectablePath[]relativize(SelectablePath basePath)StringtoString()-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.hibernate.spi.DotIdentifierSequence
isRoot
-
-
-
-
Constructor Detail
-
SelectablePath
public SelectablePath(String root)
-
-
Method Detail
-
parse
public static SelectablePath parse(String path)
-
getParts
public SelectablePath[] getParts()
- Specified by:
getPartsin interfaceDotIdentifierSequence
-
relativize
public SelectablePath[] relativize(SelectablePath basePath)
-
getSelectableName
public String getSelectableName()
-
getParent
public SelectablePath getParent()
Description copied from interface:DotIdentifierSequenceThe parent sequence part.Given the sequence
a.b.c, returns the sequencea.b.- Specified by:
getParentin interfaceDotIdentifierSequence
-
append
public SelectablePath append(String selectableName)
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
-
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
-
-