Package org.biojavax.bio
Interface BioEntryRelationship
- All Superinterfaces:
Changeable
,Comparable
- All Known Implementing Classes:
SimpleBioEntryRelationship
Represents the relation between two bioentries. The bioentry_relationship in
BioSQL is what this represents.
- Since:
- 1.5
- Author:
- Mark Schreiber, Richard Holland
- See Also:
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionReturns the object of this relationship (ie. the BioEntry which this relationship starts from).getRank()
Returns the rank of this relationship.Returns the subject of this relationship (ie. the BioEntry which this relationship targets).getTerm()
Returns the term describing the relationship.void
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. The rank may be null in the database, hence the use of an Integer object here and not an int primitive.- Parameters:
rank
- Value of property rank.- Throws:
ChangeVetoException
- if the rank rankles.
-
getRank
Returns the rank of this relationship. The rank may be null in the database, hence the use of an Integer object here and not an int primitive.- Returns:
- Value of property rank.
-
getObject
Returns the object of this relationship (ie. the BioEntry which this relationship starts from). This is an immutable property set by the constructor of an instantiating class.- Returns:
- Value of property object.
-
getSubject
Returns the subject of this relationship (ie. the BioEntry which this relationship targets). This is an immutable property set by the constructor of an instantiating class.- Returns:
- Value of property subject.
-
getTerm
Returns the term describing the relationship. This is an immutable property set by the constructor of an instantiating class.- Returns:
- Value of property term.
-