public class ComplexFormat extends Format
| Modifier and Type | Method and Description |
|---|---|
java.util.Map<java.lang.String,RawField> |
getFields()
Returns a map of field name to raw field for each non-static
non-transient field declared in this class, or null if this is not a
complex type (in other words, this is a simple type or an array type).
|
java.lang.Object |
newInstance(EntityInput input,
boolean rawAccess)
Creates a new instance of the target class using its default
constructor.
|
java.lang.Object |
readObject(java.lang.Object o,
EntityInput input,
boolean rawAccess)
Called after newInstance() to read the rest of the data bytes and fill
in the object contents.
|
void |
readPriKey(java.lang.Object o,
EntityInput input,
boolean rawAccess)
Reads the primary key from the given input bytes and sets the primary
key field in the given object.
|
getClassName, getComponentType, getDimensions, getEnumConstants, getPreviousVersion, getSuperType, getVersion, initializeReader, isArray, isEnum, isPrimitive, isSimple, toStringpublic java.util.Map<java.lang.String,RawField> getFields()
RawTypepublic java.lang.Object newInstance(EntityInput input, boolean rawAccess)
FormatnewInstance in class Formatpublic java.lang.Object readObject(java.lang.Object o,
EntityInput input,
boolean rawAccess)
FormatreadObject in class Formatpublic void readPriKey(java.lang.Object o,
EntityInput input,
boolean rawAccess)
FormatreadPriKey in class Format