public class StoredContent<T> extends Object implements IStoredContent<T>
| Constructor and Description |
|---|
StoredContent() |
| Modifier and Type | Method and Description |
|---|---|
void |
fromObject(T instance)
evaluates all informations of the given object and serializes it
|
byte[] |
getContent()
the serialized content
|
String |
getIdentifier()
identifer of the root object where the content belongs to
|
String |
getPath()
path that guides from the root object (given by identifier) to the content object
|
String |
getTypeName()
content type description
|
T |
toObject()
deserializes the content to the java object
|
public String getIdentifier()
IStoredContentgetIdentifier in interface IStoredContent<T>public String getPath()
IStoredContentgetPath in interface IStoredContent<T>public String getTypeName()
IStoredContentgetTypeName in interface IStoredContent<T>public byte[] getContent()
IStoredContentgetContent in interface IStoredContent<T>public T toObject()
IStoredContenttoObject in interface IStoredContent<T>public void fromObject(T instance)
IStoredContentfromObject in interface IStoredContent<T>Copyright © 2012–2020. All rights reserved.