oracle.apps.fnd.wf.design
Class DesignBaseComponent

java.lang.Object
  |
  +--oracle.apps.fnd.wf.common.Element
        |
        +--oracle.apps.fnd.wf.common.BaseComponent
              |
              +--oracle.apps.fnd.wf.design.DesignBaseComponent
Direct Known Subclasses:
Attribute, AttributeValue, DesignBaseAttributeComponent, DesignStore, Function, LookupCode, LookupType, ProcessActivity, Role, Transition, TransitionMapping

public class DesignBaseComponent
extends BaseComponent

DesignBaseComponent is the base class for all the workflow design store objects.


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
DesignBaseComponent()
          Use this constructor only if the component name is not available.
DesignBaseComponent(java.lang.String id)
          Use this constructor if the component name is available.
 
Method Summary
 void assign(BaseComponent pComponent)
          Assigns the information from the given design base component to this component.
 BaseComponent createRuntimeInstance(WorkflowContext ctx)
          Returns the runtime instance of this component.
 AccessController getAccessController()
          Returns the access controller of this component, which includes information like 'protect level' and 'custom level'.
 Attribute getAttribute(java.lang.String pAttributeName)
          Returns the attribute of this component that matches the given name.
 java.util.List getAttributes()
          Returns a list of attribute(s) of this component.
 java.lang.String getDescription()
          Returns the description of this component.
 java.lang.String getDisplayName()
          Returns the display name of this component.
 void resolveReference()
          Resolves all the 'broken link(s)'.
 void setDescription(java.lang.String pDescription)
          Setter function for the description of this component.
 void setDisplayName(java.lang.String pDispName)
          Setter function for the display name of this component.
 void setName(java.lang.String pName)
          Setter function for the component name.
 void setResolved(boolean pResolved)
          Setter function for whether this component is resolved.
 java.lang.String toString()
          Returns the display name (or component name) of this component.
 
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

DesignBaseComponent

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

DesignBaseComponent

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

getDisplayName

public java.lang.String getDisplayName()
Returns the display name of this component.
Returns:
Display name.

setDisplayName

public void setDisplayName(java.lang.String pDispName)
Setter function for the display name of this component.
Parameters:
pDispName - : Display name.

getDescription

public java.lang.String getDescription()
Returns the description of this component.
Returns:
Description.

setDescription

public void setDescription(java.lang.String pDescription)
Setter function for the description of this component.
Parameters:
pDescription - : Description.

setResolved

public void setResolved(boolean pResolved)
Setter function for whether this component is resolved.
Parameters:
pResolved - : Resolved flag, true if this component is resolved.

resolveReference

public void resolveReference()
Resolves all the 'broken link(s)'.

createRuntimeInstance

public BaseComponent createRuntimeInstance(WorkflowContext ctx)
Returns the runtime instance of this component.
Returns:
A runtime instance of this component (null in this case).

toString

public java.lang.String toString()
Returns the display name (or component name) of this component.
Overrides:
toString in class Element
Returns:
Display name (or component name) of this component.

assign

public void assign(BaseComponent pComponent)
Assigns the information from the given design base component to this component.

getAccessController

public AccessController getAccessController()
Returns the access controller of this component, which includes information like 'protect level' and 'custom level'.
Returns:
Access controller of this component.

setName

public void setName(java.lang.String pName)
Setter function for the component name.
Parameters:
pName - : Component name.

getAttribute

public Attribute getAttribute(java.lang.String pAttributeName)
Returns the attribute of this component that matches the given name.
Parameters:
pAttributeName - : Attribute name.
Returns:
First attribute found in the component that matches the given name, or null if none found.

getAttributes

public java.util.List getAttributes()
Returns a list of attribute(s) of this component.
Returns:
A list of attribute(s) of this component.