|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.japaki.beans.ValuePropertyTransformer<B,S,T>
public class ValuePropertyTransformer<B,S,T>
Property transformer based on a transformer for the values.
Constructor Summary | |
---|---|
ValuePropertyTransformer(TwoWayTransformer<S,T> transformer)
Constructs a value property transformer from the given arguments. |
Method Summary | |
---|---|
boolean |
isRetrievable(Property<B,T> input)
Returns false . |
Property<B,S> |
retransform(Property<B,T> input)
Not implemented. |
Property<B,T> |
transform(Property<B,S> input)
Creates a property from the underlying transformer and the specified base property. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ValuePropertyTransformer(TwoWayTransformer<S,T> transformer)
Method Detail |
---|
public Property<B,T> transform(Property<B,S> input)
transform
in interface TwoWayTransformer<Property<B,S>,Property<B,T>>
input
- a property
null
, if the input is null
public Property<B,S> retransform(Property<B,T> input)
retransform
in interface TwoWayTransformer<Property<B,S>,Property<B,T>>
input
- the object for which the transformation origin is searched.
UnsupportedOperationException
- alwayspublic boolean isRetrievable(Property<B,T> input)
false
.
isRetrievable
in interface TwoWayTransformer<Property<B,S>,Property<B,T>>
input
- the object for which the transformation origin is searched.
false
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |