Interface SerializedObject<T>

  • Type Parameters:
    T - The data type representing the serialized object
    All Known Implementing Classes:
    SimpleSerializedObject

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

      • 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