Package cz.o2.proxima.core.scheme
Interface AttributeValueAccessor<InputT,OutputT>
-
- Type Parameters:
InputT- input typeOutputT- output type
- All Superinterfaces:
java.io.Serializable
- All Known Subinterfaces:
AttributeValueAccessors.ArrayValueAccessor<T,V>,AttributeValueAccessors.PrimitiveValueAccessor<T,V>,AttributeValueAccessors.StructureValueAccessor<T>
- All Known Implementing Classes:
AttributeValueAccessors.ArrayValueAccessorImpl,AttributeValueAccessors.PrimitiveValueAccessorImpl,ProtoMessageValueAccessor
@Experimental public interface AttributeValueAccessor<InputT,OutputT> extends java.io.Serializable
Interface for value accessors allowed create and get value of attribute
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classAttributeValueAccessor.TypeAccessor type
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description InputTcreateFrom(OutputT object)Create value from input object.AttributeValueAccessor.TypegetType()Get accessor typeOutputTvalueOf(InputT object)Get value of attribute.
-
-
-
Method Detail
-
getType
AttributeValueAccessor.Type getType()
Get accessor type
-
valueOf
OutputT valueOf(InputT object)
Get value of attribute.- Parameters:
object- input object- Returns:
- specific value of attribute
-
-