|
Cumulus4j API (1.1.0) |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.datanucleus.store.fieldmanager.AbstractFieldManager org.cumulus4j.store.fieldmanager.StoreFieldManager
public class StoreFieldManager
Manager for the process of persisting a user object into the datastore, handling the translation from the users own object into the DataEntry object.
Constructor Summary | |
---|---|
StoreFieldManager(ObjectProvider op,
CryptoContext cryptoContext,
PersistenceManager pmData,
ClassMeta classMeta,
AbstractClassMetaData dnClassMetaData,
int keyStoreRefID,
ObjectContainer objectContainer)
|
Method Summary | |
---|---|
protected EmbeddedObjectContainer |
createEmbeddedObjectContainerFromPC(FieldMeta fieldMeta,
EmbeddedClassMeta embeddedClassMeta,
Object pc)
|
void |
storeBooleanField(int fieldNumber,
boolean value)
|
void |
storeByteField(int fieldNumber,
byte value)
|
void |
storeCharField(int fieldNumber,
char value)
|
void |
storeDoubleField(int fieldNumber,
double value)
|
void |
storeFloatField(int fieldNumber,
float value)
|
void |
storeIntField(int fieldNumber,
int value)
|
void |
storeLongField(int fieldNumber,
long value)
|
void |
storeObjectField(int fieldNumber,
Object value)
|
protected void |
storeObjectFieldWithRelationTypeArray(int fieldNumber,
Object value,
AbstractMemberMetaData mmd,
FieldMeta fieldMeta)
Store an array of related objects (1-n-relationship). |
protected void |
storeObjectFieldWithRelationTypeCollection(int fieldNumber,
Object value,
AbstractMemberMetaData mmd,
FieldMeta fieldMeta)
Store a Collection (List , Set , etc.) of
related objects (1-n-relationship). |
protected void |
storeObjectFieldWithRelationTypeMap(int fieldNumber,
Object value,
AbstractMemberMetaData mmd,
FieldMeta fieldMeta)
Store a Map of related objects (1-n-relationship). |
protected void |
storeObjectFieldWithRelationTypeNone(int fieldNumber,
Object value,
AbstractMemberMetaData mmd,
FieldMeta fieldMeta)
Store related objects that are not persistence-capable. |
protected void |
storeObjectFieldWithRelationTypeSingleValue(int fieldNumber,
Object value,
AbstractMemberMetaData mmd,
FieldMeta fieldMeta)
Store a single related object (1-1-relationship). |
void |
storeShortField(int fieldNumber,
short value)
|
void |
storeStringField(int fieldNumber,
String value)
|
Methods inherited from class org.datanucleus.store.fieldmanager.AbstractFieldManager |
---|
fetchBooleanField, fetchByteField, fetchCharField, fetchDoubleField, fetchFloatField, fetchIntField, fetchLongField, fetchObjectField, fetchShortField, fetchStringField |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public StoreFieldManager(ObjectProvider op, CryptoContext cryptoContext, PersistenceManager pmData, ClassMeta classMeta, AbstractClassMetaData dnClassMetaData, int keyStoreRefID, ObjectContainer objectContainer)
Method Detail |
---|
public void storeBooleanField(int fieldNumber, boolean value)
storeBooleanField
in interface FieldConsumer
storeBooleanField
in class AbstractFieldManager
public void storeByteField(int fieldNumber, byte value)
storeByteField
in interface FieldConsumer
storeByteField
in class AbstractFieldManager
public void storeCharField(int fieldNumber, char value)
storeCharField
in interface FieldConsumer
storeCharField
in class AbstractFieldManager
public void storeDoubleField(int fieldNumber, double value)
storeDoubleField
in interface FieldConsumer
storeDoubleField
in class AbstractFieldManager
public void storeFloatField(int fieldNumber, float value)
storeFloatField
in interface FieldConsumer
storeFloatField
in class AbstractFieldManager
public void storeIntField(int fieldNumber, int value)
storeIntField
in interface FieldConsumer
storeIntField
in class AbstractFieldManager
public void storeLongField(int fieldNumber, long value)
storeLongField
in interface FieldConsumer
storeLongField
in class AbstractFieldManager
public void storeShortField(int fieldNumber, short value)
storeShortField
in interface FieldConsumer
storeShortField
in class AbstractFieldManager
public void storeStringField(int fieldNumber, String value)
storeStringField
in interface FieldConsumer
storeStringField
in class AbstractFieldManager
public void storeObjectField(int fieldNumber, Object value)
storeObjectField
in interface FieldConsumer
storeObjectField
in class AbstractFieldManager
protected void storeObjectFieldWithRelationTypeNone(int fieldNumber, Object value, AbstractMemberMetaData mmd, FieldMeta fieldMeta)
protected EmbeddedObjectContainer createEmbeddedObjectContainerFromPC(FieldMeta fieldMeta, EmbeddedClassMeta embeddedClassMeta, Object pc)
protected void storeObjectFieldWithRelationTypeSingleValue(int fieldNumber, Object value, AbstractMemberMetaData mmd, FieldMeta fieldMeta)
protected void storeObjectFieldWithRelationTypeArray(int fieldNumber, Object value, AbstractMemberMetaData mmd, FieldMeta fieldMeta)
protected void storeObjectFieldWithRelationTypeCollection(int fieldNumber, Object value, AbstractMemberMetaData mmd, FieldMeta fieldMeta)
Collection
(List
, Set
, etc.) of
related objects (1-n-relationship).
The related objects are persistence-capable.
protected void storeObjectFieldWithRelationTypeMap(int fieldNumber, Object value, AbstractMemberMetaData mmd, FieldMeta fieldMeta)
Map
of related objects (1-n-relationship).
The related objects are persistence-capable.
|
Cumulus4j API (1.1.0) |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |