Package ome.xml.model
Class Experimenter
- java.lang.Object
-
- ome.xml.model.AbstractOMEModelObject
-
- ome.xml.model.Experimenter
-
- All Implemented Interfaces:
OMEModelObject
public class Experimenter extends AbstractOMEModelObject
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringNAMESPACE
-
Constructor Summary
Constructors Constructor Description Experimenter()Default constructor.Experimenter(Experimenter orig)Copy constructor.Experimenter(org.w3c.dom.Element element, OMEModel model)Constructs Experimenter recursively from an XML DOM tree.
-
Method Summary
-
Methods inherited from class ome.xml.model.AbstractOMEModelObject
getChildrenByTagName, stripNamespacePrefix
-
-
-
-
Field Detail
-
NAMESPACE
public static final java.lang.String NAMESPACE
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
Experimenter
public Experimenter()
Default constructor.
-
Experimenter
public Experimenter(org.w3c.dom.Element element, OMEModel model) throws EnumerationExceptionConstructs Experimenter recursively from an XML DOM tree.- Parameters:
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.- Throws:
EnumerationException- If there is an error instantiating an enumeration during model object creation.
-
Experimenter
public Experimenter(Experimenter orig)
Copy constructor.
-
-
Method Detail
-
update
public void update(org.w3c.dom.Element element, OMEModel model) throws EnumerationExceptionUpdates Experimenter recursively from an XML DOM tree. NOTE: No properties are removed, only added or updated.- Specified by:
updatein interfaceOMEModelObject- Overrides:
updatein classAbstractOMEModelObject- Parameters:
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.- Throws:
EnumerationException- If there is an error instantiating an enumeration during model object creation.
-
link
public boolean link(Reference reference, OMEModelObject o)
Description copied from interface:OMEModelObjectLink a given OME model object to this model object.- Specified by:
linkin interfaceOMEModelObject- Overrides:
linkin classAbstractOMEModelObject- Parameters:
reference- The type qualifier for the reference. This should be the corresponding reference type foro. If, for example,ois of typeImage,referenceMUST be of typeImageRef.o- Model object to link to.- Returns:
trueif this model object was able to handle the reference,falseotherwise.
-
getID
public java.lang.String getID()
-
setID
public void setID(java.lang.String id)
-
getFirstName
public java.lang.String getFirstName()
-
setFirstName
public void setFirstName(java.lang.String firstName)
-
getMiddleName
public java.lang.String getMiddleName()
-
setMiddleName
public void setMiddleName(java.lang.String middleName)
-
getLastName
public java.lang.String getLastName()
-
setLastName
public void setLastName(java.lang.String lastName)
-
getEmail
public java.lang.String getEmail()
-
setEmail
public void setEmail(java.lang.String email)
-
getInstitution
public java.lang.String getInstitution()
-
setInstitution
public void setInstitution(java.lang.String institution)
-
getUserName
public java.lang.String getUserName()
-
setUserName
public void setUserName(java.lang.String userName)
-
sizeOfLinkedAnnotationList
public int sizeOfLinkedAnnotationList()
-
copyLinkedAnnotationList
public java.util.List<Annotation> copyLinkedAnnotationList()
-
getLinkedAnnotation
public Annotation getLinkedAnnotation(int index)
-
setLinkedAnnotation
public Annotation setLinkedAnnotation(int index, Annotation o)
-
linkAnnotation
public boolean linkAnnotation(Annotation o)
-
unlinkAnnotation
public boolean unlinkAnnotation(Annotation o)
-
sizeOfLinkedImageList
public int sizeOfLinkedImageList()
-
copyLinkedImageList
public java.util.List<Image> copyLinkedImageList()
-
getLinkedImage
public Image getLinkedImage(int index)
-
linkImage
public boolean linkImage(Image o)
-
unlinkImage
public boolean unlinkImage(Image o)
-
sizeOfLinkedMicrobeamManipulationList
public int sizeOfLinkedMicrobeamManipulationList()
-
copyLinkedMicrobeamManipulationList
public java.util.List<MicrobeamManipulation> copyLinkedMicrobeamManipulationList()
-
getLinkedMicrobeamManipulation
public MicrobeamManipulation getLinkedMicrobeamManipulation(int index)
-
setLinkedMicrobeamManipulation
public MicrobeamManipulation setLinkedMicrobeamManipulation(int index, MicrobeamManipulation o)
-
linkMicrobeamManipulation
public boolean linkMicrobeamManipulation(MicrobeamManipulation o)
-
unlinkMicrobeamManipulation
public boolean unlinkMicrobeamManipulation(MicrobeamManipulation o)
-
sizeOfLinkedProjectList
public int sizeOfLinkedProjectList()
-
copyLinkedProjectList
public java.util.List<Project> copyLinkedProjectList()
-
getLinkedProject
public Project getLinkedProject(int index)
-
linkProject
public boolean linkProject(Project o)
-
unlinkProject
public boolean unlinkProject(Project o)
-
sizeOfLinkedExperimenterGroupList
public int sizeOfLinkedExperimenterGroupList()
-
copyLinkedExperimenterGroupList
public java.util.List<ExperimenterGroup> copyLinkedExperimenterGroupList()
-
getLinkedExperimenterGroup
public ExperimenterGroup getLinkedExperimenterGroup(int index)
-
setLinkedExperimenterGroup
public ExperimenterGroup setLinkedExperimenterGroup(int index, ExperimenterGroup o)
-
linkExperimenterGroup
public boolean linkExperimenterGroup(ExperimenterGroup o)
-
unlinkExperimenterGroup
public boolean unlinkExperimenterGroup(ExperimenterGroup o)
-
sizeOfLinkedDatasetList
public int sizeOfLinkedDatasetList()
-
copyLinkedDatasetList
public java.util.List<Dataset> copyLinkedDatasetList()
-
getLinkedDataset
public Dataset getLinkedDataset(int index)
-
linkDataset
public boolean linkDataset(Dataset o)
-
unlinkDataset
public boolean unlinkDataset(Dataset o)
-
sizeOfLinkedExperimentList
public int sizeOfLinkedExperimentList()
-
copyLinkedExperimentList
public java.util.List<Experiment> copyLinkedExperimentList()
-
getLinkedExperiment
public Experiment getLinkedExperiment(int index)
-
setLinkedExperiment
public Experiment setLinkedExperiment(int index, Experiment o)
-
linkExperiment
public boolean linkExperiment(Experiment o)
-
unlinkExperiment
public boolean unlinkExperiment(Experiment o)
-
asXMLElement
public org.w3c.dom.Element asXMLElement(org.w3c.dom.Document document)
Description copied from interface:OMEModelObjectTakes the entire object hierarchy and produces an XML DOM tree.- Specified by:
asXMLElementin interfaceOMEModelObject- Specified by:
asXMLElementin classAbstractOMEModelObject- Parameters:
document- Destination document for element creation, etc.- Returns:
- XML DOM tree root element for this model object.
-
asXMLElement
public org.w3c.dom.Element asXMLElement(org.w3c.dom.Document document, org.w3c.dom.Element Experimenter_element)Description copied from class:AbstractOMEModelObjectTakes the entire object hierarchy and produced an XML DOM tree taking into account class hierarchy.- Overrides:
asXMLElementin classAbstractOMEModelObject- Parameters:
document- Destination document for element creation, etc.Experimenter_element- Element from the subclass. Ifnulla new element will be created of this class.- Returns:
elementpopulated with properties from this class.
-
-