|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.processmining.framework.models.pdm.PDMOperation
public class PDMOperation
Title: PDM operation
Description: Represents an operation in a PDM model
Copyright: Copyright (c) 2006
Company:
Constructor Summary | |
---|---|
PDMOperation(PDMModel model,
java.lang.String id)
Creates the operation with opID 'id'. |
Method Summary | |
---|---|
void |
addInputElement(java.lang.String dataElementID,
PDMModel model)
Adds a data element with dataElementID to the list of input elements. |
void |
addOutputElement(java.lang.String dataElementID,
PDMModel model)
Adds a data element with dataElementID to the list of output elements. |
void |
addResource(java.lang.String resourceID,
PDMModel model)
Adds a resource, with resourceID, to the list of resource. |
java.lang.String |
getID()
Returns the identifier of the operation. |
java.util.HashMap |
getInputElements()
Reutns the input data elements of the operation. |
java.util.HashSet |
getIntersectionSet(PDMOperation operation)
Returns the overlapping data elements of this operation with the parameter operation as a HashSet. |
java.util.HashMap |
getOutputElements()
Returns the output data elements of the operation. |
java.lang.Boolean |
hasDataElement(PDMDataElement el)
Checks whether the specified data element (object) is an element of the input or output elements of the operation. |
java.lang.Boolean |
hasDataElement(java.lang.String el)
checks whether the specified data element with identifier 'el' is an element of the input or output elements of the operation. |
java.lang.Boolean |
intersectsWith(PDMOperation operation)
Returns true when the operation intersects with this operation. |
void |
writeToDot(java.io.Writer bw)
Writes the operation to dot. |
void |
writeToDot(java.io.Writer bw,
PDMModel model)
Writes the operation to dot. |
void |
writeToPDM(java.io.Writer bw)
Writes the operation to a PDM file. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PDMOperation(PDMModel model, java.lang.String id)
model
- PDMModelid
- StringMethod Detail |
---|
public java.lang.String getID()
public void addInputElement(java.lang.String dataElementID, PDMModel model)
dataElementID
- Stringmodel
- PDMModelpublic void addOutputElement(java.lang.String dataElementID, PDMModel model)
dataElementID
- Stringmodel
- PDMModelpublic java.util.HashMap getInputElements()
public java.util.HashMap getOutputElements()
public void addResource(java.lang.String resourceID, PDMModel model)
resourceID
- Stringmodel
- PDMModelpublic java.lang.Boolean hasDataElement(PDMDataElement el)
el
- PDMDataElement
public java.lang.Boolean hasDataElement(java.lang.String el)
el
- String
public java.lang.Boolean intersectsWith(PDMOperation operation)
operation
- PDMOperation
public java.util.HashSet getIntersectionSet(PDMOperation operation)
operation
- PDMOperationoverlapEltsSet
- HashSet
public void writeToPDM(java.io.Writer bw) throws java.io.IOException
bw
- Writer
java.io.IOException
public void writeToDot(java.io.Writer bw, PDMModel model) throws java.io.IOException
bw
- Writermodel
- PDMModel
java.io.IOException
public void writeToDot(java.io.Writer bw) throws java.io.IOException
bw
- Writermodel
- PDMModel
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |