Ensembl Model v1.09
© Roslin Institute 2010. GNU General Public License, version3
Ensembl Model
v1.09

uk.ac.roslin.ensembl.model.relationship
Class RelationshipType

java.lang.Object
  extended by uk.ac.roslin.ensembl.config.EnsemblType
      extended by uk.ac.roslin.ensembl.model.relationship.RelationshipType
All Implemented Interfaces:
Serializable, ObjectType
Direct Known Subclasses:
HomologyType

public class RelationshipType
extends EnsemblType

See Also:
Serialized Form

Field Summary
static RelationshipType UNKNOWN
           
 
Fields inherited from class uk.ac.roslin.ensembl.config.EnsemblType
label
 
Constructor Summary
protected RelationshipType(String value)
           
 
Method Summary
 boolean equals(Object obj)
          Overrides the Object method to test for equality
static Collection<? extends RelationshipType> getAllTypes()
           
static RelationshipType getRelationshipType(String value)
           
 int hashCode()
          hashCode() is overriden because we have overridden equals.
 
Methods inherited from class uk.ac.roslin.ensembl.config.EnsemblType
toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

UNKNOWN

public static final RelationshipType UNKNOWN
Constructor Detail

RelationshipType

protected RelationshipType(String value)
Method Detail

getAllTypes

public static Collection<? extends RelationshipType> getAllTypes()

getRelationshipType

public static RelationshipType getRelationshipType(String value)

equals

public boolean equals(Object obj)
Overrides the Object method to test for equality

Overrides:
equals in class Object
Parameters:
obj - the reference object with which to compare.
Returns:
true if this object is the same as the obj argument; false otherwise.

hashCode

public int hashCode()
hashCode() is overriden because we have overridden equals.

Overrides:
hashCode in class Object
Returns:
int the hash code

Ensembl Model
v1.09

Ensembl Model v1.09
© Roslin Institute 2010. GNU General Public License, version3