public class PropertyBindingSide extends Object implements BindingSide
| Constructor and Description |
|---|
PropertyBindingSide(PropertyDescriptor propertyDescriptor)
Creates binding to property from property information.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getName()
Returns name (ex.
|
Object |
getValue(Object object)
Extracts value from passed object and returns it.
|
Class |
getValueClass()
Returns value class.
|
int |
hashCode() |
boolean |
isGetterAvailable()
Returns
true if getter is available, otherwise false. |
boolean |
isSetterAvailable()
Returns
true if setter is available, otherwise false. |
void |
setValue(Object object,
Object value)
Sets value for passed object.
|
String |
toString() |
public PropertyBindingSide(PropertyDescriptor propertyDescriptor)
propertyDescriptor - property information used to create bindingpublic Object getValue(Object object)
BindingSideMappingException will be trown.getValue in interface BindingSideobject - value source.public void setValue(Object object, Object value)
BindingSideMappingException
will be trown.setValue in interface BindingSideobject - value object.value - value to set.public Class getValueClass()
BindingSidegetValueClass in interface BindingSidepublic String getName()
BindingSidegetName in interface BindingSidepublic boolean isGetterAvailable()
BindingSidetrue if getter is available, otherwise false.isGetterAvailable in interface BindingSidetrue if getter is available, otherwise false.public boolean isSetterAvailable()
BindingSidetrue if setter is available, otherwise false.isSetterAvailable in interface BindingSidetrue if setter is available, otherwise false.Copyright © 2014. All rights reserved.