asDataObject

abstract fun asDataObject(): DataObject

Should return an instance of a asDataObject that represents all required properties of the implementing class, such that it could be:

  • correctly depicted in a JSON format

  • fully recreated if necessary using an appropriate DataItemConverter implementation

Return

A DataObject representing the implementing class instance's state