|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.axonframework.serializer.SerializedMetaData<T>
T - The data type representing the serialized objectpublic class SerializedMetaData<T>
Represents the serialized form of a MetaData instance.
| Constructor Summary | |
|---|---|
SerializedMetaData(T data,
Class<T> dataType)
Construct an instance with given bytes representing the serialized form of a MetaData
instance. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object o)
|
Class<T> |
getContentType()
Returns the type of this representation's data. |
T |
getData()
The actual data of the serialized object. |
SerializedType |
getType()
Returns the description of the type of object contained in the data. |
int |
hashCode()
|
static boolean |
isSerializedMetaData(SerializedObject<?> serializedObject)
Indicates whether the given serializedObject represents a serialized form of a MetaData object,
such as the ones created by this class (see SerializedMetaData(Object, Class). |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SerializedMetaData(T data,
Class<T> dataType)
bytes representing the serialized form of a MetaData
instance.
data - data representing the serialized form of a MetaData instance.dataType - The type of data| Method Detail |
|---|
public static boolean isSerializedMetaData(SerializedObject<?> serializedObject)
serializedObject represents a serialized form of a MetaData object,
such as the ones created by this class (see SerializedMetaData(Object, Class).
serializedObject - The object to check for Meta Data
true if the serialized objects represents serialized meta data, otherwise
false.public T getData()
SerializedObject
getData in interface SerializedObject<T>public Class<T> getContentType()
SerializedObject
getContentType in interface SerializedObject<T>public SerializedType getType()
SerializedObject
getType in interface SerializedObject<T>public boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||