|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.melati.poem.FieldSet
public class FieldSet
A set of Field
s accessible in sequence or looked up
using an encoding of the table name and column name.
Constructor Summary | |
---|---|
FieldSet(Hashtable<String,Integer> table_columnMap,
Field[] fields)
Constructor. |
Method Summary | |
---|---|
Enumeration<Field> |
elements()
|
Field |
get(String name)
Return a specified field. |
String |
toString()
Used to debug tests. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public FieldSet(Hashtable<String,Integer> table_columnMap, Field[] fields)
table_columnMap
- a Hashtable keyed on tablename underscore fieldname containing indices to fieldsfields
- an array of fieldsMethod Detail |
---|
public Enumeration<Field> elements()
public Field get(String name)
name
- The table name and column name separated by "_".
TailoredResultSetEnumeration.mapped(java.sql.ResultSet)
public String toString()
toString
in class Object
Object.toString()
|
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |