org.forester.go
Class BasicGoRelationship

java.lang.Object
  extended by org.forester.go.BasicGoRelationship
All Implemented Interfaces:
Comparable<GoRelationship>, GoRelationship

public class BasicGoRelationship
extends Object
implements 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
NEGATIVELY_REGULATES_STR, PART_OF_STR, POSITIVELY_REGULATES_STR, REGULATES_STR
 
Constructor Summary
BasicGoRelationship(GoRelationship.Type type, GoId go_id)
           
BasicGoRelationship(String s)
           
BasicGoRelationship(String type, String go_id)
           
 
Method Summary
 int compareTo(GoRelationship rel)
           
 boolean equals(Object o)
          Based on value and type.
 GoId getGoId()
           
 GoRelationship.Type getType()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BasicGoRelationship

public BasicGoRelationship(String s)

BasicGoRelationship

public BasicGoRelationship(String type,
                           String go_id)

BasicGoRelationship

public BasicGoRelationship(GoRelationship.Type type,
                           GoId go_id)
Method Detail

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