gov.nih.nci.caarray.common.data.biomaterial
Class BioMaterialView

java.lang.Object
  extended by gov.nih.nci.caarray.common.data.biomaterial.BioMaterialData
      extended by 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

Field Summary
protected  java.util.ArrayList characteristics_
           
protected  java.util.ArrayList treatments_
           
 
Fields inherited from class gov.nih.nci.caarray.common.data.biomaterial.BioMaterialData
desc_, isEditable
 
Constructor Summary
BioMaterialView()
           
 
Method Summary
 void addToCharacteristics(VocabData characteristic)
           
 void addToTreatments(TreatmentData treatment)
           
 java.lang.String[] getCategories()
           
 VocabData[] getCharacteristics()
           
 TreatmentData[] getTreatments()
           
 void removeFromTreatments(long id)
           
 void setCharacteristics(VocabData[] characteristics)
           
 void setTreatments(TreatmentData[] treatments)
           
 
Methods inherited from class gov.nih.nci.caarray.common.data.biomaterial.BioMaterialData
getDesc, getIsEditable, setDesc, setIsEditable
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

treatments_

protected java.util.ArrayList treatments_

characteristics_

protected java.util.ArrayList characteristics_
Constructor Detail

BioMaterialView

public BioMaterialView()
Method Detail

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)