Ensembl Model v1.09
© Roslin Institute 2010. GNU General Public License, version3
uk.ac.roslin.ensembl.model.relationship
Class RelationshipType
java.lang.Object
uk.ac.roslin.ensembl.config.EnsemblType
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
UNKNOWN
public static final RelationshipType UNKNOWN
RelationshipType
protected RelationshipType(String value)
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
© Roslin Institute 2010. GNU General Public License, version3