| Modifier and Type | Field and Description |
|---|---|
| protected final String | |
| public static final String | |
| protected Class |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static String | Returns: The name of the property. The name is "get"+ the capitalized propertyName or, in the case of boolean values, "is" + the capitalized propertyNameGets the name for the getter for this property |
| public int | |
| public String | |
| public abstract Object | |
| public static String | Returns: The name of the property. The name is "set"+ the capitalized propertyName.Gets the setter for the getter for this property. |
| public Class | |
| public abstract void | setProperty(Object
on which to set the property object, Object the new value of the property newValue)Sets the property on the given object to the new value. |
| name | back to summary |
|---|---|
| protected final String name | |
| PROPERTY_SET_PREFIX | back to summary |
|---|---|
| public static final String PROPERTY_SET_PREFIX | |
| type | back to summary |
|---|---|
| protected Class<T> type | |
| MetaProperty | back to summary |
|---|---|
| public MetaProperty(String name, Class<T> type) Constructor that sets the property name and type (class) | |
| getGetterName | back to summary |
|---|---|
| public static String getGetterName(String propertyName, Class<T> type) Gets the name for the getter for this property
| |
| getModifiers | back to summary |
|---|---|
| public int getModifiers() Returns the access modifier.
| |
| getName | back to summary |
|---|---|
| public String getName() Return the name of the property
| |
| getProperty | back to summary |
|---|---|
public abstract Object getProperty(Object object)
| |
| getSetterName | back to summary |
|---|---|
| public static String getSetterName(String propertyName) Gets the setter for the getter for this property.
| |
| getType | back to summary |
|---|---|
public Class
| |
| setProperty | back to summary |
|---|---|
| public abstract void setProperty(Object object, Object newValue) Sets the property on the given object to the new value.
| |