public class MAssociation extends MAnnotationElement
| Modifier and Type | Field and Description |
|---|---|
protected MArtifact |
source
The source.
|
protected MAssociationTarget |
target
The target.
|
protected java.lang.String |
type
The type.
|
annotationsid, ID_GENERATOR| Constructor and Description |
|---|
MAssociation() |
| Modifier and Type | Method and 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.
|
addAnnotation, getAnnotationsequals, getId, hashCode, setIdprotected MArtifact source
protected MAssociationTarget target
protected java.lang.String type
public MArtifact getSource()
public void setSource(MArtifact source)
source - The source to set.public MAssociationTarget getTarget()
public void setTarget(MAssociationTarget target)
target - The target to set.public java.lang.String getType()
public void setType(java.lang.String type)
type - The type to set.