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 SummaryFields 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 SummaryConstructors Constructor Description Instrument()
 - 
Method SummaryAll 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- 
nameprotected java.lang.String name 
 - 
typeListAreaprotected TypeListArea typeListArea 
 - 
typesprotected java.util.List<java.lang.String> types 
 - 
subtypesprotected java.util.List<java.lang.String> subtypes 
 - 
modelIdprotected java.lang.String modelId 
 - 
naifInstrumentIdprotected java.lang.String naifInstrumentId 
 - 
serialNumberprotected java.lang.String serialNumber 
 - 
descriptionprotected java.lang.String description 
 
- 
 - 
Method Detail- 
getNamepublic java.lang.String getName() Gets the value of the name property.- Returns:
- possible object is
     String
 
 - 
setNamepublic void setName(java.lang.String value) Sets the value of the name property.- Parameters:
- value- allowed object is- String
 
 - 
getTypeListAreapublic TypeListArea getTypeListArea() Gets the value of the typeListArea property.- Returns:
- possible object is
     TypeListArea
 
 - 
setTypeListAreapublic void setTypeListArea(TypeListArea value) Sets the value of the typeListArea property.- Parameters:
- value- allowed object is- TypeListArea
 
 - 
getTypespublic 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.
 
 - 
getSubtypespublic 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.
 
 - 
getModelIdpublic java.lang.String getModelId() Gets the value of the modelId property.- Returns:
- possible object is
     String
 
 - 
setModelIdpublic void setModelId(java.lang.String value) Sets the value of the modelId property.- Parameters:
- value- allowed object is- String
 
 - 
getNaifInstrumentIdpublic java.lang.String getNaifInstrumentId() Gets the value of the naifInstrumentId property.- Returns:
- possible object is
     String
 
 - 
setNaifInstrumentIdpublic void setNaifInstrumentId(java.lang.String value) Sets the value of the naifInstrumentId property.- Parameters:
- value- allowed object is- String
 
 - 
getSerialNumberpublic java.lang.String getSerialNumber() Gets the value of the serialNumber property.- Returns:
- possible object is
     String
 
 - 
setSerialNumberpublic void setSerialNumber(java.lang.String value) Sets the value of the serialNumber property.- Parameters:
- value- allowed object is- String
 
 - 
getDescriptionpublic java.lang.String getDescription() Gets the value of the description property.- Returns:
- possible object is
     String
 
 - 
setDescriptionpublic void setDescription(java.lang.String value) Sets the value of the description property.- Parameters:
- value- allowed object is- String
 
 
- 
 
-