Interface SerializedObject<T>

Type Parameters:
T - The data type representing the serialized object
All Known Implementing Classes:
GrpcSerializedObject, SerializedMetaData, SerializedSaga, SimpleSerializedObject

public interface SerializedObject<T>
Interface describing the structure of a serialized object.
Since:
2.0
Author:
Allard Buijze
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the type of this representation's data.
    The actual data of the serialized object.
    Returns the description of the type of object contained in the data.
  • Method Details

    • getContentType

      Class<T> getContentType()
      Returns the type of this representation's data.
      Returns:
      the type of this representation's data
    • getType

      SerializedType getType()
      Returns the description of the type of object contained in the data.
      Returns:
      the description of the type of object contained in the data
    • getData

      T getData()
      The actual data of the serialized object.
      Returns:
      the actual data of the serialized object