I - O - public class TransformerProperty<I,O> extends AbstractReadableProperty<O> implements WritableProperty<I>
| Constructor and Description |
|---|
TransformerProperty(com.google.code.validationframework.base.transform.Transformer<I,O> transformer)
Constructor specifying the transformer to be used to transform input values, using null as the initial input
value.
|
TransformerProperty(com.google.code.validationframework.base.transform.Transformer<I,O> transformer,
I value)
Constructor specifying the transformer to be used to transform input values, and the initial input value.
|
| Modifier and Type | Method and Description |
|---|---|
O |
getValue()
Gets the value of the property.
|
void |
setValue(I value)
Sets the value of the property.
|
addChangeListener, notifyListeners, removeChangeListenerpublic TransformerProperty(com.google.code.validationframework.base.transform.Transformer<I,O> transformer)
transformer - Transformer to transform input values.public TransformerProperty(com.google.code.validationframework.base.transform.Transformer<I,O> transformer, I value)
transformer - Transformer to transform input values.value - Initial property value.public O getValue()
ReadablePropertyWritableProperty that is bound to it.getValue in interface ReadableProperty<O>ReadableProperty.getValue()public void setValue(I value)
WritablePropertyReadableProperty that is bound to it.setValue in interface WritableProperty<I>value - Property value.WritableProperty.setValue(Object)Copyright © 2013. All Rights Reserved.