public class MAssociation extends MAnnotationElement
Constructor and Description |
---|
MAssociation() |
Modifier and Type | Method and Description |
---|---|
MArtifact |
getSource()
Get the source.
|
MAssociationTarget |
getTarget()
Get the target.
|
String |
getType()
Get the type.
|
void |
setSource(MArtifact source)
Set the source.
|
void |
setTarget(MAssociationTarget target)
Set the target.
|
void |
setType(String type)
Set the type.
|
addAnnotation, getAnnotations
getId, setId
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 String getType()
public void setType(String type)
type
- The type to set.Copyright © 2012. All Rights Reserved.