Bean.
| Modifier and Type | Field and Description |
|---|---|
| private Class | |
| private Method | |
| private String | |
| private Method | |
| private boolean | |
| private Method | |
| private Class |
| Access | Constructor and Description |
|---|---|
| public | PropertyReference(Class<?>
The class of the clazz, String Bean that contains the propertyThe name of the property name)Creates a new |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | equals(Object obj)
Overrides java. Indicates whether some other object is "equal to" this one. |
| public T | |
| public Class | Returns: the class of theBeanReturns the class of the |
| public String | |
| public ReadOnlyProperty | Returns: TheObservableValue of the propertyThe bean)Bean instance for which the property should be
readGet the |
| public Class | |
| public int | |
| public boolean | hasProperty()
Can be used to determine if a property provides an implementation of
|
| public boolean | Returns: true, if the property can be get, false otherwiseCan be used to determine if a property can be get. |
| public boolean | Returns: true, if the property can be set, false otherwiseCan be used to determine if a property can be set. |
| private void | |
| public void | |
| public String |
| clazz | back to summary |
|---|---|
| private Class<?> clazz | |
| getter | back to summary |
|---|---|
| private Method getter | |
| name | back to summary |
|---|---|
| private String name | |
| propertyGetter | back to summary |
|---|---|
| private Method propertyGetter | |
| reflected | back to summary |
|---|---|
| private boolean reflected | |
| setter | back to summary |
|---|---|
| private Method setter | |
| type | back to summary |
|---|---|
| private Class<?> type | |
| PropertyReference | back to summary |
|---|---|
| public PropertyReference(Class<?> clazz, String name) Creates a new
| |
| equals | back to summary |
|---|---|
| public boolean equals(Object obj) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes.
| |
| get | back to summary |
|---|---|
| public T get(Object bean) Get the value of the property.
| |
| getContainingClass | back to summary |
|---|---|
| public Class Returns the class of the | |
| getName | back to summary |
|---|---|
| public String getName() Returns the name of the property.
| |
| getProperty | back to summary |
|---|---|
| public ReadOnlyProperty Get the
| |
| getType | back to summary |
|---|---|
| public Class Returns the type of the property. This type is only evaluated correctly if a getter or a setter was found.
| |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for this object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| hasProperty | back to summary |
|---|---|
| public boolean hasProperty() Can be used to determine if a property provides an implementation of
| |
| isReadable | back to summary |
|---|---|
| public boolean isReadable() Can be used to determine if a property can be get.
| |
| isWritable | back to summary |
|---|---|
| public boolean isWritable() Can be used to determine if a property can be set.
| |
| reflect | back to summary |
|---|---|
| private void reflect() | |
| set | back to summary |
|---|---|
| public void set(Object bean, T value) Set the property to a new value.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non-
| |