- All Superinterfaces:
- Serializable, SerializedRole
- All Known Subinterfaces:
- SerializedAggregateType, SerializedImmutableType, SerializedReferenceType, SerializedStructuralType, SerializedValueType
- All Known Implementing Classes:
- AbstractSerializedReferenceType, AbstractSerializedValue, SerializedArray, SerializedEnum, SerializedImmutable, SerializedLambdaObject, SerializedList, SerializedLiteral, SerializedMap, SerializedNull, SerializedObject, SerializedProxy, SerializedSet
public interface SerializedValue
extends Serializable, SerializedRole
A serialized value.
A serialized value does reflect the relations between the real objects. As a consequence it must hold
- that if two objects are the same, their serialized value must also be the same
- that if two serialized values are the same, their original value is the same
The hashcode method should reflect the identity of the serialized or nonserialized value (identity hash code should be fine)
The equals method of a serialized value must return true if both values are the same (==) and false otherwise (default equal should be fine)