|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface AnnotationProvider
Provides an annotation counter for a model object.
| Method Summary | |
|---|---|
FileAnnotation |
getAnnotation(long key)
Returns the annotation with the specified key. |
FileAnnotation |
getAnnotation(java.lang.String key)
Returns the annotation with the specified key. |
java.util.Collection<FileAnnotation> |
getAnnotations()
Returns the annotations for this object. |
java.util.Collection<FileAnnotation> |
getAnnotations(Priority priority)
Returns the annotations of the specified priority for this object. |
java.util.Collection<FileAnnotation> |
getAnnotations(java.lang.String priority)
Returns the annotations of the specified priority for this object. |
int |
getNumberOfAnnotations()
Returns the total number of annotations for this object. |
int |
getNumberOfAnnotations(Priority priority)
Returns the total number of annotations of the specified priority for this object. |
int |
getNumberOfAnnotations(java.lang.String priority)
Returns the annotations of the specified priority for this object. |
boolean |
hasAnnotations()
Returns whether this objects has annotations. |
boolean |
hasAnnotations(Priority priority)
Returns whether this objects has annotations with the specified priority. |
boolean |
hasAnnotations(java.lang.String priority)
Returns whether this objects has annotations with the specified priority. |
boolean |
hasNoAnnotations()
Returns whether this objects has no annotations. |
boolean |
hasNoAnnotations(Priority priority)
Returns whether this objects has no annotations with the specified priority. |
boolean |
hasNoAnnotations(java.lang.String priority)
Returns whether this objects has no annotations with the specified priority. |
| Method Detail |
|---|
int getNumberOfAnnotations()
int getNumberOfAnnotations(Priority priority)
priority - the priority
int getNumberOfAnnotations(java.lang.String priority)
priority - the priority as a string object
boolean hasAnnotations()
true if this objects has annotations.boolean hasAnnotations(Priority priority)
priority - the priority
true if this objects has annotations.boolean hasAnnotations(java.lang.String priority)
priority - the priority as a string object
true if this objects has annotations.boolean hasNoAnnotations()
true if this objects has no annotations.boolean hasNoAnnotations(Priority priority)
priority - the priority
true if this objects has no annotations.boolean hasNoAnnotations(java.lang.String priority)
priority - the priority as a string object
true if this objects has no annotations.java.util.Collection<FileAnnotation> getAnnotations()
java.util.Collection<FileAnnotation> getAnnotations(Priority priority)
priority - the priority
java.util.Collection<FileAnnotation> getAnnotations(java.lang.String priority)
priority - the priority as a string object
FileAnnotation getAnnotation(long key)
key - the key of the annotation
FileAnnotation getAnnotation(java.lang.String key)
key - the key of the annotation as a long value in string representation
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||