gov.nasa.arc.pds.xml.generated.Field 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 java.math.BigInteger;
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.XmlSeeAlso;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
/**
* The Field class defines a field of a record and
* is the parent class of all specific field classes.The Field
* class defines a field of a record or a field of a group and is
* the parent class of all specific field
* classes.
*
* Java class for Field complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="Field">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="name" type="{http://pds.nasa.gov/pds4/pds/v1}name"/>
* <element name="field_number" type="{http://pds.nasa.gov/pds4/pds/v1}field_number" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "Field", propOrder = {
"name",
"fieldNumber"
})
@XmlSeeAlso({
FieldBinary.class,
FieldBit.class,
FieldCharacter.class,
FieldDelimited.class
})
public class Field {
@XmlElement(required = true)
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
@XmlSchemaType(name = "token")
protected String name;
@XmlElement(name = "field_number")
@XmlSchemaType(name = "unsignedLong")
protected BigInteger fieldNumber;
/**
* Gets the value of the name property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getName() {
return name;
}
/**
* Sets the value of the name property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setName(String value) {
this.name = value;
}
/**
* Gets the value of the fieldNumber property.
*
* @return
* possible object is
* {@link BigInteger }
*
*/
public BigInteger getFieldNumber() {
return fieldNumber;
}
/**
* Sets the value of the fieldNumber property.
*
* @param value
* allowed object is
* {@link BigInteger }
*
*/
public void setFieldNumber(BigInteger value) {
this.fieldNumber = value;
}
}