public class PropertyPath
extends java.lang.Object
Constructor and Description |
---|
PropertyPath(Property property)
Creates a path containing a single property.
|
PropertyPath(Property property,
PropertyPath tail)
Creates a path by prepending a path with a property.
|
Modifier and Type | Method and Description |
---|---|
PropertyPath |
copy()
Creates a new path that is a copy of this path.
|
Property |
getProperty()
Returns the first property in this path.
|
PropertyPath |
getTail()
Returns the path after the first property.
|
public PropertyPath(Property property)
property
- the propertypublic PropertyPath(Property property, PropertyPath tail)
property
- the property to prependtail
- the path to prepend topublic Property getProperty()
public PropertyPath getTail()
public PropertyPath copy()