gov.nih.nci.caarray.common.data.biomaterial
Class BioMaterialView
java.lang.Object
gov.nih.nci.caarray.common.data.biomaterial.BioMaterialData
gov.nih.nci.caarray.common.data.biomaterial.BioMaterialView
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- BioSampleView, BioSourceView, LabeledExtractView
public abstract class BioMaterialView
- extends BioMaterialData
- Author:
- TranP
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
treatments_
protected java.util.ArrayList treatments_
characteristics_
protected java.util.ArrayList characteristics_
BioMaterialView
public BioMaterialView()
getCategories
public java.lang.String[] getCategories()
- Returns:
- An array of unique categories of characteristics
getCharacteristics
public VocabData[] getCharacteristics()
- Returns:
setCharacteristics
public void setCharacteristics(VocabData[] characteristics)
- Parameters:
characteristics
-
addToCharacteristics
public void addToCharacteristics(VocabData characteristic)
- Parameters:
characteristics
-
getTreatments
public TreatmentData[] getTreatments()
- Returns:
setTreatments
public void setTreatments(TreatmentData[] treatments)
- Parameters:
treatments
-
addToTreatments
public void addToTreatments(TreatmentData treatment)
- Parameters:
treatment
-
removeFromTreatments
public void removeFromTreatments(long id)