Package gov.nasa.arc.pds.xml.generated
Class CenterWavelength
java.lang.Object
gov.nasa.arc.pds.xml.generated.CenterWavelength
public class CenterWavelength extends Object
The center_wavelength attribute provides the
wavelength or frequency describing the center of a bin along the
band axis of a spectral qube. When describing data from a
spectrometer, the value corresponds to the peak of the response
function for a particular detector and/or grating
position.
Java class for center_wavelength complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="center_wavelength">
<simpleContent>
<extension base="<http://pds.nasa.gov/pds4/pds/v1>center_wavelength_WO_Units">
<attribute name="unit" use="required" type="{http://pds.nasa.gov/pds4/pds/v1}Units_of_Length" />
</extension>
</simpleContent>
</complexType>
-
Field Summary
Fields Modifier and Type Field Description protected UnitsOfLengthunitprotected doublevalue -
Constructor Summary
Constructors Constructor Description CenterWavelength() -
Method Summary
Modifier and Type Method Description UnitsOfLengthgetUnit()Gets the value of the unit property.doublegetValue()Gets the value of the value property.voidsetUnit(UnitsOfLength value)Sets the value of the unit property.voidsetValue(double value)Sets the value of the value property.
-
Field Details
-
value
protected double value -
unit
-
-
Constructor Details
-
CenterWavelength
public CenterWavelength()
-
-
Method Details
-
getValue
public double getValue()Gets the value of the value property. -
setValue
public void setValue(double value)Sets the value of the value property. -
getUnit
Gets the value of the unit property.- Returns:
- possible object is
UnitsOfLength
-
setUnit
Sets the value of the unit property.- Parameters:
value- allowed object isUnitsOfLength
-