public abstract class YDecomposition extends java.lang.Object implements java.lang.Cloneable, YVerifiable
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
_codelet |
protected Document |
_data |
protected java.lang.String |
_id |
protected boolean |
_manualInteraction |
protected YSpecification |
_specification |
Constructor and Description |
---|
YDecomposition(java.lang.String id,
YSpecification specification) |
Modifier and Type | Method and Description |
---|---|
protected void |
addData(YPersistenceManager pmgr,
Element element) |
void |
addInputParameter(YParameter parameter) |
void |
addOutputParameter(YParameter parameter) |
void |
assignData(YPersistenceManager pmgr,
Element variable) |
java.lang.Object |
clone() |
java.lang.String |
getAttribute(java.lang.String name) |
YAttributeMap |
getAttributes() |
java.lang.String |
getCodelet() |
java.lang.String |
getDocumentation() |
java.lang.String |
getID() |
java.util.Set<java.lang.String> |
getInputParameterNames() |
java.util.Map<java.lang.String,YParameter> |
getInputParameters() |
Document |
getInternalDataDocument() |
YLogPredicate |
getLogPredicate() |
java.lang.String |
getName() |
Document |
getNetDataDocument(java.lang.String netData) |
Document |
getOutputData()
This method returns the list of data from a decomposition.
|
java.util.Set<java.lang.String> |
getOutputParameterNames() |
java.util.Map<java.lang.String,YParameter> |
getOutputParameters() |
java.util.Set<java.lang.String> |
getOutputQueries() |
java.lang.String |
getRootDataElementName() |
YSpecification |
getSpecification()
Returns a link to the containing specification.
|
java.util.Map<java.lang.String,YParameter> |
getStateSpaceBypassParams()
Gets those params that bypass the decomposition state space.
|
Element |
getVariableDataByName(java.lang.String name) |
void |
initialise(YPersistenceManager pmgr) |
void |
initializeDataStore(YPersistenceManager pmgr,
YNetData casedata) |
YParameter |
removeInputParameter(java.lang.String name) |
YParameter |
removeInputParameter(YParameter parameter) |
YParameter |
removeOutputParameter(java.lang.String name) |
YParameter |
removeOutputParameter(YParameter parameter) |
boolean |
requiresResourcingDecisions() |
void |
restoreData(YNetData casedata) |
void |
setAttribute(java.lang.String name,
DynamicValue value) |
void |
setAttribute(java.lang.String name,
java.lang.String value) |
void |
setAttributes(java.util.Map<java.lang.String,java.lang.String> attributes) |
void |
setCodelet(java.lang.String codelet) |
void |
setDocumentation(java.lang.String documentation) |
void |
setEnablementParameter(YParameter parameter) |
void |
setExternalInteraction(boolean interaction) |
void |
setID(java.lang.String id) |
void |
setLogPredicate(YLogPredicate predicate) |
void |
setName(java.lang.String name) |
void |
setOutputExpression(java.lang.String query) |
void |
setSpecification(YSpecification specification) |
java.lang.String |
toString() |
java.lang.String |
toXML() |
void |
verify(YVerificationHandler handler)
Internally verify the object against YAWL language semantics and
report any errors and/or warnings.
|
protected java.lang.String _id
protected YSpecification _specification
protected Document _data
protected boolean _manualInteraction
protected java.lang.String _codelet
public YDecomposition(java.lang.String id, YSpecification specification)
public void initializeDataStore(YPersistenceManager pmgr, YNetData casedata) throws YPersistenceException
YPersistenceException
public void restoreData(YNetData casedata)
public Document getNetDataDocument(java.lang.String netData)
public java.lang.String getID()
public void setID(java.lang.String id)
public YAttributeMap getAttributes()
public void setAttributes(java.util.Map<java.lang.String,java.lang.String> attributes)
public java.lang.String getAttribute(java.lang.String name)
public void setAttribute(java.lang.String name, java.lang.String value)
public void setAttribute(java.lang.String name, DynamicValue value)
public java.lang.String getDocumentation()
public void setDocumentation(java.lang.String documentation)
public java.lang.String getName()
public void setName(java.lang.String name)
public java.util.Map<java.lang.String,YParameter> getInputParameters()
public java.util.Map<java.lang.String,YParameter> getOutputParameters()
public void addInputParameter(YParameter parameter)
public YParameter removeInputParameter(YParameter parameter)
public YParameter removeInputParameter(java.lang.String name)
public void addOutputParameter(YParameter parameter)
public YParameter removeOutputParameter(YParameter parameter)
public YParameter removeOutputParameter(java.lang.String name)
public void setEnablementParameter(YParameter parameter)
public void setOutputExpression(java.lang.String query)
public java.util.Set<java.lang.String> getOutputQueries()
public void setExternalInteraction(boolean interaction)
public boolean requiresResourcingDecisions()
public java.lang.String getCodelet()
public void setCodelet(java.lang.String codelet)
public YLogPredicate getLogPredicate()
public void setLogPredicate(YLogPredicate predicate)
public java.lang.String toXML()
public void verify(YVerificationHandler handler)
YVerifiable
verify
in interface YVerifiable
YVerificationMessage
public java.util.Set<java.lang.String> getInputParameterNames()
public java.util.Set<java.lang.String> getOutputParameterNames()
public YSpecification getSpecification()
public void setSpecification(YSpecification specification)
public java.util.Map<java.lang.String,YParameter> getStateSpaceBypassParams()
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone
in class java.lang.Object
java.lang.CloneNotSupportedException
public Document getInternalDataDocument()
public Document getOutputData()
public Element getVariableDataByName(java.lang.String name)
public void assignData(YPersistenceManager pmgr, Element variable) throws YPersistenceException
YPersistenceException
protected void addData(YPersistenceManager pmgr, Element element) throws YPersistenceException
YPersistenceException
public void initialise(YPersistenceManager pmgr) throws YPersistenceException
YPersistenceException
public java.lang.String getRootDataElementName()
Copyright © 2004-2014 The YAWL Foundation.