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 class
AttributeValueAccessor.Type
Accessor type
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description InputT
createFrom(OutputT object)
Create value from input object.AttributeValueAccessor.Type
getType()
Get accessor typeOutputT
valueOf(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
-
-