gov.nasa.arc.pds.xml.generated.Document Maven / Gradle / Ivy
Show all versions of pds4-jparser Show documentation
//
// 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 java.util.ArrayList;
import java.util.List;
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.XmlType;
import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
/**
* The Document class describes a
* document.
*
* Java class for Document complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="Document">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="revision_id" type="{http://pds.nasa.gov/pds4/pds/v1}revision_id" minOccurs="0"/>
* <element name="document_name" type="{http://pds.nasa.gov/pds4/pds/v1}document_name" minOccurs="0"/>
* <element name="doi" type="{http://pds.nasa.gov/pds4/pds/v1}doi" minOccurs="0"/>
* <element name="author_list" type="{http://pds.nasa.gov/pds4/pds/v1}author_list" minOccurs="0"/>
* <element name="editor_list" type="{http://pds.nasa.gov/pds4/pds/v1}editor_list" minOccurs="0"/>
* <element name="acknowledgement_text" type="{http://pds.nasa.gov/pds4/pds/v1}acknowledgement_text" minOccurs="0"/>
* <element name="copyright" type="{http://pds.nasa.gov/pds4/pds/v1}copyright" minOccurs="0"/>
* <element name="publication_date" type="{http://pds.nasa.gov/pds4/pds/v1}publication_date"/>
* <element name="document_editions" type="{http://pds.nasa.gov/pds4/pds/v1}document_editions" minOccurs="0"/>
* <element name="description" type="{http://pds.nasa.gov/pds4/pds/v1}description" minOccurs="0"/>
* <element name="Document_Edition" type="{http://pds.nasa.gov/pds4/pds/v1}Document_Edition" maxOccurs="unbounded"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "Document", propOrder = {
"revisionId",
"documentName",
"doi",
"authorList",
"editorList",
"acknowledgementText",
"copyright",
"publicationDate",
"editionCount",
"description",
"documentEditions"
})
public class Document {
@XmlElement(name = "revision_id")
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
@XmlSchemaType(name = "token")
protected String revisionId;
@XmlElement(name = "document_name")
protected String documentName;
protected String doi;
@XmlElement(name = "author_list")
protected String authorList;
@XmlElement(name = "editor_list")
protected String editorList;
@XmlElement(name = "acknowledgement_text")
protected String acknowledgementText;
protected String copyright;
@XmlElement(name = "publication_date", required = true, nillable = true)
protected PublicationDate publicationDate;
@XmlElement(name = "document_editions")
@XmlSchemaType(name = "unsignedLong")
protected BigInteger editionCount;
protected String description;
@XmlElement(name = "Document_Edition", required = true)
protected List documentEditions;
/**
* Gets the value of the revisionId property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getRevisionId() {
return revisionId;
}
/**
* Sets the value of the revisionId property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setRevisionId(String value) {
this.revisionId = value;
}
/**
* Gets the value of the documentName property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getDocumentName() {
return documentName;
}
/**
* Sets the value of the documentName property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setDocumentName(String value) {
this.documentName = value;
}
/**
* Gets the value of the doi property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getDoi() {
return doi;
}
/**
* Sets the value of the doi property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setDoi(String value) {
this.doi = value;
}
/**
* Gets the value of the authorList property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getAuthorList() {
return authorList;
}
/**
* Sets the value of the authorList property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setAuthorList(String value) {
this.authorList = value;
}
/**
* Gets the value of the editorList property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getEditorList() {
return editorList;
}
/**
* Sets the value of the editorList property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setEditorList(String value) {
this.editorList = value;
}
/**
* Gets the value of the acknowledgementText property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getAcknowledgementText() {
return acknowledgementText;
}
/**
* Sets the value of the acknowledgementText property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setAcknowledgementText(String value) {
this.acknowledgementText = value;
}
/**
* Gets the value of the copyright property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getCopyright() {
return copyright;
}
/**
* Sets the value of the copyright property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setCopyright(String value) {
this.copyright = value;
}
/**
* Gets the value of the publicationDate property.
*
* @return
* possible object is
* {@link PublicationDate }
*
*/
public PublicationDate getPublicationDate() {
return publicationDate;
}
/**
* Sets the value of the publicationDate property.
*
* @param value
* allowed object is
* {@link PublicationDate }
*
*/
public void setPublicationDate(PublicationDate value) {
this.publicationDate = value;
}
/**
* Gets the value of the editionCount property.
*
* @return
* possible object is
* {@link BigInteger }
*
*/
public BigInteger getEditionCount() {
return editionCount;
}
/**
* Sets the value of the editionCount property.
*
* @param value
* allowed object is
* {@link BigInteger }
*
*/
public void setEditionCount(BigInteger value) {
this.editionCount = value;
}
/**
* Gets the value of the description property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getDescription() {
return description;
}
/**
* Sets the value of the description property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setDescription(String value) {
this.description = value;
}
/**
* Gets the value of the documentEditions property.
*
*
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a set
method for the documentEditions property.
*
*
* For example, to add a new item, do as follows:
*
* getDocumentEditions().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link DocumentEdition }
*
*
*/
public List getDocumentEditions() {
if (documentEditions == null) {
documentEditions = new ArrayList();
}
return this.documentEditions;
}
}