public abstract class MetaProperty
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
name |
protected java.lang.Class |
type |
| Constructor and Description |
|---|
MetaProperty(java.lang.String name,
java.lang.Class type) |
| Modifier and Type | Method and Description |
|---|---|
int |
getModifiers() |
java.lang.String |
getName() |
abstract java.lang.Object |
getProperty(java.lang.Object object) |
java.lang.Class |
getType() |
abstract void |
setProperty(java.lang.Object object,
java.lang.Object newValue)
Sets the property on the given object to the new value
|
public abstract java.lang.Object getProperty(java.lang.Object object)
java.lang.Exception - if the property could not be evaluatedpublic abstract void setProperty(java.lang.Object object,
java.lang.Object newValue)
object - on which to set the propertynewValue - the new value of the propertyjava.lang.RuntimeException - if the property could not be setpublic java.lang.String getName()
public java.lang.Class getType()
public int getModifiers()