public class MAnnotation extends MIdElement
Modifier and Type | Field and Description |
---|---|
protected java.util.List |
details
The details.
|
protected java.lang.String |
source
The source.
|
protected java.lang.String |
type
The type.
|
id, ID_GENERATOR
Constructor and Description |
---|
MAnnotation() |
Modifier and Type | Method and Description |
---|---|
void |
addDetail(MAnnotationDetail detail)
Add a detail.
|
java.util.List |
getDetails()
Get the details.
|
java.lang.String |
getSource()
Get the source.
|
java.lang.String |
getType()
Get the type.
|
void |
removeDetail(MAnnotationDetail detail)
Remove a detail.
|
void |
setSource(java.lang.String source)
Set the source.
|
void |
setType(java.lang.String type)
Set the type.
|
equals, getId, hashCode, setId
protected java.lang.String type
protected java.lang.String source
protected java.util.List details
public java.lang.String getType()
public void setType(java.lang.String type)
type
- The type to set.public java.lang.String getSource()
public void setSource(java.lang.String source)
source
- The source to set.public void addDetail(MAnnotationDetail detail)
detail
- The detail.public void removeDetail(MAnnotationDetail detail)
detail
- The detail.public java.util.List getDetails()