Interface DataSerializable

    • Method Detail

      • contentVersion

        int contentVersion()
        Gets the content version of this DataSerializable. The version may differ between instances of plugins and implementations such that the DataView from toContainer() may include different information, or remove other information as they are no longer deemed necessary. The version goes hand in hand with DataContentUpdater as it is required when there exists any DataView of this DataSerializable with an "older" version.
        Returns:
        The version of the content being serialized
      • toContainer

        DataContainer toContainer()
        Serializes this object into a comprehensible DataContainer.
        Returns:
        A newly created DataContainer