All Downloads are FREE. Search and download functionalities are using the official Maven repository.

gov.nasa.arc.pds.xml.generated.Update Maven / Gradle / Ivy

There is a newer version: 2.8.4
Show newest version
//
// 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.XmlID;
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 Update class consists of update
 *         information.
 * 
 * 

Java class for Update complex type. * *

The following schema fragment specifies the expected content contained within this class. * *

 * <complexType name="Update">
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <sequence>
 *         <element name="local_identifier" type="{http://pds.nasa.gov/pds4/pds/v1}local_identifier" minOccurs="0"/>
 *         <element name="update_purpose" type="{http://pds.nasa.gov/pds4/pds/v1}update_purpose"/>
 *         <element name="description" type="{http://pds.nasa.gov/pds4/pds/v1}description" minOccurs="0"/>
 *         <element name="Update_Entry" type="{http://pds.nasa.gov/pds4/pds/v1}Update_Entry" maxOccurs="unbounded"/>
 *       </sequence>
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "Update", propOrder = { "localIdentifier", "updatePurpose", "description", "updateEntries" }) public class Update { @XmlElement(name = "local_identifier") @XmlJavaTypeAdapter(CollapsedStringAdapter.class) @XmlID @XmlSchemaType(name = "ID") protected String localIdentifier; @XmlElement(name = "update_purpose", required = true) @XmlJavaTypeAdapter(CollapsedStringAdapter.class) @XmlSchemaType(name = "token") protected String updatePurpose; protected String description; @XmlElement(name = "Update_Entry", required = true) protected List updateEntries; /** * 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 updatePurpose property. * * @return * possible object is * {@link String } * */ public String getUpdatePurpose() { return updatePurpose; } /** * Sets the value of the updatePurpose property. * * @param value * allowed object is * {@link String } * */ public void setUpdatePurpose(String value) { this.updatePurpose = 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 updateEntries 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 updateEntries property. * *

* For example, to add a new item, do as follows: *

     *    getUpdateEntries().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link UpdateEntry } * * */ public List getUpdateEntries() { if (updateEntries == null) { updateEntries = new ArrayList(); } return this.updateEntries; } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy