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 MArtifactsourceThe source.protected MAssociationTargettargetThe target.protected java.lang.StringtypeThe 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 MArtifactgetSource()Get the source.MAssociationTargetgetTarget()Get the target.java.lang.StringgetType()Get the type.voidsetSource(MArtifact source)Set the source.voidsetTarget(MAssociationTarget target)Set the target.voidsetType(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.
-
-