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