|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The base interface for all Process Manager configurable elements. All objects that implement this interface have some representation in the builder, for instance a node element or a data field. The primary function of this interface is to provide a simple means of accessing the configuration properties established by the designer from the builder.
IProcessDefinition
Method Summary | |
java.util.Hashtable |
dumpState()
Returns the properties of the configuration element in a hashtable. |
java.lang.String |
getDescription()
Returns the description of the element. |
java.lang.String |
getName()
Returns the name of the element. |
IPMElement |
getParent()
Returns the parent element of this configuration element. |
java.lang.String |
getPrettyName()
Returns the prettyname of the element. |
java.lang.Object |
getProperty(java.lang.String propName)
Returns the value associated with a particular configuration property. |
boolean |
isLocked()
Returns true if the configuration element has been locked. |
void |
lockObject()
Locks the configuration element from any further changes to its configuration. |
void |
postCreation(IProcessDefinition pd)
This method is invoked once the application has been loaded. |
void |
setParent(IPMElement elem)
Sets the parent element of this configuration element. |
void |
setProperties(java.util.Hashtable entry)
Initializes the configuration element with the properties stored in the repository. |
java.lang.String |
toString()
Returns the string representation of the configuration element. |
Method Detail |
public void setProperties(java.util.Hashtable entry) throws PMException
PMElement
into a more specific version of a configuration
element (such as a node element or a data field).
Users should note that as a part of the configuration element creation procedure, this object is locked to prevent run-time changes to its definition; hence, any calls to this method during run-time will result in an exception being thrown.
entry
- the properties to associate this element withPMException
- if there is a problem with configuring this
element with the properties provided.public java.lang.Object getProperty(java.lang.String propName)
propName
- the name of the configuration propertynull
if no such property has been defined.public java.lang.String getName()
public java.lang.String getPrettyName()
public java.lang.String getDescription()
public void postCreation(IProcessDefinition pd) throws PMException
Users should note that as a part of the configuration element creation procedure, this object is locked to prevent run-time changes to its definition; hence, any calls to this method during run-time will result in an exception being thrown.
pd
- the process definition for the applicationPMException
- if there is a problem with the post creation
phase of this configuration element; or
if this object has been lockedIProcessDefinition
public void setParent(IPMElement elem)
Users should note that as a part of the configuration element creation procedure, this object is locked to prevent run-time changes to its definition; hence, any calls to this method during run-time will result in an exception being thrown.
elem
- the parent element of this elementpublic IPMElement getParent()
Users will probably never need to invoke this method. It has been included in this interface as a convenience method for internal engine functionality.
public void lockObject()
public boolean isLocked()
true
if the element has been locked;
false
otherwise.public java.lang.String toString()
toString
in class java.lang.Object
public java.util.Hashtable dumpState()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |