phenote.datamodel
Class PhenotypeCharacterWrapper
java.lang.Object
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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PhenotypeCharacterWrapper
public PhenotypeCharacterWrapper(CharacterI character)
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