oracle.apps.fnd.wf.design
Class LookupType

java.lang.Object
  |
  +--oracle.apps.fnd.wf.common.Element
        |
        +--oracle.apps.fnd.wf.common.BaseComponent
              |
              +--oracle.apps.fnd.wf.design.DesignBaseComponent
                    |
                    +--oracle.apps.fnd.wf.design.LookupType

public class LookupType
extends DesignBaseComponent

LookupType is the container for the workflow lookup types. A lookup type is a static list of values. These lists can be referenced by activities and by item type, message or activity attributes. Lookup type can have one or more LookupCode.


Field Summary
static java.lang.String RCS_ID
           
static boolean RCS_ID_RECORDED
           
 
Fields inherited from class oracle.apps.fnd.wf.common.Element
ELEMENT_DB_CREATED, ELEMENT_DB_CREATING, ELEMENT_DB_DIRTY, ELEMENT_DB_LOADED, ELEMENT_DB_LOADING, ELEMENT_DB_NOT_INITIALIZED, ELEMENT_DB_SAVED, ELEMENT_DB_SAVING
 
Constructor Summary
LookupType()
          Use this constructor only if the lookup type is not available.
LookupType(java.lang.String id)
          Use this constructor if the lookup type is available.
 
Method Summary
 java.lang.String getItemType()
          Returns the name of the item type that where this lookup type belongs.
 java.util.List getLookupCodes()
          Returns the all lookup code(s) associate with this lookup type.
 void setItemType(java.lang.String pItemType)
          Setter function for lookup code's item type name.
 java.lang.String toString()
          Returns the display name of the lookup type.
 
Methods inherited from class oracle.apps.fnd.wf.design.DesignBaseComponent
assign, createRuntimeInstance, getAccessController, getAttribute, getAttributes, getDescription, getDisplayName, resolveReference, setDescription, setDisplayName, setName, setResolved
 
Methods inherited from class oracle.apps.fnd.wf.common.BaseComponent
addChild, getChildByTypeAndName, getChildren, getChildrenByName, getChildrenByType, getName, getParent, removeChild, removeChildren
 
Methods inherited from class oracle.apps.fnd.wf.common.Element
create, getDBStatus, getId, load, save, setStore
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

RCS_ID

public static final java.lang.String RCS_ID

RCS_ID_RECORDED

public static final boolean RCS_ID_RECORDED
Constructor Detail

LookupType

public LookupType(java.lang.String id)
Use this constructor if the lookup type is available.
Parameters:
id - : Lookup type.

LookupType

public LookupType()
Use this constructor only if the lookup type is not available. Once the lookup type is retrieved, setName() should be used to set the lookup type.
Method Detail

getItemType

public java.lang.String getItemType()
Returns the name of the item type that where this lookup type belongs. It is possible that lookup type is based on a item type other than the parent of this class.
Returns:
Item type where this lookup type belongs.

setItemType

public void setItemType(java.lang.String pItemType)
Setter function for lookup code's item type name.
Parameters:
pItemType - : Item type name of lookup type.

toString

public java.lang.String toString()
Returns the display name of the lookup type.
Overrides:
toString in class DesignBaseComponent
Returns:
Display name.

getLookupCodes

public java.util.List getLookupCodes()
Returns the all lookup code(s) associate with this lookup type.
Returns:
A list of lookup code(s).