Class SupplementaryAnnotations


  • public class SupplementaryAnnotations
    extends Object
    A link from a range to an AnnotationCollection that includes the supplementing annotations.
    • Constructor Detail

      • SupplementaryAnnotations

        public SupplementaryAnnotations​(String aID)
        Creates a link to an AnnotationCollection that contains supplementary annotations.
        Parameters:
        aID - An ID of an annotation collection
      • SupplementaryAnnotations

        public SupplementaryAnnotations​(URI aID)
        Creates a link to an AnnotationCollection that contains supplementary annotations.
        Parameters:
        aID - An ID of an annotation collection
    • Method Detail

      • getID

        public URI getID()
        Gets the ID of the linked annotation collection.
        Returns:
        The ID of the linked annotation collection
      • setID

        public SupplementaryAnnotations setID​(String aID)
        Sets the ID, in string form, of the linked annotation collection.
        Parameters:
        aID - The ID of the linked annotation collection
        Returns:
        The supplementary annotations
      • setID

        public SupplementaryAnnotations setID​(URI aID)
        Sets the ID of the linked annotation collection.
        Parameters:
        aID - The ID of the linked annotation collection
        Returns:
        The supplementary annotations
      • getType

        public String getType()
        Gets the type of the supplementary annotations.
        Returns:
        The supplementary annotations type