BEA Systems, Inc.

weblogic.wtc.jatmi
Interface FldTbl

All Known Implementing Classes:
DynamicFldTbl, evt_mib, islflds, secflds, tmibflds, tmqflds, tpadm, Usysfl32, Usysflds

public interface FldTbl

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.

See Also:
FML, mkfldclass

Method Summary
 String Fldid_to_name(int fldid)
          This method maps a fielded ID to its corresponding name from the field definition file
 String[] getFldNames()
          Gets a list of the field names used by this table.
 int name_to_Fldid(String name)
          Maps the given string to the given fieldid
 

Method Detail

Fldid_to_name

String Fldid_to_name(int fldid)
This method maps a fielded ID to its corresponding name from the field definition file

Parameters:
fldid - The field id to search for
Returns:
The string for this field id or null if none is found

name_to_Fldid

int name_to_Fldid(String name)
Maps the given string to the given fieldid

Parameters:
name - The name to lookup for a fieldid
Returns:
A field id or -1 if none could be found with this name

getFldNames

String[] getFldNames()
Gets a list of the field names used by this table.

Returns:
A String array of the names of the fields of this table.

Documentation is available at
http://download.oracle.com/docs/cd/E13222_01/wls/docs100
Copyright 2006 BEA Systems Inc.