Interface RichFeatureRelationship

All Superinterfaces:
Changeable, Comparable
All Known Implementing Classes:
SimpleRichFeatureRelationship

Represents the relation between two features. The seqfeature_relationship in BioSQL is what this is based on.
Since:
1.5
Author:
Mark Schreiber, Richard Holland
  • Field Details

  • Method Details

    • setRank

      void setRank(int rank) throws ChangeVetoException
      Sets the rank of this relationship.
      Parameters:
      rank - Value of property rank.
      Throws:
      ChangeVetoException - if the rank is untasty.
    • getRank

      int getRank()
      Gets the rank of this relationship.
      Returns:
      Value of property rank.
    • getObject

      Returns the object of this relationship (ie. the feature which this relationship starts from). This is an immutable property set by the constructor of an instantiating class.
      Returns:
      Value of property object.
    • getSubject

      Gets the feature that this relationship refers to. This is set at constructor time and is immutable.
      Returns:
      Value of property subject.
    • getTerm

      Gets the term that describes this relationship. This is set at constructor time and is immutable.
      Returns:
      Value of property term.