public class MArtifact extends MNamedIdElement
Modifier and Type | Field and Description |
---|---|
protected java.util.List<MAssociation> |
associations
The associations.
|
protected java.lang.String |
type
The type.
|
description, name
annotations
id, ID_GENERATOR
Constructor and Description |
---|
MArtifact() |
Modifier and Type | Method and 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.
|
getDescription, getName, setDescription, setName
addAnnotation, getAnnotations
equals, getId, hashCode, setId
protected java.util.List<MAssociation> associations
protected java.lang.String type
public java.util.List<MAssociation> getAssociations()
public void addAssociation(MAssociation association)
association
- The association.public void removeAssociation(MAssociation association)
association
- The association.public java.lang.String getType()
public void setType(java.lang.String type)
type
- The type to set.