gov.nasa.arc.pds.xml.generated.FileSize 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.9
// See https://eclipse-ee4j.github.io/jaxb-ri
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2024.09.27 at 05:20:24 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 file_size attribute provides the size of the
* file.
*
* Java class for file_size complex type
.
*
* The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="file_size">
* <simpleContent>
* <extension base="<http://pds.nasa.gov/pds4/pds/v1>file_size_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 = "file_size", propOrder = {
"value"
})
public class FileSize {
@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;
}
}