org.forester.go
Class BasicGoRelationship
java.lang.Object
org.forester.go.BasicGoRelationship
- All Implemented Interfaces:
- Comparable<GoRelationship>, GoRelationship
public class BasicGoRelationship
- extends Object
- implements GoRelationship
BasicGoRelationship
public BasicGoRelationship(String s)
BasicGoRelationship
public BasicGoRelationship(String type,
String go_id)
BasicGoRelationship
public BasicGoRelationship(GoRelationship.Type type,
GoId go_id)
compareTo
public int compareTo(GoRelationship rel)
- Specified by:
compareTo
in interface Comparable<GoRelationship>
equals
public boolean equals(Object o)
- Based on value and type.
- Overrides:
equals
in class Object
getGoId
public GoId getGoId()
- Specified by:
getGoId
in interface GoRelationship
getType
public GoRelationship.Type getType()
- Specified by:
getType
in interface GoRelationship
toString
public String toString()
- Overrides:
toString
in class Object