public class MAnnotation extends MIdElement
Constructor and Description |
---|
MAnnotation() |
Modifier and Type | Method and Description |
---|---|
void |
addDetail(MAnnotationDetail detail)
Add a detail.
|
List |
getDetails()
Get the details.
|
String |
getSource()
Get the source.
|
String |
getType()
Get the type.
|
void |
removeDetail(MAnnotationDetail detail)
Remove a detail.
|
void |
setSource(String source)
Set the source.
|
void |
setType(String type)
Set the type.
|
getId, setId
public String getType()
public void setType(String type)
type
- The type to set.public String getSource()
public void setSource(String source)
source
- The source to set.public void addDetail(MAnnotationDetail detail)
detail
- The detail.public void removeDetail(MAnnotationDetail detail)
detail
- The detail.public List getDetails()
Copyright © 2012. All Rights Reserved.