Class AttributePath
- java.lang.Object
-
- org.hibernate.boot.model.source.spi.AbstractAttributeKey
-
- org.hibernate.boot.model.source.spi.AttributePath
-
public class AttributePath extends AbstractAttributeKey
An attribute path is, generally speaking, the path of attribute names back to a "root" (which is either an entity or a persistent collection). The name of this root typically is not included in the path.
-
-
Field Summary
Fields Modifier and Type Field Description static charDELIMITER
-
Constructor Summary
Constructors Constructor Description AttributePath()AttributePath(AttributePath parent, java.lang.String property)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description AttributePathappend(java.lang.String property)Creates a new AbstractAttributeKey by appending the passed part.protected chargetDelimiter()AttributePathgetParent()Access to the parent partstatic AttributePathparse(java.lang.String path)-
Methods inherited from class org.hibernate.boot.model.source.spi.AbstractAttributeKey
equals, getDepth, getFullPath, getProperty, hashCode, isCollectionElement, isPartOfCollectionElement, isRoot, stripCollectionElementMarker, toString
-
-
-
-
Field Detail
-
DELIMITER
public static final char DELIMITER
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
AttributePath
public AttributePath()
-
AttributePath
public AttributePath(AttributePath parent, java.lang.String property)
-
-
Method Detail
-
getDelimiter
protected char getDelimiter()
- Specified by:
getDelimiterin classAbstractAttributeKey
-
append
public AttributePath append(java.lang.String property)
Description copied from class:AbstractAttributeKeyCreates a new AbstractAttributeKey by appending the passed part.- Specified by:
appendin classAbstractAttributeKey- Parameters:
property- The part to append- Returns:
- The new AbstractAttributeKey
-
getParent
public AttributePath getParent()
Description copied from class:AbstractAttributeKeyAccess to the parent part- Overrides:
getParentin classAbstractAttributeKey- Returns:
- the parent part
-
parse
public static AttributePath parse(java.lang.String path)
-
-