Class Instrument
- java.lang.Object
-
- gov.nasa.arc.pds.xml.generated.Instrument
-
public class Instrument extends java.lang.ObjectThe 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>
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.Stringdescriptionprotected java.lang.StringmodelIdprotected java.lang.StringnaifInstrumentIdprotected java.lang.Stringnameprotected java.lang.StringserialNumberprotected java.util.List<java.lang.String>subtypesprotected TypeListAreatypeListAreaprotected java.util.List<java.lang.String>types
-
Constructor Summary
Constructors Constructor Description Instrument()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetDescription()Gets the value of the description property.java.lang.StringgetModelId()Gets the value of the modelId property.java.lang.StringgetNaifInstrumentId()Gets the value of the naifInstrumentId property.java.lang.StringgetName()Gets the value of the name property.java.lang.StringgetSerialNumber()Gets the value of the serialNumber property.java.util.List<java.lang.String>getSubtypes()Gets the value of the subtypes property.TypeListAreagetTypeListArea()Gets the value of the typeListArea property.java.util.List<java.lang.String>getTypes()Gets the value of the types property.voidsetDescription(java.lang.String value)Sets the value of the description property.voidsetModelId(java.lang.String value)Sets the value of the modelId property.voidsetNaifInstrumentId(java.lang.String value)Sets the value of the naifInstrumentId property.voidsetName(java.lang.String value)Sets the value of the name property.voidsetSerialNumber(java.lang.String value)Sets the value of the serialNumber property.voidsetTypeListArea(TypeListArea value)Sets the value of the typeListArea property.
-
-
-
Field Detail
-
name
protected java.lang.String name
-
typeListArea
protected TypeListArea typeListArea
-
types
protected java.util.List<java.lang.String> types
-
subtypes
protected java.util.List<java.lang.String> subtypes
-
modelId
protected java.lang.String modelId
-
naifInstrumentId
protected java.lang.String naifInstrumentId
-
serialNumber
protected java.lang.String serialNumber
-
description
protected java.lang.String description
-
-
Method Detail
-
getName
public java.lang.String getName()
Gets the value of the name property.- Returns:
- possible object is
String
-
setName
public void setName(java.lang.String value)
Sets the value of the name property.- Parameters:
value- allowed object isString
-
getTypeListArea
public TypeListArea getTypeListArea()
Gets the value of the typeListArea property.- Returns:
- possible object is
TypeListArea
-
setTypeListArea
public void setTypeListArea(TypeListArea value)
Sets the value of the typeListArea property.- Parameters:
value- allowed object isTypeListArea
-
getTypes
public java.util.List<java.lang.String> getTypes()
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
setmethod 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
String- Returns:
- The value of the types property.
-
getSubtypes
public java.util.List<java.lang.String> getSubtypes()
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
setmethod 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
String- Returns:
- The value of the subtypes property.
-
getModelId
public java.lang.String getModelId()
Gets the value of the modelId property.- Returns:
- possible object is
String
-
setModelId
public void setModelId(java.lang.String value)
Sets the value of the modelId property.- Parameters:
value- allowed object isString
-
getNaifInstrumentId
public java.lang.String getNaifInstrumentId()
Gets the value of the naifInstrumentId property.- Returns:
- possible object is
String
-
setNaifInstrumentId
public void setNaifInstrumentId(java.lang.String value)
Sets the value of the naifInstrumentId property.- Parameters:
value- allowed object isString
-
getSerialNumber
public java.lang.String getSerialNumber()
Gets the value of the serialNumber property.- Returns:
- possible object is
String
-
setSerialNumber
public void setSerialNumber(java.lang.String value)
Sets the value of the serialNumber property.- Parameters:
value- allowed object isString
-
getDescription
public java.lang.String getDescription()
Gets the value of the description property.- Returns:
- possible object is
String
-
setDescription
public void setDescription(java.lang.String value)
Sets the value of the description property.- Parameters:
value- allowed object isString
-
-