Package ome.xml.model
Class Plate
- java.lang.Object
-
- ome.xml.model.AbstractOMEModelObject
-
- ome.xml.model.Plate
-
- All Implemented Interfaces:
OMEModelObject
public class Plate extends AbstractOMEModelObject
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringNAMESPACE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddPlateAcquisition(PlateAcquisition plateAcquisition)voidaddWell(Well well)org.w3c.dom.ElementasXMLElement(org.w3c.dom.Document document)Takes the entire object hierarchy and produces an XML DOM tree.org.w3c.dom.ElementasXMLElement(org.w3c.dom.Document document, org.w3c.dom.Element Plate_element)Takes the entire object hierarchy and produced an XML DOM tree taking into account class hierarchy.java.util.List<Annotation>copyLinkedAnnotationList()java.util.List<Screen>copyLinkedScreenList()java.util.List<PlateAcquisition>copyPlateAcquisitionList()java.util.List<Well>copyWellList()NamingConventiongetColumnNamingConvention()PositiveIntegergetColumns()java.lang.StringgetDescription()java.lang.StringgetExternalIdentifier()NonNegativeIntegergetFieldIndex()java.lang.StringgetID()AnnotationgetLinkedAnnotation(int index)ScreengetLinkedScreen(int index)java.lang.StringgetName()PlateAcquisitiongetPlateAcquisition(int index)NamingConventiongetRowNamingConvention()PositiveIntegergetRows()java.lang.StringgetStatus()WellgetWell(int index)LengthgetWellOriginX()static java.lang.StringgetWellOriginXUnitXsdDefault()LengthgetWellOriginY()static java.lang.StringgetWellOriginYUnitXsdDefault()booleanlink(Reference reference, OMEModelObject o)Link a given OME model object to this model object.booleanlinkAnnotation(Annotation o)booleanlinkScreen(Screen o)voidremovePlateAcquisition(PlateAcquisition plateAcquisition)voidremoveWell(Well well)voidsetColumnNamingConvention(NamingConvention columnNamingConvention)voidsetColumns(PositiveInteger columns)voidsetDescription(java.lang.String description)voidsetExternalIdentifier(java.lang.String externalIdentifier)voidsetFieldIndex(NonNegativeInteger fieldIndex)voidsetID(java.lang.String id)AnnotationsetLinkedAnnotation(int index, Annotation o)ScreensetLinkedScreen(int index, Screen o)voidsetName(java.lang.String name)PlateAcquisitionsetPlateAcquisition(int index, PlateAcquisition plateAcquisition)voidsetRowNamingConvention(NamingConvention rowNamingConvention)voidsetRows(PositiveInteger rows)voidsetStatus(java.lang.String status)WellsetWell(int index, Well well)voidsetWellOriginX(Length wellOriginX)voidsetWellOriginY(Length wellOriginY)intsizeOfLinkedAnnotationList()intsizeOfLinkedScreenList()intsizeOfPlateAcquisitionList()intsizeOfWellList()booleanunlinkAnnotation(Annotation o)booleanunlinkScreen(Screen o)voidupdate(org.w3c.dom.Element element, OMEModel model)Updates Plate recursively from an XML DOM tree.-
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
-
Plate
public Plate()
Default constructor.
-
Plate
public Plate(org.w3c.dom.Element element, OMEModel model) throws EnumerationExceptionConstructs Plate 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.
-
Plate
public Plate(Plate orig)
Copy constructor.
-
-
Method Detail
-
update
public void update(org.w3c.dom.Element element, OMEModel model) throws EnumerationExceptionUpdates Plate 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)
-
getName
public java.lang.String getName()
-
setName
public void setName(java.lang.String name)
-
getStatus
public java.lang.String getStatus()
-
setStatus
public void setStatus(java.lang.String status)
-
getExternalIdentifier
public java.lang.String getExternalIdentifier()
-
setExternalIdentifier
public void setExternalIdentifier(java.lang.String externalIdentifier)
-
getColumnNamingConvention
public NamingConvention getColumnNamingConvention()
-
setColumnNamingConvention
public void setColumnNamingConvention(NamingConvention columnNamingConvention)
-
getRowNamingConvention
public NamingConvention getRowNamingConvention()
-
setRowNamingConvention
public void setRowNamingConvention(NamingConvention rowNamingConvention)
-
getWellOriginX
public Length getWellOriginX()
-
setWellOriginX
public void setWellOriginX(Length wellOriginX)
-
getWellOriginXUnitXsdDefault
public static java.lang.String getWellOriginXUnitXsdDefault()
-
getWellOriginY
public Length getWellOriginY()
-
setWellOriginY
public void setWellOriginY(Length wellOriginY)
-
getWellOriginYUnitXsdDefault
public static java.lang.String getWellOriginYUnitXsdDefault()
-
getRows
public PositiveInteger getRows()
-
setRows
public void setRows(PositiveInteger rows)
-
getColumns
public PositiveInteger getColumns()
-
setColumns
public void setColumns(PositiveInteger columns)
-
getFieldIndex
public NonNegativeInteger getFieldIndex()
-
setFieldIndex
public void setFieldIndex(NonNegativeInteger fieldIndex)
-
getDescription
public java.lang.String getDescription()
-
setDescription
public void setDescription(java.lang.String description)
-
sizeOfWellList
public int sizeOfWellList()
-
copyWellList
public java.util.List<Well> copyWellList()
-
getWell
public Well getWell(int index)
-
addWell
public void addWell(Well well)
-
removeWell
public void removeWell(Well well)
-
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)
-
sizeOfPlateAcquisitionList
public int sizeOfPlateAcquisitionList()
-
copyPlateAcquisitionList
public java.util.List<PlateAcquisition> copyPlateAcquisitionList()
-
getPlateAcquisition
public PlateAcquisition getPlateAcquisition(int index)
-
setPlateAcquisition
public PlateAcquisition setPlateAcquisition(int index, PlateAcquisition plateAcquisition)
-
addPlateAcquisition
public void addPlateAcquisition(PlateAcquisition plateAcquisition)
-
removePlateAcquisition
public void removePlateAcquisition(PlateAcquisition plateAcquisition)
-
sizeOfLinkedScreenList
public int sizeOfLinkedScreenList()
-
copyLinkedScreenList
public java.util.List<Screen> copyLinkedScreenList()
-
getLinkedScreen
public Screen getLinkedScreen(int index)
-
linkScreen
public boolean linkScreen(Screen o)
-
unlinkScreen
public boolean unlinkScreen(Screen 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 Plate_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.Plate_element- Element from the subclass. Ifnulla new element will be created of this class.- Returns:
elementpopulated with properties from this class.
-
-