public class AttachFieldManager extends AbstractFieldManager
| Constructor and Description |
|---|
AttachFieldManager(ObjectProvider attachedOP,
boolean[] secondClassMutableFields,
boolean[] dirtyFields,
boolean persistent,
boolean cascadeAttach,
boolean copy)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
storeBooleanField(int fieldNumber,
boolean value)
Method to store a boolean field value in the object at the specified field position.
|
void |
storeByteField(int fieldNumber,
byte value)
Method to store a byte field value in the object at the specified field position.
|
void |
storeCharField(int fieldNumber,
char value)
Method to store a char field value in the object at the specified field position.
|
void |
storeDoubleField(int fieldNumber,
double value)
Method to store a double field value in the object at the specified field position.
|
void |
storeFloatField(int fieldNumber,
float value)
Method to store a float field value in the object at the specified field position.
|
void |
storeIntField(int fieldNumber,
int value)
Method to store an int field value in the object at the specified field position.
|
void |
storeLongField(int fieldNumber,
long value)
Method to store a long field value in the object at the specified field position.
|
void |
storeObjectField(int fieldNumber,
Object value)
Method to store an object field into the attached instance.
|
void |
storeShortField(int fieldNumber,
short value)
Method to store a short field value in the object at the specified field position.
|
void |
storeStringField(int fieldNumber,
String value)
Method to store a string field value in the object at the specified field position.
|
fetchBooleanField, fetchByteField, fetchCharField, fetchDoubleField, fetchFloatField, fetchIntField, fetchLongField, fetchObjectField, fetchShortField, fetchStringFieldpublic AttachFieldManager(ObjectProvider attachedOP, boolean[] secondClassMutableFields, boolean[] dirtyFields, boolean persistent, boolean cascadeAttach, boolean copy)
attachedOP - ObjectProvider for the attached instancesecondClassMutableFields - second class mutable field flagsdirtyFields - Flags for whether the field(s) are dirtypersistent - whether the object being "attached" is persistent (yet)cascadeAttach - Whether to cascade any attach calls to related fieldscopy - Whether to attach copypublic void storeObjectField(int fieldNumber,
Object value)
storeObjectField in interface FieldConsumerstoreObjectField in class AbstractFieldManagerfieldNumber - Number of the field to storevalue - the value in the detached instancepublic void storeBooleanField(int fieldNumber,
boolean value)
FieldConsumerstoreBooleanField in interface FieldConsumerstoreBooleanField in class AbstractFieldManagerfieldNumber - Number of the fieldvalue - value to storepublic void storeByteField(int fieldNumber,
byte value)
FieldConsumerstoreByteField in interface FieldConsumerstoreByteField in class AbstractFieldManagerfieldNumber - Number of the fieldvalue - value to storepublic void storeCharField(int fieldNumber,
char value)
FieldConsumerstoreCharField in interface FieldConsumerstoreCharField in class AbstractFieldManagerfieldNumber - Number of the fieldvalue - value to storepublic void storeDoubleField(int fieldNumber,
double value)
FieldConsumerstoreDoubleField in interface FieldConsumerstoreDoubleField in class AbstractFieldManagerfieldNumber - Number of the fieldvalue - value to storepublic void storeFloatField(int fieldNumber,
float value)
FieldConsumerstoreFloatField in interface FieldConsumerstoreFloatField in class AbstractFieldManagerfieldNumber - Number of the fieldvalue - value to storepublic void storeIntField(int fieldNumber,
int value)
FieldConsumerstoreIntField in interface FieldConsumerstoreIntField in class AbstractFieldManagerfieldNumber - Number of the fieldvalue - value to storepublic void storeLongField(int fieldNumber,
long value)
FieldConsumerstoreLongField in interface FieldConsumerstoreLongField in class AbstractFieldManagerfieldNumber - Number of the fieldvalue - value to storepublic void storeShortField(int fieldNumber,
short value)
FieldConsumerstoreShortField in interface FieldConsumerstoreShortField in class AbstractFieldManagerfieldNumber - Number of the fieldvalue - value to storepublic void storeStringField(int fieldNumber,
String value)
FieldConsumerstoreStringField in interface FieldConsumerstoreStringField in class AbstractFieldManagerfieldNumber - Number of the fieldvalue - value to storeCopyright © 2019. All rights reserved.