sbc.orthoxml
Class Species

java.lang.Object
  extended by sbc.orthoxml.Species

public class Species
extends java.lang.Object

Represents a species in the context of orthology assignment.

Author:
Thomas Schmitt

Constructor Summary
Species(java.lang.Integer taxId, java.lang.String name)
          Creates a Species object.
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.String getName()
          Returns the name of the species.
 java.lang.Integer getNcbiTaxId()
          Returns the NCBI taxonomy identifier of the species
 int hashCode()
           
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Species

public Species(java.lang.Integer taxId,
               java.lang.String name)
Creates a Species object.

Parameters:
taxId - the NCBI taxonomy identifier of the species
name - the (scientific) name of the species.
Method Detail

getName

public java.lang.String getName()
Returns the name of the species.

Returns:
the name of the species

getNcbiTaxId

public java.lang.Integer getNcbiTaxId()
Returns the NCBI taxonomy identifier of the species

Returns:
the NCBI taxonomy identifier.

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object