public class MetaPropertyPath
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
MetaPropertyPath(MetaClass metaClass,
MetaProperty... metaProperties) |
MetaPropertyPath(MetaPropertyPath parentPath,
MetaProperty... addProperties) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
MetaClass |
getMetaClass()
MetaClass which is the path origin
|
MetaProperty[] |
getMetaProperties()
Array of MetaProperties between the originating MetaClass and target MetaProperty
|
MetaProperty |
getMetaProperty()
Target MetaProperty
|
java.lang.String[] |
getPath()
Path as String array
|
Range |
getRange()
Range of the target MetaProperty
|
java.lang.Class |
getRangeJavaClass()
Java class of the target MetaProperty range
|
int |
hashCode() |
boolean |
startsWith(MetaPropertyPath other)
Tests if this path is a nested property of the given path.
|
java.lang.String |
toString() |
public MetaPropertyPath(MetaClass metaClass, MetaProperty... metaProperties)
public MetaPropertyPath(MetaPropertyPath parentPath, MetaProperty... addProperties)
public MetaClass getMetaClass()
public MetaProperty[] getMetaProperties()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public Range getRange()
public java.lang.Class getRangeJavaClass()
public java.lang.String[] getPath()
public MetaProperty getMetaProperty()
public boolean startsWith(MetaPropertyPath other)
public java.lang.String toString()
toString
in class java.lang.Object