Package annotation
Class AnnotationList
java.lang.Object
annotation.AnnotationList
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
addAnnotationType
(DataAnnotationType<?> annotationType) Add a data annotation type to the listfindAnnotators
(PamDataBlock pamDataBlock) Find additional annotators that are annotating this particular datablock.findTypeFromCode
(String code) Get a specified annotation type from it's code.
-
Constructor Details
-
AnnotationList
public AnnotationList()
-
-
Method Details
-
addAnnotationType
Add a data annotation type to the list- Parameters:
annotationType
- annotation type- Returns:
- true unless there was a code conflict.
-
findTypeFromCode
Get a specified annotation type from it's code.- Parameters:
code
- 4 character code identifying the annotation- Returns:
- DataannotationType or null
-
findAnnotators
Find additional annotators that are annotating this particular datablock.- Parameters:
pamDataBlock
-
-