gov.nasa.arc.pds.xml.generated.FileAreaServiceDescription 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.XmlType;
/**
* The File Area Service Description class
* describes a file that contains a service
* description.
*
* Java class for File_Area_Service_Description complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="File_Area_Service_Description">
* <complexContent>
* <extension base="{http://pds.nasa.gov/pds4/pds/v1}File_Area">
* <sequence>
* <element name="File" type="{http://pds.nasa.gov/pds4/pds/v1}File"/>
* <element name="Service_Description" type="{http://pds.nasa.gov/pds4/pds/v1}Service_Description" maxOccurs="unbounded"/>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "File_Area_Service_Description", propOrder = {
"file",
"serviceDescriptions"
})
public class FileAreaServiceDescription
extends FileArea
{
@XmlElement(name = "File", required = true)
protected File file;
@XmlElement(name = "Service_Description", required = true)
protected List serviceDescriptions;
/**
* Gets the value of the file property.
*
* @return
* possible object is
* {@link File }
*
*/
public File getFile() {
return file;
}
/**
* Sets the value of the file property.
*
* @param value
* allowed object is
* {@link File }
*
*/
public void setFile(File value) {
this.file = value;
}
/**
* Gets the value of the serviceDescriptions 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 serviceDescriptions property.
*
*
* For example, to add a new item, do as follows:
*
* getServiceDescriptions().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link ServiceDescription }
*
*
*/
public List getServiceDescriptions() {
if (serviceDescriptions == null) {
serviceDescriptions = new ArrayList();
}
return this.serviceDescriptions;
}
}