gov.nasa.arc.pds.xml.generated.ElementArray Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pds4-jparser Show documentation
Show all versions of pds4-jparser Show documentation
This is the parser library for the PDS4 planetary data standard.
//
// This file was generated by the Eclipse Implementation of JAXB, v2.3.4
// See https://eclipse-ee4j.github.io/jaxb-ri
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2021.12.10 at 07:24:03 AM GMT
//
package gov.nasa.arc.pds.xml.generated;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
/**
* The Element Array class is used as a component
* of the array class and defines an element of the
* array.
*
* Java class for Element_Array complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="Element_Array">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="data_type" type="{http://pds.nasa.gov/pds4/pds/v1}data_type"/>
* <element name="unit" type="{http://pds.nasa.gov/pds4/pds/v1}unit" minOccurs="0"/>
* <element name="scaling_factor" type="{http://pds.nasa.gov/pds4/pds/v1}scaling_factor" minOccurs="0"/>
* <element name="value_offset" type="{http://pds.nasa.gov/pds4/pds/v1}value_offset" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "Element_Array", propOrder = {
"dataType",
"unit",
"scalingFactor",
"valueOffset"
})
public class ElementArray {
@XmlElement(name = "data_type", required = true)
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
@XmlSchemaType(name = "token")
protected String dataType;
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
@XmlSchemaType(name = "token")
protected String unit;
@XmlElement(name = "scaling_factor")
protected Double scalingFactor;
@XmlElement(name = "value_offset")
protected Double valueOffset;
/**
* Gets the value of the dataType property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getDataType() {
return dataType;
}
/**
* Sets the value of the dataType property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setDataType(String value) {
this.dataType = value;
}
/**
* Gets the value of the unit property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getUnit() {
return unit;
}
/**
* Sets the value of the unit property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setUnit(String value) {
this.unit = value;
}
/**
* Gets the value of the scalingFactor property.
*
* @return
* possible object is
* {@link Double }
*
*/
public Double getScalingFactor() {
return scalingFactor;
}
/**
* Sets the value of the scalingFactor property.
*
* @param value
* allowed object is
* {@link Double }
*
*/
public void setScalingFactor(Double value) {
this.scalingFactor = value;
}
/**
* Gets the value of the valueOffset property.
*
* @return
* possible object is
* {@link Double }
*
*/
public Double getValueOffset() {
return valueOffset;
}
/**
* Sets the value of the valueOffset property.
*
* @param value
* allowed object is
* {@link Double }
*
*/
public void setValueOffset(Double value) {
this.valueOffset = value;
}
}