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()
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>
Copyright © 2010–2024. All rights reserved.