oracle.apps.fnd.wf.design
Class Attribute

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.Attribute

public class Attribute
extends DesignBaseComponent

Attribute is the container for the workflow property (attribute).


Field Summary
static java.lang.String ATTRTYPE_ATTRIBUTE
           
static java.lang.String ATTRTYPE_DATE
           
static java.lang.String ATTRTYPE_DOCUMENT
           
static java.lang.String ATTRTYPE_EVENT
           
static java.lang.String ATTRTYPE_FORM
           
static java.lang.String ATTRTYPE_LOOKUP
           
static java.lang.String ATTRTYPE_NUMBER
           
static java.lang.String ATTRTYPE_OBJECT
           
static java.lang.String ATTRTYPE_ROLE
           
static java.lang.String ATTRTYPE_TEXT
           
static java.lang.String ATTRTYPE_URL
           
static java.lang.String ATTRVTYPE_CONSTANT
           
static java.lang.String ATTRVTYPE_DEFER
           
static java.lang.String ATTRVTYPE_ITEMATTR
           
static java.lang.String ATTRVTYPE_NOTSET
           
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
Attribute()
          Use this constructor only if the attribute name is not available.
Attribute(java.lang.String id)
          Use this constructor if the name of this attribute is available.
 
Method Summary
 BaseComponent createRuntimeInstance(WorkflowContext ctx)
          Returns the runtime instance of this attribute, including default attribute value information.
 AttributeValue getDefaultAttributeValue()
          Returns the default attribute value information of this attribute.
 java.lang.Object getDefaultValue()
          Returns the default attribute value.
 java.lang.String getFormat()
          Returns the attribute format.
 java.lang.String getSubtype()
          Returns the attribute subtype.
 java.lang.String getTargetType()
          Returns the java class name associate with the attribute type.
 java.lang.String getType()
          Returns the attribute type.
 java.lang.String getValueType()
          Returns the value type of the attribute.
 boolean isAttach()
          Returns if there's a attachment.
 void setAttach(boolean pAttach)
          Setter function for the attachment flag.
 void setDefaultValue(java.lang.Object pDefaultValue)
          Setter function for the attribute's default value.
 void setFormat(java.lang.String pFormat)
          Setter function for the attribute's format.
 void setSubtype(java.lang.String pSubtype)
          Setter function for the attribute subtype.
 void setTargetType(java.lang.String pTargetType)
          Setter function for the attribute type's java class name.
 void setType(java.lang.String pAttributeType)
          Setter function for the attribute type.
 void setValueType(java.lang.String pValueType)
          Setter function for the value type of the attribute.
 
Methods inherited from class oracle.apps.fnd.wf.design.DesignBaseComponent
assign, getAccessController, getAttribute, 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

ATTRTYPE_TEXT

public static final java.lang.String ATTRTYPE_TEXT

ATTRTYPE_NUMBER

public static final java.lang.String ATTRTYPE_NUMBER

ATTRTYPE_DATE

public static final java.lang.String ATTRTYPE_DATE

ATTRTYPE_LOOKUP

public static final java.lang.String ATTRTYPE_LOOKUP

ATTRTYPE_FORM

public static final java.lang.String ATTRTYPE_FORM

ATTRTYPE_URL

public static final java.lang.String ATTRTYPE_URL

ATTRTYPE_DOCUMENT

public static final java.lang.String ATTRTYPE_DOCUMENT

ATTRTYPE_ROLE

public static final java.lang.String ATTRTYPE_ROLE

ATTRTYPE_ATTRIBUTE

public static final java.lang.String ATTRTYPE_ATTRIBUTE

ATTRTYPE_EVENT

public static final java.lang.String ATTRTYPE_EVENT

ATTRTYPE_OBJECT

public static final java.lang.String ATTRTYPE_OBJECT

ATTRVTYPE_NOTSET

public static final java.lang.String ATTRVTYPE_NOTSET

ATTRVTYPE_CONSTANT

public static final java.lang.String ATTRVTYPE_CONSTANT

ATTRVTYPE_ITEMATTR

public static final java.lang.String ATTRVTYPE_ITEMATTR

ATTRVTYPE_DEFER

public static final java.lang.String ATTRVTYPE_DEFER
Constructor Detail

Attribute

public Attribute(java.lang.String id)
Use this constructor if the name of this attribute is available.
Parameters:
id - : Attribute name.

Attribute

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

getType

public java.lang.String getType()
Returns the attribute type.
Returns:
Function mode.

setType

public void setType(java.lang.String pAttributeType)
Setter function for the attribute type. Attribute type should match one of the pre-defined attribute types.
Parameters:
pAttributeType - : Version of this activity.

getDefaultValue

public java.lang.Object getDefaultValue()
Returns the default attribute value.
Returns:
Function mode.

setDefaultValue

public void setDefaultValue(java.lang.Object pDefaultValue)
Setter function for the attribute's default value.
Parameters:
pDefaultValue - : Default value.

getFormat

public java.lang.String getFormat()
Returns the attribute format.
Returns:
Format.

setFormat

public void setFormat(java.lang.String pFormat)
Setter function for the attribute's format.
Parameters:
pFormat - : Format.

getTargetType

public java.lang.String getTargetType()
Returns the java class name associate with the attribute type.
Returns:
Java class name.

setTargetType

public void setTargetType(java.lang.String pTargetType)
Setter function for the attribute type's java class name.
Parameters:
pTargetType - : Target type.

getSubtype

public java.lang.String getSubtype()
Returns the attribute subtype.
Returns:
Attribute subtype.

setSubtype

public void setSubtype(java.lang.String pSubtype)
Setter function for the attribute subtype.
Parameters:
pSubtype - : Subtype.

isAttach

public boolean isAttach()
Returns if there's a attachment. For message attribute only.
Returns:
True if there is a attachment.

setAttach

public void setAttach(boolean pAttach)
Setter function for the attachment flag. For message attribute only.
Parameters:
pAttach - : Attachment flag.

getValueType

public java.lang.String getValueType()
Returns the value type of the attribute.
Returns:
Value type.

setValueType

public void setValueType(java.lang.String pValueType)
Setter function for the value type of the attribute. Value should match one of the pre-defined attribute value type.
Parameters:
pValueType - : Value type.

createRuntimeInstance

public BaseComponent createRuntimeInstance(WorkflowContext ctx)
Returns the runtime instance of this attribute, including default attribute value information.
Overrides:
createRuntimeInstance in class DesignBaseComponent
Returns:
A runtime instance of this component.

getDefaultAttributeValue

public AttributeValue getDefaultAttributeValue()
Returns the default attribute value information of this attribute.
Returns:
Default attribute value.