public class PropertyBinding extends Object implements SourceBinding, TargetBinding, TriggerBinding
Modifier and Type | Class and Description |
---|---|
static class |
PropertyBinding.UpdateStrategy |
Constructor and Description |
---|
PropertyBinding(Object bean,
String propertyName) |
PropertyBinding(Object bean,
String propertyName,
PropertyBinding.UpdateStrategy updateStrategy) |
PropertyBinding(Object bean,
String propertyName,
String updateStrategy) |
Modifier and Type | Method and Description |
---|---|
FullBinding |
createBinding(SourceBinding source,
TargetBinding target) |
Object |
getBean() |
String |
getPropertyName() |
Object |
getSourceValue() |
PropertyBinding.UpdateStrategy |
getUpdateStrategy() |
boolean |
isNonChangeCheck() |
void |
setBean(Object bean) |
void |
setNonChangeCheck(boolean nonChangeCheck) |
void |
setPropertyName(String propertyName) |
void |
updateTargetValue(Object newValue) |
public PropertyBinding(Object bean, String propertyName, PropertyBinding.UpdateStrategy updateStrategy)
public PropertyBinding.UpdateStrategy getUpdateStrategy()
public void updateTargetValue(Object newValue)
updateTargetValue
in interface TargetBinding
public boolean isNonChangeCheck()
public void setNonChangeCheck(boolean nonChangeCheck)
public Object getSourceValue()
getSourceValue
in interface SourceBinding
public FullBinding createBinding(SourceBinding source, TargetBinding target)
createBinding
in interface TriggerBinding
public Object getBean()
public void setBean(Object bean)
public String getPropertyName()
public void setPropertyName(String propertyName)