Class TokenWithJsonContentsSerializer
java.lang.Object
pl.edu.icm.unity.engine.api.utils.json.TokenWithJsonContentsSerializer
- All Implemented Interfaces:
TokenContentsJsonSerializer
,DescribedObject
,NamedObject
public abstract class TokenWithJsonContentsSerializer
extends Object
implements TokenContentsJsonSerializer
Base for all tokens where contents is storing byte[] serialized JSON. I.e. nearly
a copy serializer.
- Author:
- P.Piernik
-
Constructor Details
-
TokenWithJsonContentsSerializer
-
-
Method Details
-
getDescription
- Specified by:
getDescription
in interfaceDescribedObject
- Returns:
- human readable description of the object.
-
getName
- Specified by:
getName
in interfaceNamedObject
- Returns:
- human readable name of the object. Must be unique for the object class.
-
toJson
- Specified by:
toJson
in interfaceTokenContentsJsonSerializer
- Throws:
EngineException
-