Interface SerializedType
-
- All Known Implementing Classes:
SimpleSerializedType
public interface SerializedTypeDescribes the type of a serialized object. This information is used to decide how to deserialize an object.- Since:
- 2.0
- Author:
- Allard Buijze
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetName()Returns the name of the serialized type.StringgetRevision()Returns the revision identifier of the serialized object.
-
-
-
Method Detail
-
getName
String getName()
Returns the name of the serialized type. This may be the class name of the serialized object, or an alias for that name.- Returns:
- the name of the serialized type
-
getRevision
String getRevision()
Returns the revision identifier of the serialized object. This revision identifier is used by upcasters to decide how to transform serialized objects during deserialization.- Returns:
- the revision identifier of the serialized object
-
-