public class ComplexFormat extends Format
| Modifier and Type | Method and Description |
|---|---|
com.sleepycat.persist.impl.Accessor |
getAccessor(boolean rawAccess) |
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.
|
Map<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).
|
Set<String> |
getIncorrectlyOrderedSecKeys()
For unit testing.
|
String |
getOldKeyName(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.
|
Object |
newInstance(EntityInput input,
boolean rawAccess)
Creates a new instance of the target class using its default
constructor.
|
Object |
readObject(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(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.
|
allowEvolveFromProxy, getClassName, getComponentType, getDimensions, getEnumConstants, getId, getPreviousVersion, getSuperType, getVersion, initializeReader, isArray, isDeleted, isEnum, isPrimitive, isSimple, toStringpublic ClassMetadata getClassMetadata()
RawTypegetClassMetadata in interface RawTypegetClassMetadata in class Formatpublic EntityMetadata getEntityMetadata()
RawTypegetEntityMetadata in interface RawTypegetEntityMetadata in class Formatpublic Map<String,RawField> getFields()
RawTypepublic Object newInstance(EntityInput input, boolean rawAccess)
FormatnewInstance in class Formatpublic Object readObject(Object o, EntityInput input, boolean rawAccess) throws RefreshException
FormatreadObject in class FormatRefreshExceptionpublic void readPriKey(Object o, EntityInput input, boolean rawAccess) throws RefreshException
FormatreadPriKey in class FormatRefreshExceptionpublic String getOldKeyName(String keyName)
FormatgetOldKeyName in class Formatpublic com.sleepycat.persist.impl.Accessor getAccessor(boolean rawAccess)
getAccessor in class FormatCopyright © 2024. All rights reserved.