de.tsl2.nano.cursus.effectus.IStoredContent Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of tsl2.nano.cursus Show documentation
Show all versions of tsl2.nano.cursus Show documentation
repeatable course/process (delta-processing-engine, event sourcing)
The newest version!
package de.tsl2.nano.cursus.effectus;
/**
* NOT USED YET!
* provides all informations to store/restore any object to/from byte[] stream. may be used for database blobs on instances.
* @param content type
* @author Tom
*/
public interface IStoredContent {
/** identifer of the root object where the content belongs to */
String getIdentifier();
/** path that guides from the root object (given by identifier) to the content object */
String getPath();
/** content type description */
String getTypeName();
/** the serialized content */
byte[] getContent();
/** deserializes the content to the java object */
T toObject();
/** evaluates all informations of the given object and serializes it */
void fromObject(T instance);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy