Class GetResponse
- java.lang.Object
-
- nz.ac.waikato.adams.webservice.spectral.get.GetResponse
-
public class GetResponse extends Object
Java class for getResponse complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="getResponse"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="id" type="{http://www.w3.org/2001/XMLSchema}string"/> <element name="format" type="{http://www.w3.org/2001/XMLSchema}string"/> <element name="spectrum" type="{http://get.spectral.webservice.adams.waikato.ac.nz/}Spectrum" minOccurs="0"/> <element name="success" type="{http://www.w3.org/2001/XMLSchema}boolean"/> <element name="message" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> </sequence> </restriction> </complexContent> </complexType>
-
-
Constructor Summary
Constructors Constructor Description GetResponse()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetFormat()Gets the value of the format property.StringgetId()Gets the value of the id property.StringgetMessage()Gets the value of the message property.SpectrumgetSpectrum()Gets the value of the spectrum property.booleanisSuccess()Gets the value of the success property.voidsetFormat(String value)Sets the value of the format property.voidsetId(String value)Sets the value of the id property.voidsetMessage(String value)Sets the value of the message property.voidsetSpectrum(Spectrum value)Sets the value of the spectrum property.voidsetSuccess(boolean value)Sets the value of the success property.
-
-
-
Method Detail
-
setId
public void setId(String value)
Sets the value of the id property.- Parameters:
value- allowed object isString
-
getFormat
public String getFormat()
Gets the value of the format property.- Returns:
- possible object is
String
-
setFormat
public void setFormat(String value)
Sets the value of the format property.- Parameters:
value- allowed object isString
-
getSpectrum
public Spectrum getSpectrum()
Gets the value of the spectrum property.- Returns:
- possible object is
Spectrum
-
setSpectrum
public void setSpectrum(Spectrum value)
Sets the value of the spectrum property.- Parameters:
value- allowed object isSpectrum
-
isSuccess
public boolean isSuccess()
Gets the value of the success property.
-
setSuccess
public void setSuccess(boolean value)
Sets the value of the success property.
-
getMessage
public String getMessage()
Gets the value of the message property.- Returns:
- possible object is
String
-
-