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
ConstructorsConstructorDescriptionBasicGoRelationship(String type, String go_id) BasicGoRelationship(GoRelationship.Type type, GoId go_id) -
Method Summary
Modifier and TypeMethodDescriptionintcompareTo(GoRelationship rel) booleanBased on value and type.getGoId()getType()toString()
-
Constructor Details
-
BasicGoRelationship
-
BasicGoRelationship
-
BasicGoRelationship
-
-
Method Details
-
compareTo
- Specified by:
compareToin interfaceComparable<GoRelationship>
-
equals
Based on value and type. -
getGoId
- Specified by:
getGoIdin interfaceGoRelationship
-
getType
- Specified by:
getTypein interfaceGoRelationship
-
toString
-