public abstract class YExternalNetElement extends YNetElement implements YVerifiable
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
_documentation |
protected java.lang.String |
_name |
YNet |
_net |
Constructor and Description |
---|
YExternalNetElement(java.lang.String id,
YNet container) |
Modifier and Type | Method and Description |
---|---|
void |
addPostset(YFlow flow)
adds a flow to the set of outgoing flows for this element
|
void |
addPreset(YFlow flow)
adds a flow to the set of incoming flows for this element
|
void |
addToCancelledBySet(YTask t) |
void |
addToYawlMappings(java.util.Set<YExternalNetElement> elements) |
void |
addToYawlMappings(YExternalNetElement e) |
java.lang.Object |
clone() |
java.util.Set<YExternalNetElement> |
getCancelledBySet() |
java.lang.String |
getDocumentation() |
java.lang.String |
getDocumentationPreParsed() |
java.lang.String |
getName() |
YNet |
getNet()
Gets the net that contains this atomic task.
|
YExternalNetElement |
getPostsetElement(java.lang.String id)
gets an element on an outgoing flow from this element
|
java.util.Set<YExternalNetElement> |
getPostsetElements()
gets the set of elements that succeed this element directly via flows between them
|
YFlow |
getPostsetFlow(YExternalNetElement netElement)
gets the flow between this and the succeeding netElement passed (if any)
|
java.util.Set<YFlow> |
getPostsetFlows()
gets the set of outgoing flows from this element
|
YExternalNetElement |
getPresetElement(java.lang.String id)
gets an element on an incoming flow to this element
|
java.util.Set<YExternalNetElement> |
getPresetElements()
gets the set of elements that precede this element directly via flows between them
|
YFlow |
getPresetFlow(YExternalNetElement netElement)
gets the flow between this and the preceding netElement passed (if any)
|
java.util.Set<YFlow> |
getPresetFlows()
gets the set of incoming flows to this element
|
java.lang.String |
getProperID() |
java.util.Set<YExternalNetElement> |
getYawlMappings() |
void |
removeFromCancelledBySet(YTask t) |
void |
removePostsetFlow(YFlow flow)
removes a flow from the set of outgoing flows for this element
|
void |
removePresetFlow(YFlow flow)
removes a flow from the set of incoming flows for this element
|
void |
setDocumentation(java.lang.String doco) |
void |
setID(java.lang.String id) |
void |
setName(java.lang.String name) |
java.lang.String |
toXML() |
void |
verify(YVerificationHandler handler)
Internally verify the object against YAWL language semantics and
report any errors and/or warnings.
|
protected void |
verifyPostsetFlows(YVerificationHandler handler) |
protected void |
verifyPresetFlows(YVerificationHandler handler) |
compareTo, getID, toString
protected java.lang.String _name
protected java.lang.String _documentation
public YNet _net
public YExternalNetElement(java.lang.String id, YNet container)
public void setID(java.lang.String id)
setID
in class YNetElement
public java.lang.String getName()
public void setName(java.lang.String name)
public java.lang.String getDocumentation()
public java.lang.String getDocumentationPreParsed()
public void setDocumentation(java.lang.String doco)
public YNet getNet()
public java.lang.String getProperID()
public void addPreset(YFlow flow)
flow
- the incoming flowpublic void addPostset(YFlow flow)
flow
- the outgoing flowpublic void removePresetFlow(YFlow flow)
flow
- the incoming flowpublic void removePostsetFlow(YFlow flow)
flow
- the outgoing flowpublic java.util.Set<YExternalNetElement> getPostsetElements()
public java.util.Set<YExternalNetElement> getPresetElements()
public YFlow getPostsetFlow(YExternalNetElement netElement)
netElement
- an element that follows this via a flowpublic YFlow getPresetFlow(YExternalNetElement netElement)
netElement
- an element that precedes this via a flowpublic java.util.Set<YFlow> getPostsetFlows()
public java.util.Set<YFlow> getPresetFlows()
public YExternalNetElement getPostsetElement(java.lang.String id)
id
- the id of the element on the outgoing flowpublic YExternalNetElement getPresetElement(java.lang.String id)
id
- the id of the element on the incoming flowpublic java.util.Set<YExternalNetElement> getCancelledBySet()
public void addToCancelledBySet(YTask t)
public void removeFromCancelledBySet(YTask t)
public java.util.Set<YExternalNetElement> getYawlMappings()
public void addToYawlMappings(YExternalNetElement e)
public void addToYawlMappings(java.util.Set<YExternalNetElement> elements)
public void verify(YVerificationHandler handler)
YVerifiable
verify
in interface YVerifiable
YVerificationMessage
protected void verifyPostsetFlows(YVerificationHandler handler)
protected void verifyPresetFlows(YVerificationHandler handler)
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone
in class YNetElement
java.lang.CloneNotSupportedException
public java.lang.String toXML()
Copyright © 2004-2014 The YAWL Foundation.