|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openbp.common.generic.description.DescriptionObjectImpl
org.openbp.common.generic.description.DisplayObjectImpl
org.openbp.cockpit.plugins.variables.VariablesContainer
public class VariablesContainer
Container object for the list of process variables of a process. We extend DisplayObject in order to have a nice display in the property browser.
| Field Summary |
|---|
| Fields inherited from interface org.openbp.common.generic.Copyable |
|---|
COPY_DEEP, COPY_FIRST_LEVEL, COPY_SHALLOW |
| Constructor Summary | |
|---|---|
VariablesContainer()
Value constructor. |
|
VariablesContainer(ProcessItem process,
java.util.List processVariableList)
Value constructor. |
|
| Method Summary | |
|---|---|
void |
addProcessVariable(ProcessVariable processVariable)
Adds a process variable. |
void |
clearProcessVariables()
Clears the process variables of the process. |
void |
copyFrom(java.lang.Object source,
int copyMode)
Copies the values of the source object to this object. |
ProcessVariable |
createProcessVariableListElement()
Creates a process variable and assigns a unique name to it to. |
ProcessItem |
getProcess()
Gets the process that owns the process variables. |
java.util.List |
getProcessVariableList()
Gets the process variables of the process. |
java.util.Iterator |
getProcessVariables()
Gets the process variables of the process. |
void |
setProcessVariableList(java.util.List processVariableList)
Sets the process variables of the process. |
| Methods inherited from class org.openbp.common.generic.description.DisplayObjectImpl |
|---|
getDisplayName, getDisplayText, setDisplayName |
| Methods inherited from class org.openbp.common.generic.description.DescriptionObjectImpl |
|---|
clone, compareTo, getDescription, getDescriptionEscape, getDescriptionText, getName, setDescription, setDescriptionEscape, setName, toString, validate |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.openbp.common.generic.description.DescriptionObject |
|---|
clone, getDescription, getDescriptionText, getName, setDescription, setName |
| Methods inherited from interface java.lang.Comparable |
|---|
compareTo |
| Constructor Detail |
|---|
public VariablesContainer()
public VariablesContainer(ProcessItem process,
java.util.List processVariableList)
process - Process that owns the process variablesprocessVariableList - List of process variables or null| Method Detail |
|---|
public void copyFrom(java.lang.Object source,
int copyMode)
throws java.lang.CloneNotSupportedException
copyFrom in interface CopyablecopyFrom in class DisplayObjectImplsource - The source object. Must be of the same type as this object.copyMode - Determines if a deep copy, a first level copy or a shallow copy is to be
performed. See the constants of the org.openbp.common.generic.description.Copyable class.
java.lang.CloneNotSupportedException - If the cloning of one of the contained objects failedpublic java.util.Iterator getProcessVariables()
ProcessVariable objectspublic ProcessVariable createProcessVariableListElement()
public void addProcessVariable(ProcessVariable processVariable)
processVariable - The process variable to addpublic void clearProcessVariables()
public java.util.List getProcessVariableList()
ProcessVariable objectspublic void setProcessVariableList(java.util.List processVariableList)
processVariableList - A list of ProcessVariable objectspublic ProcessItem getProcess()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||