T - The data type representing the serialized objectpublic class SerializedMetaData<T> extends Object implements SerializedObject<T>
MetaData instance.| Constructor and Description |
|---|
SerializedMetaData(T data,
Class<T> dataType)
Construct an instance with given
bytes representing the serialized form of a MetaData
instance. |
| Modifier and Type | Method and Description |
|---|---|
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). |
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 Datatrue if the serialized objects represents serialized meta data, otherwise
false.public T getData()
SerializedObjectgetData in interface SerializedObject<T>public Class<T> getContentType()
SerializedObjectgetContentType in interface SerializedObject<T>public SerializedType getType()
SerializedObjectgetType in interface SerializedObject<T>Copyright © 2010–2022. All rights reserved.