oracle.apps.fnd.wf.design
Class DesignBaseAttributeComponent

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.DesignBaseAttributeComponent
Direct Known Subclasses:
Activity, ItemType, Message

public class DesignBaseAttributeComponent
extends DesignBaseComponent

DesignBaseAttributeComponent is the base class for all the workflow item types, messages, and activities (includes FunctionActivity, Process, and Notification). Extends from DesignBaseComponent, this class provides all the functionalities from the parent class as well as the additional function and attribute support.


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
DesignBaseAttributeComponent()
          Use this constructor only if the component namme is not available.
DesignBaseAttributeComponent(java.lang.String id)
          Use this constructor if the component name is available.
 
Method Summary
 void addFunction(Function newFunc)
          Adds a function to this component.
 Attribute getAttribute(java.lang.String attrName)
          Returns the attribute associates with this notification.
 Function getFunction(java.lang.String pFunMode)
          Returns the function associates with this notification that matches the function mode.
 
Methods inherited from class oracle.apps.fnd.wf.design.DesignBaseComponent
assign, createRuntimeInstance, getAccessController, getAttributes, getDescription, getDisplayName, resolveReference, setDescription, setDisplayName, setName, setResolved, toString
 
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

DesignBaseAttributeComponent

public DesignBaseAttributeComponent(java.lang.String id)
Use this constructor if the component name is available.
Parameters:
id - : Notification name.

DesignBaseAttributeComponent

public DesignBaseAttributeComponent()
Use this constructor only if the component namme is not available. Once the component name is retrieved, setName() should be used to set the component name.
Method Detail

getAttribute

public Attribute getAttribute(java.lang.String attrName)
Returns the attribute associates with this notification.
Overrides:
getAttribute in class DesignBaseComponent
Returns:
Attribute.

addFunction

public void addFunction(Function newFunc)
Adds a function to this component. Note that only one mode per function per component is supported. Function with duplicate function mode will not be added to this component.
Returns:
Attribute.

getFunction

public Function getFunction(java.lang.String pFunMode)
Returns the function associates with this notification that matches the function mode. There should be only one function per mode per component.
Parameters:
pFunMode - : Function mode.
Returns:
Function.