public interface Attribute
extends java.io.Serializable
| Modifier and Type | Field and Description |
|---|---|
static java.lang.Object |
INVALID_VALUE
An object instance used to signal a invalid return value for getValue()
|
static long |
serialVersionUID
Generated ID for serialisation.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String[] |
getAttributePath()
Returns the names of the attributes that must be retrieved to
get the value of the attribute
|
java.lang.Object |
getValue(java.lang.Object owner)
Retrieves the attribute value for a specified parent object,
i.e. goes through the path of methods beginning with
owner |
java.lang.Class<?> |
getValueType()
Retrieves the data type of the attribute.
|
static final long serialVersionUID
static final java.lang.Object INVALID_VALUE
java.lang.String[] getAttributePath()
java.lang.Object getValue(java.lang.Object owner)
ownerowner - the object to which the first method of the array is appliedjava.lang.Class<?> getValueType()