public final class YNet extends YDecomposition
_codelet, _data, _id, _manualInteraction, _specification
Constructor and Description |
---|
YNet(java.lang.String id,
YSpecification specification) |
Modifier and Type | Method and Description |
---|---|
void |
addNetElement(YExternalNetElement netElement) |
java.lang.Object |
clone() |
java.util.Set<YTask> |
getActiveTasks(YIdentifier id,
java.lang.String taskType) |
java.util.Set<YTask> |
getBusyTasks() |
Element |
getCaseDataFromExternal(java.lang.String caseID) |
protected YNet |
getCloneContainer() |
java.util.Set<YTask> |
getEnabledTasks(YIdentifier id) |
java.lang.String |
getExternalDataGateway() |
YInputCondition |
getInputCondition()
Method getInputCondition.
|
YVariable |
getLocalOrInputVariable(java.lang.String name) |
java.util.Map<java.lang.String,YVariable> |
getLocalVariables() |
YExternalNetElement |
getNetElement(java.lang.String id) |
java.util.Map<java.lang.String,YExternalNetElement> |
getNetElements() |
java.util.List<YTask> |
getNetTasks() |
YOutputCondition |
getOutputCondition()
Method getOutputCondition.
|
static java.util.Set<YExternalNetElement> |
getPostset(java.util.Set<YExternalNetElement> elements) |
static java.util.Set<YExternalNetElement> |
getPreset(java.util.Set<YExternalNetElement> elements) |
void |
initialise(YPersistenceManager pmgr)
Initialises the variable/parameter declarations so that the net may execute.
|
boolean |
orJoinEnabled(YTask orJoinTask,
YIdentifier caseID) |
void |
postCaseDataToExternal(java.lang.String caseID) |
void |
refreshNetElementIdentifier(java.lang.String oldIdentifier) |
YVariable |
removeLocalVariable(java.lang.String name) |
boolean |
removeNetElement(YExternalNetElement netElement)
This method removes a net element together with preSet, postSet, reset,
cancelledBy sets.
|
void |
setExternalDataGateway(java.lang.String gateway) |
void |
setIncomingData(YPersistenceManager pmgr,
Element incomingData) |
void |
setInputCondition(YInputCondition inputCondition) |
void |
setLocalVariable(YVariable variable) |
void |
setOutputCondition(YOutputCondition outputCondition) |
java.lang.String |
toXML() |
boolean |
usesSimpleRootData() |
void |
verify(YVerificationHandler handler)
Used to verify that the net conforms to syntax of YAWL.
|
addData, addInputParameter, addOutputParameter, assignData, getAttribute, getAttributes, getCodelet, getDocumentation, getID, getInputParameterNames, getInputParameters, getInternalDataDocument, getLogPredicate, getName, getNetDataDocument, getOutputData, getOutputParameterNames, getOutputParameters, getOutputQueries, getRootDataElementName, getSpecification, getStateSpaceBypassParams, getVariableDataByName, initializeDataStore, removeInputParameter, removeInputParameter, removeOutputParameter, removeOutputParameter, requiresResourcingDecisions, restoreData, setAttribute, setAttribute, setAttributes, setCodelet, setDocumentation, setEnablementParameter, setExternalInteraction, setID, setLogPredicate, setName, setOutputExpression, setSpecification, toString
public YNet(java.lang.String id, YSpecification specification)
public void setInputCondition(YInputCondition inputCondition)
public void setOutputCondition(YOutputCondition outputCondition)
public boolean removeNetElement(YExternalNetElement netElement)
public void addNetElement(YExternalNetElement netElement)
public void refreshNetElementIdentifier(java.lang.String oldIdentifier)
public java.util.Map<java.lang.String,YExternalNetElement> getNetElements()
public java.util.List<YTask> getNetTasks()
public YInputCondition getInputCondition()
public YOutputCondition getOutputCondition()
public YExternalNetElement getNetElement(java.lang.String id)
id
- public void setExternalDataGateway(java.lang.String gateway)
public java.lang.String getExternalDataGateway()
public void verify(YVerificationHandler handler)
verify
in interface YVerifiable
verify
in class YDecomposition
YVerificationMessage
public static java.util.Set<YExternalNetElement> getPostset(java.util.Set<YExternalNetElement> elements)
public static java.util.Set<YExternalNetElement> getPreset(java.util.Set<YExternalNetElement> elements)
public java.lang.Object clone()
clone
in class YDecomposition
protected YNet getCloneContainer()
public boolean orJoinEnabled(YTask orJoinTask, YIdentifier caseID)
public void setLocalVariable(YVariable variable)
public java.util.Map<java.lang.String,YVariable> getLocalVariables()
public YVariable removeLocalVariable(java.lang.String name)
public YVariable getLocalOrInputVariable(java.lang.String name)
public java.lang.String toXML()
toXML
in class YDecomposition
public void initialise(YPersistenceManager pmgr) throws YPersistenceException
initialise
in class YDecomposition
YPersistenceException
public void setIncomingData(YPersistenceManager pmgr, Element incomingData) throws YDataStateException, YPersistenceException
public java.util.Set<YTask> getBusyTasks()
public java.util.Set<YTask> getEnabledTasks(YIdentifier id)
public java.util.Set<YTask> getActiveTasks(YIdentifier id, java.lang.String taskType)
public void postCaseDataToExternal(java.lang.String caseID) throws YStateException
YStateException
public Element getCaseDataFromExternal(java.lang.String caseID) throws YStateException
YStateException
public boolean usesSimpleRootData()
Copyright © 2004-2014 The YAWL Foundation.