gov.nasa.arc.pds.xml.generated.GroupLength 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.XmlAttribute;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.XmlValue;
/**
* The group_length attribute provides the total
* length, in bytes, of a repeating field and/or group structure.
* It is the number of bytes in the repeating fields/groups plus
* any embedded unused bytes that are also repeated multiplied by
* the number of repetitions.
*
* Java class for group_length complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="group_length">
* <simpleContent>
* <extension base="<http://pds.nasa.gov/pds4/pds/v1>group_length_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 = "group_length", propOrder = {
"value"
})
public class GroupLength {
@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;
}
}