org.mapdb
Class SerializerPojo.ClassInfo
java.lang.Object
org.mapdb.SerializerPojo.ClassInfo
- Enclosing class:
- SerializerPojo
protected static final class SerializerPojo.ClassInfo
- extends Object
Stores info about single class stored in MapDB.
Roughly corresponds to 'java.io.ObjectStreamClass'
name
protected final String name
fields
protected final List<SerializerPojo.FieldInfo> fields
name2fieldInfo
protected final Map<String,SerializerPojo.FieldInfo> name2fieldInfo
name2fieldId
protected final Map<String,Integer> name2fieldId
objectStreamFields
protected ObjectStreamField[] objectStreamFields
isEnum
protected final boolean isEnum
useObjectStream
protected final boolean useObjectStream
SerializerPojo.ClassInfo
public SerializerPojo.ClassInfo(String name,
SerializerPojo.FieldInfo[] fields,
boolean isEnum,
boolean isExternalizable)
getFieldId
public int getFieldId(String name)
addFieldInfo
public int addFieldInfo(SerializerPojo.FieldInfo field)
getObjectStreamFields
public ObjectStreamField[] getObjectStreamFields()
setObjectStreamFields
public void setObjectStreamFields(ObjectStreamField[] objectStreamFields)
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2014. All Rights Reserved.