|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.processmining.framework.models.pdm.PDMActivity
public class PDMActivity
Title: PDMActivity *
Description: Represents an activity from a PDM Design
*Copyright: Copyright (c) 2006
*Company:
*
Constructor Summary | |
---|---|
PDMActivity(java.lang.String id)
Creates the activity with identifier 'id'. |
Method Summary | |
---|---|
void |
addOperation(PDMOperation operation)
Adds an operation to the list of operations of this activity |
java.lang.Double |
calculateActivityCohesion()
Calculates the total activity cohesion, based on the activity informaiton cohesion and the activity relation cohesion. |
java.lang.Double |
calculateActivityInformationCohesion()
Calculates the activity information cohesion. |
java.lang.Double |
calculateActivityRelationCohesion()
Calculates the activity relation cohesion. |
PDMDataElement |
getConnectingDataElement(PDMActivity act)
Returns (one of) the data element that makes the overlap between this activity and activity act. |
java.util.HashSet |
getDataElements()
Returns a Hash Set containing all the data elements of the activity (i.e. |
java.lang.String |
getID()
Returns the ID of this activity (activityID). |
java.util.HashSet |
getInputDataElements()
|
java.lang.Integer |
getNumberOfDataElements()
Returns the number of data elements in this activity. |
java.util.HashMap |
getOperations()
Returns the operations of this activity as a HashMap. |
java.util.HashSet |
getOutputDataElements()
|
java.lang.Boolean |
hasDataElement(PDMDataElement el)
Returns ture is there is an operation in the list of operations that contains the data element 'el' as input or as output element. |
java.lang.Boolean |
hasOperation(PDMOperation op)
Returns true if the list of operations contains the operation 'op'. |
java.lang.Boolean |
isConnectedWith(PDMActivity act)
Returns true when this activity is connected with activity act by an overlapping data element. |
java.lang.Integer |
size()
Returns the number of operations in the list of operations. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PDMActivity(java.lang.String id)
id
- StringMethod Detail |
---|
public void addOperation(PDMOperation operation)
operation
- PDMOperationpublic java.lang.String getID()
public java.lang.Boolean hasOperation(PDMOperation op)
op
- PDMOperation
public java.lang.Boolean hasDataElement(PDMDataElement el)
el
- PDMDataElement
public java.lang.Integer size()
public java.lang.Boolean isConnectedWith(PDMActivity act)
act
- PDMActivity
public PDMDataElement getConnectingDataElement(PDMActivity act)
act
- PDMActivity
public java.lang.Double calculateActivityCohesion()
public java.lang.Double calculateActivityRelationCohesion()
public java.lang.Double calculateActivityInformationCohesion()
public java.util.HashSet getDataElements()
public java.lang.Integer getNumberOfDataElements()
public java.util.HashMap getOperations()
public java.util.HashSet getInputDataElements()
public java.util.HashSet getOutputDataElements()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |