The WFAttribute Java class contains descriptive information for an item or activity attribute, including the internal name of the attribute, attribute value, attribute data type, format information, and default value type. The attribute value is stored as an Object type. This class also contains methods for accessing the attribute information, which can be called by a Java application.
The WFAttribute class is stored in the oracle.apps.fnd.wf Java package. The following list shows the APIs available in this class.
Important: Java is case-sensitive and all Java method names, except the constructor method names, begin with a lower case letter to follow Java naming conventions.
The WFAttribute class contains several constants. The following table shows the constants that can be used to represent the data type of an attribute.
Data Type Constants
| Constant Variable Declaration | Constant Value |
|---|---|
| public static final String TEXT | "TEXT" |
| public static final String NUMBER | "NUMBER" |
| public static final String DATE | "DATE" |
| public static final String LOOKUP | "LOOKUP" |
| public static final String FORM | "FORM" |
| public static final String URL | "URL" |
| public static final String DOCUMENT | "DOCUMENT" |
| public static final String ROLE | "ROLE" |
| public static final String EVENT | "EVENT" |
The following table shows the constants that can be used to represent the type of the default value for an attribute. The default value can be either a constant or, for an activity attribute, a reference to an item type attribute.
Default Value Type Constants
| Constant Variable Declaration | Constant Value |
|---|---|
| public static final String CONSTANT | "CONSTANT" |
| public static final String ITEMATTR | "ITEMATTR" |