Interface IStoredContent<T>

Type Parameters:
T - content type
All Known Implementing Classes:
StoredContent

public interface IStoredContent<T>
NOT USED YET!

provides all informations to store/restore any object to/from byte[] stream. may be used for database blobs on instances.

Author:
Tom
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    fromObject(T instance)
    evaluates all informations of the given object and serializes it
    byte[]
    the serialized content
    identifer of the root object where the content belongs to
    path that guides from the root object (given by identifier) to the content object
    content type description
    deserializes the content to the java object
  • Method Details

    • getIdentifier

      String getIdentifier()
      identifer of the root object where the content belongs to
    • getPath

      String getPath()
      path that guides from the root object (given by identifier) to the content object
    • getTypeName

      String getTypeName()
      content type description
    • getContent

      byte[] getContent()
      the serialized content
    • toObject

      T toObject()
      deserializes the content to the java object
    • fromObject

      void fromObject(T instance)
      evaluates all informations of the given object and serializes it