gov.nasa.arc.pds.xml.generated.SourceProductExternal 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.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 Source_Product_External class is used to
* reference one or more source products (a product containing
* input data for the creation of this product) outside the PDS4
* Registry that have a common reference_type, doi, curating
* facility, and/or description. At least one of doi or curating
* facility must be provided. All source products listed within a
* single Source_Product_External class must correspond to the same
* doi and/or curating facility.
*
* Java class for Source_Product_External complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="Source_Product_External">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="external_source_product_identifier" type="{http://pds.nasa.gov/pds4/pds/v1}external_source_product_identifier" maxOccurs="unbounded"/>
* <element name="reference_type" type="{http://pds.nasa.gov/pds4/pds/v1}reference_type"/>
* <element name="doi" type="{http://pds.nasa.gov/pds4/pds/v1}doi" minOccurs="0"/>
* <element name="curating_facility" type="{http://pds.nasa.gov/pds4/pds/v1}curating_facility" minOccurs="0"/>
* <element name="description" type="{http://pds.nasa.gov/pds4/pds/v1}description" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "Source_Product_External", propOrder = {
"externalSourceProductIdentifiers",
"referenceType",
"doi",
"curatingFacility",
"description"
})
public class SourceProductExternal {
@XmlElement(name = "external_source_product_identifier", required = true)
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
@XmlSchemaType(name = "token")
protected List externalSourceProductIdentifiers;
@XmlElement(name = "reference_type", required = true)
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
@XmlSchemaType(name = "token")
protected String referenceType;
protected String doi;
@XmlElement(name = "curating_facility")
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
@XmlSchemaType(name = "token")
protected String curatingFacility;
protected String description;
/**
* Gets the value of the externalSourceProductIdentifiers 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 externalSourceProductIdentifiers property.
*
*
* For example, to add a new item, do as follows:
*
* getExternalSourceProductIdentifiers().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link String }
*
*
*/
public List getExternalSourceProductIdentifiers() {
if (externalSourceProductIdentifiers == null) {
externalSourceProductIdentifiers = new ArrayList();
}
return this.externalSourceProductIdentifiers;
}
/**
* Gets the value of the referenceType property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getReferenceType() {
return referenceType;
}
/**
* Sets the value of the referenceType property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setReferenceType(String value) {
this.referenceType = 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 curatingFacility property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getCuratingFacility() {
return curatingFacility;
}
/**
* Sets the value of the curatingFacility property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setCuratingFacility(String value) {
this.curatingFacility = 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;
}
}