public class Channel extends AbstractOMEModelObject
Constructor and Description |
---|
Channel()
Default constructor.
|
Channel(Channel orig)
Copy constructor.
|
Channel(Element element,
OMEModel model)
Constructs Channel recursively from an XML DOM tree.
|
getChildrenByTagName, stripNamespacePrefix
public static final String NAMESPACE
public Channel()
public Channel(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 Channel(Channel 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 Double getPinholeSize()
public void setPinholeSize(Double pinholeSize)
public String getName()
public void setName(String name)
public AcquisitionMode getAcquisitionMode()
public void setAcquisitionMode(AcquisitionMode acquisitionMode)
public Color getColor()
public void setColor(Color color)
public ContrastMethod getContrastMethod()
public void setContrastMethod(ContrastMethod contrastMethod)
public PositiveInteger getExcitationWavelength()
public void setExcitationWavelength(PositiveInteger excitationWavelength)
public IlluminationType getIlluminationType()
public void setIlluminationType(IlluminationType illuminationType)
public String getFluor()
public void setFluor(String fluor)
public Integer getPockelCellSetting()
public void setPockelCellSetting(Integer pockelCellSetting)
public PositiveInteger getEmissionWavelength()
public void setEmissionWavelength(PositiveInteger emissionWavelength)
public Double getNDFilter()
public void setNDFilter(Double ndFilter)
public String getID()
public void setID(String id)
public PositiveInteger getSamplesPerPixel()
public void setSamplesPerPixel(PositiveInteger samplesPerPixel)
public LightSourceSettings getLightSourceSettings()
public void setLightSourceSettings(LightSourceSettings lightSourceSettings)
public DetectorSettings getDetectorSettings()
public void setDetectorSettings(DetectorSettings detectorSettings)
public FilterSet getLinkedFilterSet()
public void linkFilterSet(FilterSet o)
public void unlinkFilterSet(FilterSet o)
public int sizeOfLinkedAnnotationList()
public List<Annotation> copyLinkedAnnotationList()
public Annotation getLinkedAnnotation(int index)
public Annotation setLinkedAnnotation(int index, Annotation o)
public boolean linkAnnotation(Annotation o)
public boolean unlinkAnnotation(Annotation o)
public LightPath getLightPath()
public void setLightPath(LightPath lightPath)
public Pixels getPixels()
public void setPixels(Pixels pixels_BackReference)
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 Channel_element)
AbstractOMEModelObject
asXMLElement
in class AbstractOMEModelObject
document
- Destination document for element creation, etc.Channel_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