public class FieldValue extends Object
Modifier and Type | Field and Description |
---|---|
protected String |
_columnName
The database column name.
|
protected Field |
_field
The corresponding field.
|
protected int |
_type
The database column type (from
Types ). |
protected Object |
_value
The value.
|
Constructor and Description |
---|
FieldValue()
Default constructor.
|
FieldValue(FieldValue value)
Copy constructor.
|
FieldValue(String columnName,
int type,
Object value,
Field field)
Constructor with parameters.
|
Modifier and Type | Method and Description |
---|---|
String |
getColumnName()
Get the columnName.
|
Field |
getField()
Get the corresponding field.
|
int |
getType()
Get the type.
|
Object |
getValue()
Get the value.
|
void |
setColumnName(String columnName)
Set the columnName.
|
void |
setField(Field field)
Set the corresponding field.
|
void |
setType(int type)
Set the type.
|
void |
setValue(Object value)
Set the value.
|
protected String _columnName
public FieldValue()
public FieldValue(String columnName, int type, Object value, Field field)
columnName
- the column name.type
- the column type.value
- the entry value.field
- the corresponding field.public FieldValue(FieldValue value)
value
- the value.public String getColumnName()
public void setColumnName(String columnName)
columnName
- the columnName to setpublic int getType()
public void setType(int type)
type
- the type to set