Groovy 2.2.0

org.codehaus.groovy.binding
[Java] Class PropertyBinding

java.lang.Object
  org.codehaus.groovy.binding.PropertyBinding
All Implemented Interfaces:
SourceBinding, TargetBinding, TriggerBinding

public class PropertyBinding

Authors:
Danno Ferrin
Andres Almiray
Version:
\$Revision\$
Since:
Groovy 1.1


Nested Class Summary
enum PropertyBinding.UpdateStrategy

 
Constructor Summary
PropertyBinding(Object bean, String propertyName)

PropertyBinding(Object bean, String propertyName, String updateStrategy)

PropertyBinding(Object bean, String propertyName, PropertyBinding.UpdateStrategy updateStrategy)

 
Method Summary
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)

 
Methods inherited from class Object
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll
 

Constructor Detail

PropertyBinding

public PropertyBinding(Object bean, String propertyName)


PropertyBinding

public PropertyBinding(Object bean, String propertyName, String updateStrategy)


PropertyBinding

public PropertyBinding(Object bean, String propertyName, PropertyBinding.UpdateStrategy updateStrategy)


 
Method Detail

createBinding

public FullBinding createBinding(SourceBinding source, TargetBinding target)


getBean

public Object getBean()


getPropertyName

public String getPropertyName()


getSourceValue

public Object getSourceValue()


getUpdateStrategy

public PropertyBinding.UpdateStrategy getUpdateStrategy()


isNonChangeCheck

public boolean isNonChangeCheck()


setBean

public void setBean(Object bean)


setNonChangeCheck

public void setNonChangeCheck(boolean nonChangeCheck)


setPropertyName

public void setPropertyName(String propertyName)


updateTargetValue

public void updateTargetValue(Object newValue)


 

Copyright © 2003-2013 The Codehaus. All rights reserved.