Package org.biojavax

Interface RichAnnotatable

All Superinterfaces:
Annotatable, Changeable
All Known Subinterfaces:
BioEntry, CrossRef, RichFeature, RichLocation, RichSequence
All Known Implementing Classes:
CompoundRichLocation, EmptyRichLocation, MultiSourceCompoundRichLocation, SimpleBioEntry, SimpleCrossRef, SimpleRichFeature, SimpleRichLocation, SimpleRichSequence, ThinRichSequence

public interface RichAnnotatable extends Annotatable
Annotatable objects that can have rich annotations.
Since:
1.5
Author:
Richard Holland, George Waldon
See Also:
  • Method Details

    • getRichAnnotation

      Return the associated annotation object.
      Returns:
      a RichAnnotation object, never null
    • getNoteSet

      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:
    • 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: