public int getTermAnnotationCount() { // Parents: {u'StructuredAnnotations': {u'OME': None}} // TermAnnotation is not a reference return root.getStructuredAnnotations().sizeOfTermAnnotationList(); }
public int getMapAnnotationCount() { // Parents: {u'StructuredAnnotations': {u'OME': None}} // MapAnnotation is not a reference return root.getStructuredAnnotations().sizeOfMapAnnotationList(); }
/** Gets the Map value associated with this annotation */ public List<MapPair> getMapAnnotationValue(int mapAnnotationIndex) { return root.getStructuredAnnotations().getMapAnnotation(mapAnnotationIndex).getValue(); }
public String getBooleanAnnotationID(int booleanAnnotationIndex) { // Parents: {u'StructuredAnnotations': {u'OME': None}} // ID is not a reference return root.getStructuredAnnotations().getBooleanAnnotation(booleanAnnotationIndex).getID(); }
public String getCommentAnnotationAnnotator(int commentAnnotationIndex) { // Parents: {u'StructuredAnnotations': {u'OME': None}} // Annotator is not a reference return root.getStructuredAnnotations().getCommentAnnotation(commentAnnotationIndex).getAnnotator(); }
public String getDoubleAnnotationAnnotator(int doubleAnnotationIndex) { // Parents: {u'StructuredAnnotations': {u'OME': None}} // Annotator is not a reference return root.getStructuredAnnotations().getDoubleAnnotation(doubleAnnotationIndex).getAnnotator(); }
public String getDoubleAnnotationNamespace(int doubleAnnotationIndex) { // Parents: {u'StructuredAnnotations': {u'OME': None}} // Namespace is not a reference return root.getStructuredAnnotations().getDoubleAnnotation(doubleAnnotationIndex).getNamespace(); }
public String getFileAnnotationAnnotator(int fileAnnotationIndex) { // Parents: {u'StructuredAnnotations': {u'OME': None}} // Annotator is not a reference return root.getStructuredAnnotations().getFileAnnotation(fileAnnotationIndex).getAnnotator(); }
public String getListAnnotationAnnotator(int listAnnotationIndex) { // Parents: {u'StructuredAnnotations': {u'OME': None}} // Annotator is not a reference return root.getStructuredAnnotations().getListAnnotation(listAnnotationIndex).getAnnotator(); }
public String getLongAnnotationNamespace(int longAnnotationIndex) { // Parents: {u'StructuredAnnotations': {u'OME': None}} // Namespace is not a reference return root.getStructuredAnnotations().getLongAnnotation(longAnnotationIndex).getNamespace(); }
public String getTermAnnotationID(int termAnnotationIndex) { // Parents: {u'StructuredAnnotations': {u'OME': None}} // ID is not a reference return root.getStructuredAnnotations().getTermAnnotation(termAnnotationIndex).getID(); }
public String getTimestampAnnotationDescription(int timestampAnnotationIndex) { // Parents: {u'StructuredAnnotations': {u'OME': None}} // Description is not a reference return root.getStructuredAnnotations().getTimestampAnnotation(timestampAnnotationIndex).getDescription(); }
public String getBooleanAnnotationAnnotator(int booleanAnnotationIndex) { // Parents: {u'StructuredAnnotations': {u'OME': None}} // Annotator is not a reference return root.getStructuredAnnotations().getBooleanAnnotation(booleanAnnotationIndex).getAnnotator(); }
public String getBooleanAnnotationID(int booleanAnnotationIndex) { // Parents: {u'StructuredAnnotations': {u'OME': None}} // ID is not a reference return root.getStructuredAnnotations().getBooleanAnnotation(booleanAnnotationIndex).getID(); }
public String getDoubleAnnotationID(int doubleAnnotationIndex) { // Parents: {u'StructuredAnnotations': {u'OME': None}} // ID is not a reference return root.getStructuredAnnotations().getDoubleAnnotation(doubleAnnotationIndex).getID(); }
public String getTagAnnotationNamespace(int tagAnnotationIndex) { // Parents: {u'StructuredAnnotations': {u'OME': None}} // Namespace is not a reference return root.getStructuredAnnotations().getTagAnnotation(tagAnnotationIndex).getNamespace(); }
public String getXMLAnnotationID(int XMLAnnotationIndex) { // Parents: {u'StructuredAnnotations': {u'OME': None}} // ID is not a reference return root.getStructuredAnnotations().getXMLAnnotation(XMLAnnotationIndex).getID(); }
public String getTermAnnotationAnnotationRef(int termAnnotationIndex, int annotationRefIndex) { // Parents: {u'StructuredAnnotations': {u'OME': None}} // AnnotationRef is reference and occurs more than once return root.getStructuredAnnotations().getTermAnnotation(termAnnotationIndex).getLinkedAnnotation(annotationRefIndex).getID(); }
public void setListAnnotationAnnotationRef(String annotation, int listAnnotationIndex, int annotationRefIndex) { // Parents: {u'StructuredAnnotations': {u'OME': None}} // AnnotationRef is reference and occurs more than once AnnotationRef annotationLinks_reference = new AnnotationRef(); annotationLinks_reference.setID(annotation); model.addReference( root.getStructuredAnnotations().getListAnnotation(listAnnotationIndex), annotationLinks_reference); }
public void setXMLAnnotationAnnotationRef(String annotation, int XMLAnnotationIndex, int annotationRefIndex) { // Parents: {u'StructuredAnnotations': {u'OME': None}} // AnnotationRef is reference and occurs more than once AnnotationRef annotationLinks_reference = new AnnotationRef(); annotationLinks_reference.setID(annotation); model.addReference( root.getStructuredAnnotations().getXMLAnnotation(XMLAnnotationIndex), annotationLinks_reference); }