Package jadex.bpmn.model
Class MArtifact
- java.lang.Object
-
- jadex.bpmn.model.MIdElement
-
- jadex.bpmn.model.MAnnotationElement
-
- jadex.bpmn.model.MNamedIdElement
-
- jadex.bpmn.model.MArtifact
-
public class MArtifact extends MNamedIdElement
An artifact is a thing such as a text associated to some other thing such as an activity.
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.List<MAssociation>
associations
The associations.protected java.lang.String
type
The type.-
Fields inherited from class jadex.bpmn.model.MNamedIdElement
description, name
-
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 MArtifact()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addAssociation(MAssociation association)
Add an association.java.util.List<MAssociation>
getAssociations()
Get the associations.java.lang.String
getType()
Get the type.void
removeAssociation(MAssociation association)
Remove an association.void
setType(java.lang.String type)
Set the type.-
Methods inherited from class jadex.bpmn.model.MNamedIdElement
getDescription, getName, setDescription, setName
-
Methods inherited from class jadex.bpmn.model.MAnnotationElement
addAnnotation, getAnnotations
-
Methods inherited from class jadex.bpmn.model.MIdElement
equals, getId, hashCode, setId
-
-
-
-
Field Detail
-
associations
protected java.util.List<MAssociation> associations
The associations.
-
type
protected java.lang.String type
The type.
-
-
Method Detail
-
getAssociations
public java.util.List<MAssociation> getAssociations()
Get the associations. return The associations.
-
addAssociation
public void addAssociation(MAssociation association)
Add an association.- Parameters:
association
- The association.
-
removeAssociation
public void removeAssociation(MAssociation association)
Remove an association.- Parameters:
association
- The association.
-
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.
-
-