public class BaseObject extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
_rcsid |
protected HashMap |
fields |
| Constructor and Description |
|---|
BaseObject()
Construct an empty one.
|
| Modifier and Type | Method and Description |
|---|---|
void |
clear()
Clear the current object.
|
Object |
getValue(String fieldName)
Get a field by name.
|
Iterator |
listFields()
Get the list of fields that currently have
values.
|
void |
setValue(String fieldName,
Object fieldValue)
Set a field by name.
|
public static final String _rcsid
protected HashMap fields
public void clear()
public Iterator listFields()
public Object getValue(String fieldName)
fieldName - is the name of the field.