Package org.biojavax

Interface RankedCrossRefable

    • Method Detail

      • getRankedCrossRefs

        java.util.Set getRankedCrossRefs()
        Returns the set of all ranked cross references associated with an object.
        Returns:
        a set of RankedCrossRef objects.
      • setRankedCrossRefs

        void setRankedCrossRefs​(java.util.Set crossrefs)
                         throws ChangeVetoException
        Sets the ranked cross references associated with an object. Null will throw an exception but the empty set is fine.
        Parameters:
        crossrefs - a set of RankedCrossRef objects.
        Throws:
        ChangeVetoException - if the set was null or any of its contents were not RankedCrossRef objects.
      • addRankedCrossRef

        void addRankedCrossRef​(RankedCrossRef crossref)
                        throws ChangeVetoException
        Adds a ranked cross reference to the existing set. If already present, this call is ignored. Null values are not acceptable.
        Parameters:
        crossref - the ranked cross reference to add.
        Throws:
        ChangeVetoException - if the parameter is null.
      • removeRankedCrossRef

        void removeRankedCrossRef​(RankedCrossRef crossref)
                           throws ChangeVetoException
        Removes a ranked cross reference from the existing set. If not present, this call is ignored. Null values are not acceptable.
        Parameters:
        crossref - the ranked cross reference to remove.
        Throws:
        ChangeVetoException - if the parameter is null.