|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.sleepycat.persist.impl.Format
com.sleepycat.persist.impl.ComplexFormat
public class ComplexFormat
Format for persistent complex classes that are not composite key classes. This includes entity classes and subclasses.
| Method Summary | |
|---|---|
ClassMetadata |
getClassMetadata()
Returns the original model class metadata used to create this class, or null if this is not a model class. |
EntityMetadata |
getEntityMetadata()
Returns the original model entity metadata used to create this class, or null if this is not an entity class. |
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.String |
getOldKeyName(java.lang.String keyName)
For an entity class or subclass, returns the old key name for the given key name that has been renamed, or returns the given key name if it has not been renamed. |
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. |
| Methods inherited from class com.sleepycat.persist.impl.Format |
|---|
getClassName, getComponentType, getDimensions, getEnumConstants, getId, getPreviousVersion, getSuperType, getVersion, initializeReader, isArray, isDeleted, isEnum, isPrimitive, isSimple, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public ClassMetadata getClassMetadata()
RawType
getClassMetadata in interface RawTypegetClassMetadata in class Formatpublic EntityMetadata getEntityMetadata()
RawType
getEntityMetadata in interface RawTypegetEntityMetadata in class Formatpublic java.util.Map<java.lang.String,RawField> getFields()
RawType
getFields in interface RawTypegetFields in class Format
public java.lang.Object newInstance(EntityInput input,
boolean rawAccess)
Format
newInstance in class Format
public java.lang.Object readObject(java.lang.Object o,
EntityInput input,
boolean rawAccess)
Format
readObject in class Format
public void readPriKey(java.lang.Object o,
EntityInput input,
boolean rawAccess)
Format
readPriKey in class Formatpublic java.lang.String getOldKeyName(java.lang.String keyName)
Format
getOldKeyName in class Format
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||