public class SubFlow extends XMLComplexElement
attributes, complexStructureatts, isCollapsed, isReadOnly, isRequired, isVisible, labelName, name, NEWLINE, OFFSET, value| 限定符和类型 | 方法和说明 |
|---|---|
protected void |
afterImporting()
Called after importing of XML file to set the proper WorkflowProcess object for subflow reference, and proper
DataField objects for ActualParameters references, according on it's IDs read from XML.
|
Object |
clone()
Used to create exact copy of instance of this class.
|
protected void |
fillStructure()
The classes that are derived from this class has to give its definition for this method.
|
void |
fromXML(Node node)
Supposed to be overriden by derived classes to implement element specific
reading from an XML file.
|
String |
getAttrId() |
Package |
getPackage() |
XMLPanel |
getPanel()
Uses a trick to set the cloned instance of actual parameters to be edited, so that canceling of changes to the
actual parameter collection can be handled - the real instance of actual parameters is set to the cloned instance
within the isValidData method.
|
boolean |
isValidEnter(XMLPanel groupPanel)
Checks if actual and formal params are matched by type and number.
|
void |
setAttrId(String subProcessId)
Defines the super-class method.
|
void |
toXML(Node parent)
Overrides super-class method to realize this class specific writting to XML file.
|
get, get, getChildElements, getElementsCount, getIndex, getNode, isEmpty, isValid, processAttributes, processElements, refreshLabelName, set, set, setReadOnly, toComplexType, toComplexTypeValues, toComplexValues, toStringfromXML, getPrintDescription, getPrintDescription, isCollapsed, isReadOnly, isRequired, isVisible, setCollapsed, setLabelName, setRequired, setValue, setVisible, toLabel, toName, toValuepublic SubFlow(Activity act)
act - The activity that holds this element.RemoteExceptionAxisFaultpublic void setAttrId(String subProcessId)
public String getAttrId()
protected void fillStructure()
XMLComplexElementtoXML method uses them to properly write an element tag to
the XML file, fromXML method uses them to properly read an element tag from the XML file,
getPanel method uses them to properly display members of this class, get and
set uses them to properly retrieve/set the elements from list, ... and so on
NOTE: The order of inserted elements is relevant for XML to be valid (members of classes derived from this class must be inserted into first mentioned list in the same order that they are within a corresponding tag for those classes within WfMC XML).
fillStructure 在类中 XMLComplexElementpublic Package getPackage()
public void toXML(Node parent) throws DOMException
toXML 在类中 XMLComplexElementparent - indicates how much tabulators to put before element tag.DOMExceptionpublic void fromXML(Node node)
XMLElementfromXML 在类中 XMLComplexElementnode - The content retrieved from XML file, that represents tag for
this element.protected void afterImporting()
public XMLPanel getPanel()
getPanel 在类中 XMLComplexElementpublic Object clone()
clone 在类中 XMLComplexElementpublic boolean isValidEnter(XMLPanel groupPanel)
isValidEnter 在类中 XMLElementgroupPanel - The panel for editing parameters.Copyright © 2023 onecode. All rights reserved.