|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Attachment
Attachment interface for annotations.
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
Returns true if some other object is equal to this one. |
AnnotationCategory |
getCategory()
Gets the annotation category. |
java.lang.Long |
getId()
Gets the unique id. |
TextWrapped |
getText()
Gets the text. |
int |
hashCode()
Returns a hash code for the object. |
void |
setCategory(AnnotationCategory category)
Sets the annotation category. |
void |
setText(TextWrapped text)
Sets the text. |
Method Detail |
---|
java.lang.Long getId()
AnnotationCategory getCategory()
void setCategory(AnnotationCategory category)
category
- The annotation category. TextWrapped getText()
void setText(TextWrapped text)
text
- The text. boolean equals(java.lang.Object obj)
The two annotations are equal if their ids are equal.
equals
in class java.lang.Object
obj
- The other object.
int hashCode()
hashCode
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |