Package org.forester.go
Class BasicGoRelationship
java.lang.Object
org.forester.go.BasicGoRelationship
- All Implemented Interfaces:
Comparable<GoRelationship>
,GoRelationship
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.forester.go.GoRelationship
GoRelationship.Type
-
Field Summary
Fields inherited from interface org.forester.go.GoRelationship
HAS_PART_STR, NEGATIVELY_REGULATES_STR, OCCURS_IN_STR, PART_OF_STR, POSITIVELY_REGULATES_STR, REGULATES_STR
-
Constructor Summary
ConstructorDescriptionBasicGoRelationship
(String type, String go_id) BasicGoRelationship
(GoRelationship.Type type, GoId go_id) -
Method Summary
Modifier and TypeMethodDescriptionint
compareTo
(GoRelationship rel) boolean
Based on value and type.getGoId()
getType()
toString()
-
Constructor Details
-
BasicGoRelationship
-
BasicGoRelationship
-
BasicGoRelationship
-
-
Method Details
-
compareTo
- Specified by:
compareTo
in interfaceComparable<GoRelationship>
-
equals
Based on value and type. -
getGoId
- Specified by:
getGoId
in interfaceGoRelationship
-
getType
- Specified by:
getType
in interfaceGoRelationship
-
toString
-