|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgov.nasa.arc.pds.xml.generated.Instrument
public class Instrument
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}ASCII_Short_String_Collapsed" minOccurs="0"/> <element name="type" type="{http://pds.nasa.gov/pds4/pds/v1}ASCII_Short_String_Collapsed" maxOccurs="unbounded"/> <element name="model_id" type="{http://pds.nasa.gov/pds4/pds/v1}ASCII_Short_String_Collapsed" minOccurs="0"/> <element name="naif_instrument_id" type="{http://pds.nasa.gov/pds4/pds/v1}ASCII_Short_String_Collapsed" minOccurs="0"/> <element name="serial_number" type="{http://pds.nasa.gov/pds4/pds/v1}ASCII_Short_String_Collapsed" minOccurs="0"/> <element name="description" type="{http://pds.nasa.gov/pds4/pds/v1}ASCII_Text_Preserved"/> </sequence> </restriction> </complexContent> </complexType>
Field Summary | |
---|---|
protected String |
description
|
protected String |
modelId
|
protected String |
naifInstrumentId
|
protected String |
name
|
protected String |
serialNumber
|
protected List<String> |
types
|
Constructor Summary | |
---|---|
Instrument()
|
Method Summary | |
---|---|
String |
getDescription()
Gets the value of the description property. |
String |
getModelId()
Gets the value of the modelId property. |
String |
getNaifInstrumentId()
Gets the value of the naifInstrumentId property. |
String |
getName()
Gets the value of the name property. |
String |
getSerialNumber()
Gets the value of the serialNumber property. |
List<String> |
getTypes()
Gets the value of the types property. |
void |
setDescription(String value)
Sets the value of the description property. |
void |
setModelId(String value)
Sets the value of the modelId property. |
void |
setNaifInstrumentId(String value)
Sets the value of the naifInstrumentId property. |
void |
setName(String value)
Sets the value of the name property. |
void |
setSerialNumber(String value)
Sets the value of the serialNumber property. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected String name
protected List<String> types
protected String modelId
protected String naifInstrumentId
protected String serialNumber
protected String description
Constructor Detail |
---|
public Instrument()
Method Detail |
---|
public String getName()
String
public void setName(String value)
value
- allowed object is
String
public List<String> getTypes()
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
String
public String getModelId()
String
public void setModelId(String value)
value
- allowed object is
String
public String getNaifInstrumentId()
String
public void setNaifInstrumentId(String value)
value
- allowed object is
String
public String getSerialNumber()
String
public void setSerialNumber(String value)
value
- allowed object is
String
public String getDescription()
String
public void setDescription(String value)
value
- allowed object is
String
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |