public class OME extends AbstractOMEModelObject
Constructor and Description |
---|
OME()
Default constructor.
|
OME(Element element,
OMEModel model)
Constructs OME recursively from an XML DOM tree.
|
OME(OME orig)
Copy constructor.
|
getChildrenByTagName, stripNamespacePrefix
public static final String NAMESPACE
public OME()
public OME(Element element, OMEModel model) throws EnumerationException
element
- Root of the XML DOM tree to construct a model object
graph from.model
- Handler for the OME model which keeps track of instances
and references seen during object population.EnumerationException
- If there is an error instantiating an
enumeration during model object creation.public OME(OME orig)
public void update(Element element, OMEModel model) throws EnumerationException
update
in interface OMEModelObject
update
in class AbstractOMEModelObject
element
- Root of the XML DOM tree to construct a model object
graph from.model
- Handler for the OME model which keeps track of instances
and references seen during object population.EnumerationException
- If there is an error instantiating an
enumeration during model object creation.public boolean link(Reference reference, OMEModelObject o)
OMEModelObject
link
in interface OMEModelObject
link
in class AbstractOMEModelObject
reference
- The type qualifier for the reference. This should
be the corresponding reference type for o
. If, for example,
o
is of type Image
, reference
MUST be of type ImageRef
.o
- Model object to link to.true
if this model object was able to handle the
reference, false
otherwise.public String getUUID()
public void setUUID(String uuid)
public String getCreator()
public void setCreator(String creator)
public Rights getRights()
public void setRights(Rights rights)
public int sizeOfProjectList()
public Project getProject(int index)
public void addProject(Project project)
public void removeProject(Project project)
public int sizeOfDatasetList()
public Dataset getDataset(int index)
public void addDataset(Dataset dataset)
public void removeDataset(Dataset dataset)
public int sizeOfExperimentList()
public List<Experiment> copyExperimentList()
public Experiment getExperiment(int index)
public Experiment setExperiment(int index, Experiment experiment)
public void addExperiment(Experiment experiment)
public void removeExperiment(Experiment experiment)
public int sizeOfPlateList()
public Plate getPlate(int index)
public void addPlate(Plate plate)
public void removePlate(Plate plate)
public int sizeOfScreenList()
public Screen getScreen(int index)
public void addScreen(Screen screen)
public void removeScreen(Screen screen)
public int sizeOfExperimenterList()
public List<Experimenter> copyExperimenterList()
public Experimenter getExperimenter(int index)
public Experimenter setExperimenter(int index, Experimenter experimenter)
public void addExperimenter(Experimenter experimenter)
public void removeExperimenter(Experimenter experimenter)
public int sizeOfExperimenterGroupList()
public List<ExperimenterGroup> copyExperimenterGroupList()
public ExperimenterGroup getExperimenterGroup(int index)
public ExperimenterGroup setExperimenterGroup(int index, ExperimenterGroup experimenterGroup)
public void addExperimenterGroup(ExperimenterGroup experimenterGroup)
public void removeExperimenterGroup(ExperimenterGroup experimenterGroup)
public int sizeOfInstrumentList()
public List<Instrument> copyInstrumentList()
public Instrument getInstrument(int index)
public Instrument setInstrument(int index, Instrument instrument)
public void addInstrument(Instrument instrument)
public void removeInstrument(Instrument instrument)
public int sizeOfImageList()
public Image getImage(int index)
public void addImage(Image image)
public void removeImage(Image image)
public StructuredAnnotations getStructuredAnnotations()
public void setStructuredAnnotations(StructuredAnnotations structuredAnnotations)
public int sizeOfROIList()
public ROI getROI(int index)
public void addROI(ROI roi)
public void removeROI(ROI roi)
public BinaryOnly getBinaryOnly()
public void setBinaryOnly(BinaryOnly binaryOnly)
public Element asXMLElement(Document document)
OMEModelObject
asXMLElement
in interface OMEModelObject
asXMLElement
in class AbstractOMEModelObject
document
- Destination document for element creation, etc.protected Element asXMLElement(Document document, Element OME_element)
AbstractOMEModelObject
asXMLElement
in class AbstractOMEModelObject
document
- Destination document for element creation, etc.OME_element
- Element from the subclass. If null a new
element will be created of this class.element
populated with properties from this class.Copyright © 2014 Open Microscopy Environment