public class Transition extends XMLCollectionElement
| 限定符和类型 | 字段和说明 |
|---|---|
static String |
NO_ROUTING |
static String |
ROUTING_TYPE |
static String |
SIMPLE_ROUTING |
attrId, ID_DELIMITER, myCollectionattributes, complexStructureatts, isCollapsed, isReadOnly, isRequired, isVisible, labelName, name, NEWLINE, OFFSET, value| 构造器和说明 |
|---|
Transition(Transitions ts) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
afterImporting()
Must be called after importing from XML file to read the break-points from the extended attributes.
|
Object |
clone()
Used to create exact copy of instance of this class.
|
Transition |
clonePlugins(Transition t) |
protected void |
fillStructure()
Defines the super-class method.
|
void |
fromXML(Node node)
Supposed to be overriden by derived classes to implement element specific
reading from an XML file.
|
String |
getAttributeValue(String name) |
Map |
getBreakPoints()
Returns the map of break points of transition graph object.
|
XMLComplexElement |
getFrom() |
WorkflowProcess |
getOwnerProcess() |
Package |
getPackage() |
XMLPanel |
getPanel()
Prepares the panel with all editable (and non-editable) elements which defines a transition.
|
String |
getRoutingType() |
XMLComplexElement |
getTo() |
String |
getTooltip()
Gets the tooltip for transition.
|
boolean |
hasCondition()
Indicates wether the condition for transition is defined or not.
|
boolean |
isIDUniqueAndValid(XMLPanel groupPanel)
Checks if an ID entered by the user is unique.
|
boolean |
isValidEnter(XMLPanel panel)
This method is called only if user doesn't press Cancel button within the dialog for editing Transition
properties, so the changes to the real collection of Transition are applied here.
|
void |
setAttributeValue(String name,
String value,
boolean isReadOnly) |
void |
setBreakPoints(Map breakPoints)
Sets the map of break points of transition graph object.
|
void |
setFrom(XMLElement from) |
void |
setRoutingType(String rType) |
void |
setTo(XMLElement to) |
void |
setWorkflowProcess(WorkflowProcess wp) |
String |
toString()
Overrides super-class method to retreive the name of target activity for this transition.
|
void |
toXML(Node parent)
Overrides super-class method to realize this class specific writting to XML file.
|
getCollection, getID, getNode, setCollectionget, get, getChildElements, getElementsCount, getIndex, isEmpty, isValid, processAttributes, processElements, refreshLabelName, set, set, setReadOnly, toComplexType, toComplexTypeValues, toComplexValuesfromXML, getPrintDescription, getPrintDescription, isCollapsed, isReadOnly, isRequired, isVisible, setCollapsed, setLabelName, setRequired, setValue, setVisible, toLabel, toName, toValuepublic Transition(Transitions ts)
protected void fillStructure()
fillStructure 在类中 XMLCollectionElementpublic void setRoutingType(String rType)
public String getRoutingType()
public Map getBreakPoints()
public void setBreakPoints(Map breakPoints)
public void setFrom(XMLElement from)
public void setTo(XMLElement to)
public XMLComplexElement getFrom()
public XMLComplexElement getTo()
public XMLPanel getPanel()
getPanel 在类中 XMLComplexElementpublic String toString()
toString 在类中 XMLComplexElementpublic boolean hasCondition()
public String getTooltip()
public void afterImporting()
public void toXML(Node parent) throws DOMException
toXML 在类中 XMLComplexElementparent - indicates how much tabulators to put before element tag.DOMExceptionpublic Object clone()
clone 在类中 XMLCollectionElementpublic boolean isIDUniqueAndValid(XMLPanel groupPanel)
public boolean isValidEnter(XMLPanel panel)
isValidEnter 在类中 XMLElementpublic void fromXML(Node node)
XMLElementfromXML 在类中 XMLCollectionElementnode - The content retrieved from XML file, that represents tag for
this element.public WorkflowProcess getOwnerProcess()
public Transition clonePlugins(Transition t)
public void setWorkflowProcess(WorkflowProcess wp)
public Package getPackage()
Copyright © 2023 onecode. All rights reserved.