|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.dbforms.config.FieldValues
public class FieldValues
New class to deal with a list of FieldValues.
This class uses a delegate pattern: it delegates everything to an Hashtable
to do the necessary type transformations.
Constructor Summary | |
---|---|
FieldValues()
Creates a new FieldValues object. |
|
FieldValues(FieldValue[] valueArr)
Creates a new FieldValues object from an input array of FieldValue objects. |
Method Summary | |
---|---|
void |
clear()
Clear the internal hash table. |
Iterator |
elements()
Get the Enumeration of the hash table keys. |
FieldValue |
get(String name)
Get the FieldValue object having the input name. |
Iterator |
keys()
Get the Enumeration of the hash table keys. |
void |
put(FieldValue value)
Put the input FieldName object into the internal hash table. |
FieldValue |
remove(FieldValue value)
removes the from the internal hash table. |
FieldValue |
remove(String name)
removes the from the internal hash table. |
int |
size()
Get the size of the internal hash table. |
FieldValue[] |
toArray()
Transform this object into a FieldValue array. |
String |
toString()
Dump the input FieldValues object |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public FieldValues()
public FieldValues(FieldValue[] valueArr)
valueArr
- an array of FieldValue objectsMethod Detail |
---|
public void clear()
public Iterator elements()
public FieldValue get(String name)
name
- Dthe name of the FieldValue object to retrieve
public Iterator keys()
public void put(FieldValue value)
value
- the FieldValue object to storepublic FieldValue remove(String name)
name
- the FieldValue object to remove
public FieldValue remove(FieldValue value)
value
- the FieldValue object to remove
public int size()
public FieldValue[] toArray()
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |