phenote.datamodel
Class PhenotypeCharacterWrapper

java.lang.Object
  extended by phenote.datamodel.PhenotypeCharacterWrapper
All Implemented Interfaces:
PhenotypeCharacterI

public class PhenotypeCharacterWrapper
extends java.lang.Object
implements PhenotypeCharacterI

Provides a mapping between a character representing a phenotype, such as is required by the PhenoXML adapter, and the standard character with generic fields. Some of these properties are provided by CharacterI, but putting everything here will allow CharacterI to remain generic.

Author:
Jim Balhoff

Nested Class Summary
 
Nested classes/interfaces inherited from interface phenote.datamodel.PhenotypeCharacterI
PhenotypeCharacterI.PhenotypeCharacterFactory
 
Constructor Summary
PhenotypeCharacterWrapper(CharacterI character)
           
 
Method Summary
 org.obo.datamodel.OBOClass getAdditionalEntity()
           
 CharacterI getCharacter()
           
 int getCount()
           
 java.lang.String getDescription()
           
 org.obo.datamodel.OBOClass getEntity()
           
 org.obo.datamodel.OBOClass getGeneticContext()
           
 java.lang.String getGenotype()
           
 float getMeasurement()
           
 java.lang.String getPub()
           
 org.obo.datamodel.OBOClass getQuality()
           
 org.obo.datamodel.OBOClass getUnit()
           
 boolean hasCount()
           
 boolean hasMeasurement()
           
 void setAdditionalEntity(org.obo.datamodel.OBOClass term)
           
 void setCount(int count)
           
 void setDescription(java.lang.String desc)
           
 void setEntity(org.obo.datamodel.OBOClass term)
           
 void setGeneticContext(org.obo.datamodel.OBOClass term)
           
 void setGenotype(java.lang.String genotype)
           
 void setMeasurement(float measurement)
           
 void setPub(java.lang.String publication)
           
 void setQuality(org.obo.datamodel.OBOClass term)
           
 void setUnit(org.obo.datamodel.OBOClass term)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PhenotypeCharacterWrapper

public PhenotypeCharacterWrapper(CharacterI character)
Method Detail

getCharacter

public CharacterI getCharacter()

getEntity

public org.obo.datamodel.OBOClass getEntity()
Specified by:
getEntity in interface PhenotypeCharacterI

setEntity

public void setEntity(org.obo.datamodel.OBOClass term)
Specified by:
setEntity in interface PhenotypeCharacterI

getQuality

public org.obo.datamodel.OBOClass getQuality()
Specified by:
getQuality in interface PhenotypeCharacterI

setQuality

public void setQuality(org.obo.datamodel.OBOClass term)
Specified by:
setQuality in interface PhenotypeCharacterI

getAdditionalEntity

public org.obo.datamodel.OBOClass getAdditionalEntity()
Specified by:
getAdditionalEntity in interface PhenotypeCharacterI

setAdditionalEntity

public void setAdditionalEntity(org.obo.datamodel.OBOClass term)
Specified by:
setAdditionalEntity in interface PhenotypeCharacterI

hasCount

public boolean hasCount()
Specified by:
hasCount in interface PhenotypeCharacterI

getCount

public int getCount()
Specified by:
getCount in interface PhenotypeCharacterI

setCount

public void setCount(int count)
Specified by:
setCount in interface PhenotypeCharacterI

hasMeasurement

public boolean hasMeasurement()
Specified by:
hasMeasurement in interface PhenotypeCharacterI

getMeasurement

public float getMeasurement()
Specified by:
getMeasurement in interface PhenotypeCharacterI

setMeasurement

public void setMeasurement(float measurement)
Specified by:
setMeasurement in interface PhenotypeCharacterI

getUnit

public org.obo.datamodel.OBOClass getUnit()
Specified by:
getUnit in interface PhenotypeCharacterI

setUnit

public void setUnit(org.obo.datamodel.OBOClass term)
Specified by:
setUnit in interface PhenotypeCharacterI

getPub

public java.lang.String getPub()

setPub

public void setPub(java.lang.String publication)

getGenotype

public java.lang.String getGenotype()

setGenotype

public void setGenotype(java.lang.String genotype)

getGeneticContext

public org.obo.datamodel.OBOClass getGeneticContext()

setGeneticContext

public void setGeneticContext(org.obo.datamodel.OBOClass term)

getDescription

public java.lang.String getDescription()
Specified by:
getDescription in interface PhenotypeCharacterI

setDescription

public void setDescription(java.lang.String desc)
Specified by:
setDescription in interface PhenotypeCharacterI