public class Channel extends AbstractOMEModelObject
Modifier and Type | Field and Description |
---|---|
private AcquisitionMode |
acquisitionMode |
private List<Annotation> |
annotationLinks |
private Color |
color |
private ContrastMethod |
contrastMethod |
private DetectorSettings |
detectorSettings |
private Length |
emissionWavelength |
private Length |
excitationWavelength |
private FilterSet |
filterSet |
private String |
fluor |
private String |
id |
private IlluminationType |
illuminationType |
private LightPath |
lightPath |
private LightSourceSettings |
lightSourceSettings |
private static org.slf4j.Logger |
LOGGER
Logger for this class.
|
private String |
name |
static String |
NAMESPACE |
private Double |
ndFilter |
private Length |
pinholeSize |
private Pixels |
pixels |
private Integer |
pockelCellSetting |
private PositiveInteger |
samplesPerPixel |
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
private static final org.slf4j.Logger LOGGER
private Length pinholeSize
private String name
private AcquisitionMode acquisitionMode
private Color color
private ContrastMethod contrastMethod
private Length excitationWavelength
private IlluminationType illuminationType
private String fluor
private Integer pockelCellSetting
private Double ndFilter
private Length emissionWavelength
private String id
private PositiveInteger samplesPerPixel
private LightSourceSettings lightSourceSettings
private DetectorSettings detectorSettings
private FilterSet filterSet
private List<Annotation> annotationLinks
private LightPath lightPath
private Pixels pixels
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 Length getPinholeSize()
public void setPinholeSize(Length 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 static String getEmissionWavelengthUnitXsdDefault()
public ContrastMethod getContrastMethod()
public void setContrastMethod(ContrastMethod contrastMethod)
public static String getPinholeSizeUnitXsdDefault()
public Length getExcitationWavelength()
public void setExcitationWavelength(Length 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 static String getExcitationWavelengthUnitXsdDefault()
public Double getNDFilter()
public void setNDFilter(Double ndFilter)
public Length getEmissionWavelength()
public void setEmissionWavelength(Length emissionWavelength)
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 © 2015 Open Microscopy Environment