gov.nasa.arc.pds.xml.generated.File 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.XmlID;
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 File class consists of attributes that
* describe a file in a data store.
*
* Java class for File complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="File">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="file_name" type="{http://pds.nasa.gov/pds4/pds/v1}file_name"/>
* <element name="local_identifier" type="{http://pds.nasa.gov/pds4/pds/v1}local_identifier" minOccurs="0"/>
* <element name="creation_date_time" type="{http://pds.nasa.gov/pds4/pds/v1}creation_date_time" minOccurs="0"/>
* <element name="file_size" type="{http://pds.nasa.gov/pds4/pds/v1}file_size" minOccurs="0"/>
* <element name="records" type="{http://pds.nasa.gov/pds4/pds/v1}records" minOccurs="0"/>
* <element name="md5_checksum" type="{http://pds.nasa.gov/pds4/pds/v1}md5_checksum" minOccurs="0"/>
* <element name="comment" type="{http://pds.nasa.gov/pds4/pds/v1}comment" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "File", propOrder = {
"fileName",
"localIdentifier",
"creationDateTime",
"fileSize",
"records",
"md5Checksum",
"comment"
})
@XmlSeeAlso({
DocumentFile.class
})
public class File {
@XmlElement(name = "file_name", required = true)
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
@XmlSchemaType(name = "token")
protected String fileName;
@XmlElement(name = "local_identifier")
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
@XmlID
@XmlSchemaType(name = "ID")
protected String localIdentifier;
@XmlElement(name = "creation_date_time")
protected String creationDateTime;
@XmlElement(name = "file_size")
protected FileSize fileSize;
@XmlSchemaType(name = "unsignedLong")
protected BigInteger records;
@XmlElement(name = "md5_checksum")
protected String md5Checksum;
protected String comment;
/**
* Gets the value of the fileName property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getFileName() {
return fileName;
}
/**
* Sets the value of the fileName property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setFileName(String value) {
this.fileName = value;
}
/**
* Gets the value of the localIdentifier property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getLocalIdentifier() {
return localIdentifier;
}
/**
* Sets the value of the localIdentifier property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setLocalIdentifier(String value) {
this.localIdentifier = value;
}
/**
* Gets the value of the creationDateTime property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getCreationDateTime() {
return creationDateTime;
}
/**
* Sets the value of the creationDateTime property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setCreationDateTime(String value) {
this.creationDateTime = value;
}
/**
* Gets the value of the fileSize property.
*
* @return
* possible object is
* {@link FileSize }
*
*/
public FileSize getFileSize() {
return fileSize;
}
/**
* Sets the value of the fileSize property.
*
* @param value
* allowed object is
* {@link FileSize }
*
*/
public void setFileSize(FileSize value) {
this.fileSize = value;
}
/**
* Gets the value of the records property.
*
* @return
* possible object is
* {@link BigInteger }
*
*/
public BigInteger getRecords() {
return records;
}
/**
* Sets the value of the records property.
*
* @param value
* allowed object is
* {@link BigInteger }
*
*/
public void setRecords(BigInteger value) {
this.records = value;
}
/**
* Gets the value of the md5Checksum property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getMd5Checksum() {
return md5Checksum;
}
/**
* Sets the value of the md5Checksum property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setMd5Checksum(String value) {
this.md5Checksum = value;
}
/**
* Gets the value of the comment property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getComment() {
return comment;
}
/**
* Sets the value of the comment property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setComment(String value) {
this.comment = value;
}
}