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

gov.nasa.arc.pds.xml.generated.Instrument 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.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;


/**
 * The Instrument class provides a description of a
 *         physical object that collects data.
 * 
 * 

Java class for Instrument complex type. * *

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

 * <complexType name="Instrument">
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <sequence>
 *         <element name="name" type="{http://pds.nasa.gov/pds4/pds/v1}name" minOccurs="0"/>
 *         <element name="Type_List_Area" type="{http://pds.nasa.gov/pds4/pds/v1}Type_List_Area"/>
 *         <element name="type" type="{http://pds.nasa.gov/pds4/pds/v1}type" maxOccurs="unbounded" minOccurs="0"/>
 *         <element name="subtype" type="{http://pds.nasa.gov/pds4/pds/v1}subtype" maxOccurs="unbounded" minOccurs="0"/>
 *         <element name="model_id" type="{http://pds.nasa.gov/pds4/pds/v1}model_id" minOccurs="0"/>
 *         <element name="naif_instrument_id" type="{http://pds.nasa.gov/pds4/pds/v1}naif_instrument_id" minOccurs="0"/>
 *         <element name="serial_number" type="{http://pds.nasa.gov/pds4/pds/v1}serial_number" minOccurs="0"/>
 *         <element name="description" type="{http://pds.nasa.gov/pds4/pds/v1}description"/>
 *       </sequence>
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "Instrument", propOrder = { "name", "typeListArea", "types", "subtypes", "modelId", "naifInstrumentId", "serialNumber", "description" }) public class Instrument { @XmlJavaTypeAdapter(CollapsedStringAdapter.class) @XmlSchemaType(name = "token") protected String name; @XmlElement(name = "Type_List_Area", required = true) protected TypeListArea typeListArea; @XmlElement(name = "type") @XmlJavaTypeAdapter(CollapsedStringAdapter.class) @XmlSchemaType(name = "token") protected List types; @XmlElement(name = "subtype") @XmlJavaTypeAdapter(CollapsedStringAdapter.class) @XmlSchemaType(name = "token") protected List subtypes; @XmlElement(name = "model_id") @XmlJavaTypeAdapter(CollapsedStringAdapter.class) @XmlSchemaType(name = "token") protected String modelId; @XmlElement(name = "naif_instrument_id") @XmlJavaTypeAdapter(CollapsedStringAdapter.class) @XmlSchemaType(name = "token") protected String naifInstrumentId; @XmlElement(name = "serial_number") @XmlJavaTypeAdapter(CollapsedStringAdapter.class) @XmlSchemaType(name = "token") protected String serialNumber; @XmlElement(required = true) protected String description; /** * Gets the value of the name property. * * @return * possible object is * {@link String } * */ public String getName() { return name; } /** * Sets the value of the name property. * * @param value * allowed object is * {@link String } * */ public void setName(String value) { this.name = value; } /** * Gets the value of the typeListArea property. * * @return * possible object is * {@link TypeListArea } * */ public TypeListArea getTypeListArea() { return typeListArea; } /** * Sets the value of the typeListArea property. * * @param value * allowed object is * {@link TypeListArea } * */ public void setTypeListArea(TypeListArea value) { this.typeListArea = value; } /** * Gets the value of the types 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 types property. * *

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

     *    getTypes().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link String } * * */ public List getTypes() { if (types == null) { types = new ArrayList(); } return this.types; } /** * Gets the value of the subtypes 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 subtypes property. * *

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

     *    getSubtypes().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link String } * * */ public List getSubtypes() { if (subtypes == null) { subtypes = new ArrayList(); } return this.subtypes; } /** * Gets the value of the modelId property. * * @return * possible object is * {@link String } * */ public String getModelId() { return modelId; } /** * Sets the value of the modelId property. * * @param value * allowed object is * {@link String } * */ public void setModelId(String value) { this.modelId = value; } /** * Gets the value of the naifInstrumentId property. * * @return * possible object is * {@link String } * */ public String getNaifInstrumentId() { return naifInstrumentId; } /** * Sets the value of the naifInstrumentId property. * * @param value * allowed object is * {@link String } * */ public void setNaifInstrumentId(String value) { this.naifInstrumentId = value; } /** * Gets the value of the serialNumber property. * * @return * possible object is * {@link String } * */ public String getSerialNumber() { return serialNumber; } /** * Sets the value of the serialNumber property. * * @param value * allowed object is * {@link String } * */ public void setSerialNumber(String value) { this.serialNumber = 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; } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy