public class Dependency
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
Dependency(java.lang.String sourceActivity,
java.lang.String targetActivity)
Class constructor of two activities
|
Modifier and Type | Method and Description |
---|---|
void |
addResources(java.lang.String sourceResource,
java.lang.String targetResource)
This method adds resources to the current dependency
|
boolean |
equals(java.lang.Object other) |
double |
getDegreeOfNoHandover()
This method returns the degree of no handover of role
associated to the current dependency.
|
java.lang.String |
getSourceActivity()
This method returns the name of the source activity of the current
dependency
|
MultiSet<java.lang.String> |
getSourceOriginators()
This method returns the multiset of originators associated to the source
activity
|
java.lang.String |
getTargetActivity()
This method returns the name of the target activity of the current
dependency
|
MultiSet<java.lang.String> |
getTargetOriginators()
This method returns the multiset of originators associated to the source
activity
|
int |
hashCode() |
java.lang.String |
toString() |
public Dependency(java.lang.String sourceActivity, java.lang.String targetActivity)
sourceActivity
- the source activitytargetActivity
- the target activitypublic void addResources(java.lang.String sourceResource, java.lang.String targetResource)
sourceResource
- name of the originator performing the source
activitytargetResource
- name of the originator performing the target
activitypublic java.lang.String getSourceActivity()
public java.lang.String getTargetActivity()
public double getDegreeOfNoHandover()
w_{ab}(L)
formula, which is the
formula no. (1), reported into the related paper ("Business Models
Enhancement through Discovery of Roles", CIDM 2013).public MultiSet<java.lang.String> getSourceOriginators()
public MultiSet<java.lang.String> getTargetOriginators()
public boolean equals(java.lang.Object other)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object