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
An artifact is a thing such as a text associated to
some other thing such as an activity.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected List
<MAssociation> The associations.protected String
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 -
Method Summary
Modifier and TypeMethodDescriptionvoid
addAssociation
(MAssociation association) Add an association.Get the associations.getType()
Get the type.void
removeAssociation
(MAssociation association) Remove an association.void
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 Details
-
associations
The associations. -
type
The type.
-
-
Constructor Details
-
MArtifact
public MArtifact()
-
-
Method Details
-
getAssociations
Get the associations. return The associations. -
addAssociation
Add an association.- Parameters:
association
- The association.
-
removeAssociation
Remove an association.- Parameters:
association
- The association.
-
getType
Get the type.- Returns:
- The type.
-
setType
Set the type.- Parameters:
type
- The type to set.
-