Interface SerializingValueHolder<T,S extends Serializable> 
- Type Parameters:
 T- The original value data type.S- The serialized value data type.
public interface SerializingValueHolder<T,S extends Serializable> 
Aspect definition for providing serialization means for value's of a specific type.
 
It is important to note that the serialized value data type must conform to either of these simple types:
or of the following composed types, whose elements again must conform to this rule:- Since:
 - 5.1.25
 
- 
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final AspectType<SerializingValueHolder>The aspect's type. - 
Method Summary
Modifier and TypeMethodDescriptionProvide a serialized form of the currently stored value.getValue()Get the current value stored by this value holder.booleanisEmpty()Indicates that the currently hold value is considered to represent an empty value.voidsetSerializedValue(S serialization) Receive a serialized form as value to store.voidSet the given value to be stored by this value holder. 
- 
Field Details
- 
TYPE
The aspect's type.- Since:
 - 5.1.25
 
 
 - 
 - 
Method Details
- 
getValue
Get the current value stored by this value holder.- Returns:
 - The currently stored value.
 - Since:
 - 5.1.25
 
 - 
setValue
Set the given value to be stored by this value holder.- Parameters:
 value- A value to store.- Since:
 - 5.1.25
 
 - 
isEmpty
boolean isEmpty()Indicates that the currently hold value is considered to represent an empty value.- Returns:
 true, if value is considered empty.- Since:
 - 5.1.30
 
 - 
getSerializedValue
Provide a serialized form of the currently stored value.- Returns:
 - The serialized value.
 - Since:
 - 5.1.25
 
 - 
setSerializedValue
Receive a serialized form as value to store.- Parameters:
 serialization- A serialized value.- Since:
 - 5.1.25
 
 
 -