Oracle Fusion Middleware
Oracle WebLogic Server API Reference
11g Release 1 (10.3.4)

Part Number E13941-04

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.

Copyright 1996, 2010, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.

Oracle Fusion Middleware
Oracle WebLogic Server API Reference
11g Release 1 (10.3.4)

Part Number E13941-04