|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectca.infoway.messagebuilder.xml.Annotation
public class Annotation
A class that models the annotation documentation.
Constructor Summary | |
---|---|
Annotation()
Standard constructor. |
|
Annotation(String text)
Standard constructor. |
Method Summary | |
---|---|
boolean |
equals(Object obj)
Standard equals implementation. |
String |
getAnnotationType()
Get the annotation Type |
AnnotationType |
getAnnotationTypeAsEnum()
Get the annotation Type |
String |
getOtherAnnotationType()
|
String |
getSourceName()
|
String |
getText()
Get the text. |
int |
hashCode()
Standard hash code method. |
void |
setAnnotationType(String annotationType)
Set the annotation Type |
void |
setAnnotationTypeAsEnum(AnnotationType annotationType)
Set the annotation Type |
void |
setOtherAnnotationType(String otherAnnotationType)
|
void |
setSourceName(String sourceName)
|
void |
setText(String text)
Set the text |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Annotation()
Standard constructor.
public Annotation(String text)
Standard constructor.
text
- - The text description of the annotation.Method Detail |
---|
public String getText()
Get the text.
public void setText(String text)
Set the text
text
- public String getAnnotationType()
Get the annotation Type
public void setAnnotationType(String annotationType)
Set the annotation Type
annotationType
- public AnnotationType getAnnotationTypeAsEnum()
Get the annotation Type
public void setAnnotationTypeAsEnum(AnnotationType annotationType)
Set the annotation Type
annotationType
- public String getSourceName()
public void setSourceName(String sourceName)
public String getOtherAnnotationType()
public void setOtherAnnotationType(String otherAnnotationType)
public boolean equals(Object obj)
Standard equals implementation.
equals
in class Object
obj
- - the other object
public int hashCode()
Standard hash code method.
hashCode
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |