gov.nasa.arc.pds.xml.generated.Offset Maven / Gradle / Ivy
//
// 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.XmlAttribute;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.XmlValue;
/**
* The offset attribute provides the displacement
* of the object starting position from the beginning of the parent
* structure (file, record, etc.). If there is no displacement,
* offset=0.
*
* Java class for offset complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="offset">
* <simpleContent>
* <extension base="<http://pds.nasa.gov/pds4/pds/v1>offset_WO_Units">
* <attribute name="unit" use="required" type="{http://pds.nasa.gov/pds4/pds/v1}Units_of_Storage" />
* </extension>
* </simpleContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "offset", propOrder = {
"value"
})
public class Offset {
@XmlValue
protected BigInteger value;
@XmlAttribute(name = "unit", required = true)
protected UnitsOfStorage unit;
/**
* Gets the value of the value property.
*
* @return
* possible object is
* {@link BigInteger }
*
*/
public BigInteger getValue() {
return value;
}
/**
* Sets the value of the value property.
*
* @param value
* allowed object is
* {@link BigInteger }
*
*/
public void setValue(BigInteger value) {
this.value = value;
}
/**
* Gets the value of the unit property.
*
* @return
* possible object is
* {@link UnitsOfStorage }
*
*/
public UnitsOfStorage getUnit() {
return unit;
}
/**
* Sets the value of the unit property.
*
* @param value
* allowed object is
* {@link UnitsOfStorage }
*
*/
public void setUnit(UnitsOfStorage value) {
this.unit = value;
}
}