com.example.stock.InvalidSymbolFault Maven / Gradle / Ivy
package com.example.stock;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for anonymous complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="message" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="offer" type="{http://www.example.com/stock}StockOffer"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"message",
"offer"
})
@XmlRootElement(name = "InvalidSymbolFault")
public class InvalidSymbolFault {
@XmlElement(required = true)
protected String message;
@XmlElement(required = true)
protected StockOffer offer;
/**
* Gets the value of the message property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getMessage() {
return message;
}
/**
* Sets the value of the message property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setMessage(String value) {
this.message = value;
}
/**
* Gets the value of the offer property.
*
* @return
* possible object is
* {@link StockOffer }
*
*/
public StockOffer getOffer() {
return offer;
}
/**
* Sets the value of the offer property.
*
* @param value
* allowed object is
* {@link StockOffer }
*
*/
public void setOffer(StockOffer value) {
this.offer = value;
}
}