phenote.matrix.model
Class PhenotypeMatrixColumn

java.lang.Object
  extended by phenote.matrix.model.PhenotypeMatrixColumn
All Implemented Interfaces:
MatrixColumn

public class PhenotypeMatrixColumn
extends java.lang.Object
implements MatrixColumn


Constructor Summary
PhenotypeMatrixColumn(org.obo.datamodel.OBOClass entity, org.obo.datamodel.OBOClass quality, org.obo.datamodel.OBOClass entity2)
          Creates a new PhenotypeMatrixColumn object with the given entity, quality, and entity2 OBOClass objects
 
Method Summary
 boolean equals(java.lang.Object o)
           
 org.obo.datamodel.OBOClass getEntity()
           
 org.obo.datamodel.OBOClass getEntity2()
           
 org.obo.datamodel.OBOClass getQuality()
           
 java.lang.Object getValue(CharacterI character)
           
 int hashCode()
           
 boolean isValue(CharacterI character)
          Determines whether or not a given character contains the same values as the column
 void setEntity(org.obo.datamodel.OBOClass entity)
           
 void setEntity2(org.obo.datamodel.OBOClass entity2)
           
 void setQuality(org.obo.datamodel.OBOClass quality)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PhenotypeMatrixColumn

public PhenotypeMatrixColumn(org.obo.datamodel.OBOClass entity,
                             org.obo.datamodel.OBOClass quality,
                             org.obo.datamodel.OBOClass entity2)
Creates a new PhenotypeMatrixColumn object with the given entity, quality, and entity2 OBOClass objects

Parameters:
entity - the entity to use for this matrix column
quality - the quality to use for this matrix column
entity2 - the additional entity to use for this matrix column
Method Detail

isValue

public boolean isValue(CharacterI character)
Determines whether or not a given character contains the same values as the column

Specified by:
isValue in interface MatrixColumn
Parameters:
character - the character to be tested
Returns:
a Boolean value indicating the validity of the Character as a column value

getValue

public java.lang.Object getValue(CharacterI character)
Specified by:
getValue in interface MatrixColumn
Parameters:
character - the character to be used as the basis of the matrix cell
Returns:
the given character as a PhenotypeMatrixCell object

setEntity

public void setEntity(org.obo.datamodel.OBOClass entity)
Parameters:
entity - the entity (as an OBOClass object) to be used for this column

getEntity

public org.obo.datamodel.OBOClass getEntity()
Returns:
the entity (as an OBOClass object) for this column

setQuality

public void setQuality(org.obo.datamodel.OBOClass quality)
Parameters:
quality - the quality (as an OBOClass object) to be used for this column

getQuality

public org.obo.datamodel.OBOClass getQuality()
Returns:
the quality (as an OBOClass object) for this column

setEntity2

public void setEntity2(org.obo.datamodel.OBOClass entity2)
Parameters:
entity2 - the additional entity (as an OBOClass object) to be used for this column

getEntity2

public org.obo.datamodel.OBOClass getEntity2()
Returns:
the additional entity (as an OBOClass object) for this column

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object
Returns:
an int value representing the hash code computation for the PhenotypeMatrixColumn

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object
Parameters:
o - an Object to be compared to the current PhenotypeMatrixColumn object
Returns:
the Boolean value indicating whether or not the Object is equivalent to the PhenotypeMatrixColumn

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object