Class MultiSpectrum
- java.lang.Object
-
- nz.ac.waikato.adams.webservice.rats.multispectrum.MultiSpectrum
-
public class MultiSpectrum extends Object
Java class for MultiSpectrum complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="MultiSpectrum"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="spectra" type="{http://multispectrum.rats.webservice.adams.waikato.ac.nz/}Spectrum" maxOccurs="unbounded" minOccurs="0"/> <element name="props" type="{http://multispectrum.rats.webservice.adams.waikato.ac.nz/}Properties" minOccurs="0"/> </sequence> <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> </restriction> </complexContent> </complexType>
-
-
Constructor Summary
Constructors Constructor Description MultiSpectrum()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getId()
Gets the value of the id property.Properties
getProps()
Gets the value of the props property.List<Spectrum>
getSpectra()
Gets the value of the spectra property.void
setId(String value)
Sets the value of the id property.void
setProps(Properties value)
Sets the value of the props property.
-
-
-
Field Detail
-
props
protected Properties props
-
id
protected String id
-
-
Method Detail
-
getSpectra
public List<Spectrum> getSpectra()
Gets the value of the spectra 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 spectra property.For example, to add a new item, do as follows:
getSpectra().add(newItem);
Objects of the following type(s) are allowed in the list
Spectrum
-
getProps
public Properties getProps()
Gets the value of the props property.- Returns:
- possible object is
Properties
-
setProps
public void setProps(Properties value)
Sets the value of the props property.- Parameters:
value
- allowed object isProperties
-
-