|
BEA Systems, Inc. | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface assists in the mapping from field id to its corresponding string. When a user runs mkfldclass on an field table, mkfldclass produces a java file that implements this interface. The FML object itself takes a list of objects which implement this interface. Whenever the object is asked to map a field id to a string or a string to a field id, the FML object goes through its list of FldTbls calling Fldid_to_name or name_to_Fldid.
FML
,
mkfldclass
Method Summary | |
java.lang.String |
Fldid_to_name(int fldid)
This method maps a fielded ID to its corresponding name from the field definition file |
java.lang.String[] |
getFldNames()
Gets a list of the field names used by this table. |
int |
name_to_Fldid(java.lang.String name)
Maps the given string to the given fieldid |
Method Detail |
public java.lang.String Fldid_to_name(int fldid)
fldid
- The field id to search forpublic int name_to_Fldid(java.lang.String name)
name
- The name to lookup for a fieldidpublic java.lang.String[] getFldNames()
|
Documentation is available at http://download.oracle.com/docs/cd/E13222_01/wls/docs81 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |