Package org.biojavax.bio.seq
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 Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionReturns the object of this relationship (ie. the feature which this relationship starts from).int
getRank()
Gets the rank of this relationship.Gets the feature that this relationship refers to.getTerm()
Gets the term that describes this relationship.void
setRank
(int rank) Sets the rank of this relationship.Methods inherited from interface org.biojava.utils.Changeable
addChangeListener, addChangeListener, isUnchanging, removeChangeListener, removeChangeListener
Methods inherited from interface java.lang.Comparable
compareTo
-
Field Details
-
RANK
-
-
Method Details
-
setRank
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.
-