public class SimpleFieldManager extends java.lang.Object implements FieldManager
| Constructor and Description |
|---|
SimpleFieldManager() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
fetchBooleanField(int fieldNum) |
byte |
fetchByteField(int fieldNum) |
char |
fetchCharField(int fieldNum) |
double |
fetchDoubleField(int fieldNum) |
float |
fetchFloatField(int fieldNum) |
int |
fetchIntField(int fieldNum) |
long |
fetchLongField(int fieldNum) |
java.lang.Object |
fetchObjectField(int fieldNum) |
short |
fetchShortField(int fieldNum) |
java.lang.String |
fetchStringField(int fieldNum) |
void |
storeBooleanField(int fieldNum,
boolean value)
Provides the means by which the value of a boolean field can be given
by a StateManager to an object that needs the value.
|
void |
storeByteField(int fieldNum,
byte value)
Provides the means by which the value of a byte field can be given
by a StateManager to an object that needs the value.
|
void |
storeCharField(int fieldNum,
char value)
Provides the means by which the value of a char field can be given
by a StateManager to an object that needs the value.
|
void |
storeDoubleField(int fieldNum,
double value)
Provides the means by which the value of a double field can be given
by a StateManager to an object that needs the value.
|
void |
storeFloatField(int fieldNum,
float value)
Provides the means by which the value of a field can be given
by a StateManager to an object that needs the value.
|
void |
storeIntField(int fieldNum,
int value)
Provides the means by which the value of a int field can be given
by a StateManager to an object that needs the value.
|
void |
storeLongField(int fieldNum,
long value)
Provides the means by which the value of a long field can be given
by a StateManager to an object that needs the value.
|
void |
storeObjectField(int fieldNum,
java.lang.Object value)
Provides the means by which the value of an Object field can be given
by a StateManager to an object that needs the value.
|
void |
storeShortField(int fieldNum,
short value)
Provides the means by which the value of a short field can be given
by a StateManager to an object that needs the value.
|
void |
storeStringField(int fieldNum,
java.lang.String value)
Provides the means by which the value of a String field can be given
by a StateManager to an object that needs the value.
|
public void storeBooleanField(int fieldNum,
boolean value)
storeBooleanField in interface FieldManagerfieldNum - Field number of the field in the object whose value is
given.value - Boolean that is the value of a particular field.public boolean fetchBooleanField(int fieldNum)
fetchBooleanField in interface FieldManagerpublic void storeCharField(int fieldNum,
char value)
storeCharField in interface FieldManagerfieldNum - Field number of the field in the object whose value is
given.value - Char that is the value of a particular field.public char fetchCharField(int fieldNum)
fetchCharField in interface FieldManagerpublic void storeByteField(int fieldNum,
byte value)
storeByteField in interface FieldManagerfieldNum - Field number of the field in the object whose value is
given.value - Byte that is the value of a particular field.public byte fetchByteField(int fieldNum)
fetchByteField in interface FieldManagerpublic void storeShortField(int fieldNum,
short value)
storeShortField in interface FieldManagerfieldNum - Field number of the field in the object whose value is
given.value - Short that is the value of a particular field.public short fetchShortField(int fieldNum)
fetchShortField in interface FieldManagerpublic void storeIntField(int fieldNum,
int value)
storeIntField in interface FieldManagerfieldNum - Field number of the field in the object whose value is
given.value - Int that is the value of a particular field.public int fetchIntField(int fieldNum)
fetchIntField in interface FieldManagerpublic void storeLongField(int fieldNum,
long value)
storeLongField in interface FieldManagerfieldNum - Field number of the field in the object whose value is
given.value - Long that is the value of a particular field.public long fetchLongField(int fieldNum)
fetchLongField in interface FieldManagerpublic void storeFloatField(int fieldNum,
float value)
storeFloatField in interface FieldManagerfieldNum - Field number of the field in the object whose value is
given.value - that is the value of a particular field.public float fetchFloatField(int fieldNum)
fetchFloatField in interface FieldManagerpublic void storeDoubleField(int fieldNum,
double value)
storeDoubleField in interface FieldManagerfieldNum - Field number of the field in the object whose value is
given.value - Double that is the value of a particular field.public double fetchDoubleField(int fieldNum)
fetchDoubleField in interface FieldManagerpublic void storeStringField(int fieldNum,
java.lang.String value)
storeStringField in interface FieldManagerfieldNum - Field number of the field in the object whose value is
given.value - String that is the value of a particular field.public java.lang.String fetchStringField(int fieldNum)
fetchStringField in interface FieldManagerpublic void storeObjectField(int fieldNum,
java.lang.Object value)
storeObjectField in interface FieldManagerfieldNum - Field number of the field in the object whose value is
given.value - Object that is the value of a particular field.public java.lang.Object fetchObjectField(int fieldNum)
fetchObjectField in interface FieldManagerCopyright © 2005-2012 Apache Software Foundation. All Rights Reserved.