|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IField
An interface which is used as an abstraction wrapper for entry values in FieldGroup's
| Nested Class Summary | |
|---|---|
static interface |
IField.DataType
Datatype interface, used to designate the type of entry value we are representing |
| Field Summary | |
|---|---|
static IField.DataType |
DATATYPE_BYTES
type byte[] |
static IField.DataType |
DATATYPE_DOUBLE
type double |
static IField.DataType |
DATATYPE_INT
type int |
static IField.DataType |
DATATYPE_LIST
type list container |
static IField.DataType |
DATATYPE_LONG
type long |
static IField.DataType |
DATATYPE_NONE
type none |
static IField.DataType |
DATATYPE_STRING
type string |
| Method Summary | |
|---|---|
IField.DataType |
getDatatype()
Retrieve the datatype of this field |
String |
getName()
Retrieves the name of the field |
byte[] |
getValueBytes()
Get byte value |
double |
getValueDouble()
Retrieves the double value of the entry |
int |
getValueInt()
Retrieves the int value of the entry |
IFieldGroupList |
getValueList()
Retrieves the list value of the entry |
long |
getValueLong()
Retrieves the long value of the entry |
String |
getValueString()
Retrieves the string value of the entry |
boolean |
isNullValue()
Retrieves if the entry is a null value |
void |
set(IField aField)
Sets the field |
void |
setName(String aValue)
Sets the name of the entry |
void |
setValue(double aValue)
Sets the double value |
void |
setValue(IFieldGroupList aValue)
sets the collection value |
void |
setValue(int aValue)
sets the int value |
void |
setValue(long aValue)
Sets the long value |
void |
setValue(String aValue)
Sets the String value |
void |
setValueBytes(byte[] aValue)
Set byte value |
| Field Detail |
|---|
static final IField.DataType DATATYPE_NONE
static final IField.DataType DATATYPE_INT
static final IField.DataType DATATYPE_STRING
static final IField.DataType DATATYPE_LIST
static final IField.DataType DATATYPE_DOUBLE
static final IField.DataType DATATYPE_LONG
static final IField.DataType DATATYPE_BYTES
| Method Detail |
|---|
IField.DataType getDatatype()
String getName()
double getValueDouble()
int getValueInt()
IFieldGroupList getValueList()
long getValueLong()
String getValueString()
boolean isNullValue()
void set(IField aField)
aField - void setName(String aValue)
aValue - void setValue(String aValue)
aValue - void setValue(long aValue)
aValue - void setValue(int aValue)
aValue - void setValue(double aValue)
aValue - void setValue(IFieldGroupList aValue)
aValue - byte[] getValueBytes()
void setValueBytes(byte[] aValue)
aValue - byte value
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||