Package org.biojavax

Interface RichAnnotatable

    • Method Detail

      • getNoteSet

        Set<NotegetNoteSet()
        Returns the set of notes associated with this object. Would normally delegate call to internal RichAnnotation instance.
        Returns:
        set a set of Note objects.
        See Also:
        Note
      • setNoteSet

        void setNoteSet​(Set<Note> notes)
                 throws ChangeVetoException
        Clears the notes associated with this object and replaces them with the contents of this set. Would normally delegate call to internal RichAnnotation instance.
        Parameters:
        notes - the set of Note objects to replace the existing ones with.
        Throws:
        ChangeVetoException - if the set is null or contains any objects that are not Note objects.
        See Also:
        Note