Package cz.o2.proxima.core.scheme
Interface AttributeValueAccessors.ArrayValueAccessor<T,V>
-
- Type Parameters:
T
- input typeV
- output type
- All Superinterfaces:
AttributeValueAccessor<java.util.List<T>,java.util.List<V>>
,java.io.Serializable
- All Known Implementing Classes:
AttributeValueAccessors.ArrayValueAccessorImpl
- Enclosing class:
- AttributeValueAccessors
public static interface AttributeValueAccessors.ArrayValueAccessor<T,V> extends AttributeValueAccessor<java.util.List<T>,java.util.List<V>>
Accessor for manipulation withSchemaDescriptors.ArrayTypeDescriptor
.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface cz.o2.proxima.core.scheme.AttributeValueAccessor
AttributeValueAccessor.Type
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default java.util.List<T>
createFrom(java.util.List<V> object)
Create value from input object.default AttributeValueAccessor.Type
getType()
Get accessor typeAttributeValueAccessor<T,V>
getValueAccessor()
static <T,V>
AttributeValueAccessors.ArrayValueAccessor<T,V>of(AttributeValueAccessor<T,V> valueAccessor)
Create new array accessordefault java.util.List<V>
valueOf(java.util.List<T> object)
Get value of attribute.
-
-
-
Method Detail
-
of
static <T,V> AttributeValueAccessors.ArrayValueAccessor<T,V> of(AttributeValueAccessor<T,V> valueAccessor)
Create new array accessor- Type Parameters:
T
- input typeV
- output type- Parameters:
valueAccessor
- array value accessor- Returns:
- array accessor
-
getType
default AttributeValueAccessor.Type getType()
Description copied from interface:AttributeValueAccessor
Get accessor type- Specified by:
getType
in interfaceAttributeValueAccessor<T,V>
-
getValueAccessor
AttributeValueAccessor<T,V> getValueAccessor()
-
valueOf
default java.util.List<V> valueOf(java.util.List<T> object)
Description copied from interface:AttributeValueAccessor
Get value of attribute.- Specified by:
valueOf
in interfaceAttributeValueAccessor<T,V>
- Parameters:
object
- input object- Returns:
- specific value of attribute
-
createFrom
default java.util.List<T> createFrom(java.util.List<V> object)
Description copied from interface:AttributeValueAccessor
Create value from input object.- Specified by:
createFrom
in interfaceAttributeValueAccessor<T,V>
- Parameters:
object
- input object- Returns:
- attribute value
-
-