All Downloads are FREE. Search and download functionalities are using the official Maven repository.

de.tsl2.nano.cursus.effectus.IStoredContent Maven / Gradle / Ivy

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