Package jadex.bpmn.model
Class MAssociation
- java.lang.Object
-
- jadex.bpmn.model.MIdElement
-
- jadex.bpmn.model.MAnnotationElement
-
- jadex.bpmn.model.MAssociation
-
public class MAssociation extends MAnnotationElement
An association is a connection between an artifact and some other thing.
-
-
Field Summary
Fields Modifier and Type Field Description protected MArtifact
source
The source.protected MAssociationTarget
target
The target.protected java.lang.String
type
The type.-
Fields inherited from class jadex.bpmn.model.MAnnotationElement
annotations
-
Fields inherited from class jadex.bpmn.model.MIdElement
id, ID_GENERATOR
-
-
Constructor Summary
Constructors Constructor Description MAssociation()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MArtifact
getSource()
Get the source.MAssociationTarget
getTarget()
Get the target.java.lang.String
getType()
Get the type.void
setSource(MArtifact source)
Set the source.void
setTarget(MAssociationTarget target)
Set the target.void
setType(java.lang.String type)
Set the type.-
Methods inherited from class jadex.bpmn.model.MAnnotationElement
addAnnotation, getAnnotations
-
Methods inherited from class jadex.bpmn.model.MIdElement
equals, getId, hashCode, setId
-
-
-
-
Field Detail
-
source
protected MArtifact source
The source.
-
target
protected MAssociationTarget target
The target.
-
type
protected java.lang.String type
The type.
-
-
Method Detail
-
getSource
public MArtifact getSource()
Get the source.- Returns:
- The source.
-
setSource
public void setSource(MArtifact source)
Set the source.- Parameters:
source
- The source to set.
-
getTarget
public MAssociationTarget getTarget()
Get the target.- Returns:
- The target.
-
setTarget
public void setTarget(MAssociationTarget target)
Set the target.- Parameters:
target
- The target to set.
-
getType
public java.lang.String getType()
Get the type.- Returns:
- The type.
-
setType
public void setType(java.lang.String type)
Set the type.- Parameters:
type
- The type to set.
-
-