[Java] Class PropertyBinding
- org.codehaus.groovy.binding.PropertyBinding
- All Implemented Interfaces and Traits:
- SourceBinding, TargetBinding, TriggerBinding
@Deprecated public class PropertyBinding
- Since:
- Groovy 1.1
Nested Class Summary
Modifiers | Name | Description |
---|---|---|
enum | PropertyBinding.UpdateStrategy |
Constructor Summary
Constructor and description |
---|
PropertyBinding
(Object bean, String propertyName) |
PropertyBinding
(Object bean, String propertyName, String updateStrategy) |
PropertyBinding
(Object bean, String propertyName, PropertyBinding.UpdateStrategy updateStrategy) |
Methods Summary
Type Params | Return Type | Name and description |
---|---|---|
public FullBinding |
createBinding(SourceBinding source, TargetBinding target) | |
public Object |
getBean() | |
public String |
getPropertyName() | |
public Object |
getSourceValue() | |
public PropertyBinding.UpdateStrategy |
getUpdateStrategy() | |
public boolean |
hasMoreElements() | |
public boolean |
isNonChangeCheck() | |
public URL |
nextElement() | |
public void |
run() | |
public void |
setBean(Object bean) | |
public void |
setNonChangeCheck(boolean nonChangeCheck) | |
public void |
setPropertyName(String propertyName) | |
public void |
updateTargetValue(Object newValue) |
Inherited Methods Summary
Methods inherited from class | Name |
---|---|
class Object | wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
Constructor Detail
public PropertyBinding(Object bean, String propertyName)
public PropertyBinding(Object bean, String propertyName, String updateStrategy)
public PropertyBinding(Object bean, String propertyName, PropertyBinding.UpdateStrategy updateStrategy)
Method Detail
public FullBinding createBinding(SourceBinding source, TargetBinding target)
public Object getBean()
public String getPropertyName()
public Object getSourceValue()
public PropertyBinding.UpdateStrategy getUpdateStrategy()
public boolean hasMoreElements()
public boolean isNonChangeCheck()
public URL nextElement()
public void run()
public void setBean(Object bean)
public void setNonChangeCheck(boolean nonChangeCheck)
public void setPropertyName(String propertyName)
public void updateTargetValue(Object newValue)
© 2003-2020 The Apache Software Foundation
Licensed under the Apache license.
https://docs.groovy-lang.org/3.0.7/html/gapi/org/codehaus/groovy/binding/PropertyBinding.html