fish.focus.schema.exchange.plugin.v1.PluginBaseRequest Maven / Gradle / Ivy
package fish.focus.schema.exchange.plugin.v1;
import java.io.Serializable;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlSeeAlso;
import javax.xml.bind.annotation.XmlType;
import org.apache.commons.lang3.builder.EqualsBuilder;
import org.apache.commons.lang3.builder.HashCodeBuilder;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
/**
* Java class for PluginBaseRequest complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="PluginBaseRequest">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="method" type="{urn:plugin.exchange.schema.focus.fish:v1}ExchangePluginMethod"/>
* <element name="senderOrReceiver" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="fluxDataFlow" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="destination" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="onValue" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "PluginBaseRequest", propOrder = {
"method",
"senderOrReceiver",
"fluxDataFlow",
"destination",
"onValue"
})
@XmlSeeAlso({
PingResponse.class,
PingRequest.class,
StopRequest.class,
StartRequest.class,
SalesQueryIncomingResponse.class,
SetReportRequest.class,
SetCommandRequest.class,
SetFLUXFAReportRequest.class,
SetFLUXFAQueryRequest.class,
SetFLUXFAResponseRequest.class,
SetConfigRequest.class,
SetMdrPluginRequest.class,
SendQueryAssetInformationRequest.class,
SendAssetInformationRequest.class,
SendSalesResponseRequest.class,
SendSalesReportRequest.class
})
public abstract class PluginBaseRequest
implements Serializable
{
private final static long serialVersionUID = 1L;
@XmlElement(required = true)
@XmlSchemaType(name = "string")
protected ExchangePluginMethod method;
protected String senderOrReceiver;
protected String fluxDataFlow;
protected String destination;
protected String onValue;
/**
* Gets the value of the method property.
*
* @return
* possible object is
* {@link ExchangePluginMethod }
*
*/
public ExchangePluginMethod getMethod() {
return method;
}
/**
* Sets the value of the method property.
*
* @param value
* allowed object is
* {@link ExchangePluginMethod }
*
*/
public void setMethod(ExchangePluginMethod value) {
this.method = value;
}
/**
* Gets the value of the senderOrReceiver property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getSenderOrReceiver() {
return senderOrReceiver;
}
/**
* Sets the value of the senderOrReceiver property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setSenderOrReceiver(String value) {
this.senderOrReceiver = value;
}
/**
* Gets the value of the fluxDataFlow property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getFluxDataFlow() {
return fluxDataFlow;
}
/**
* Sets the value of the fluxDataFlow property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setFluxDataFlow(String value) {
this.fluxDataFlow = value;
}
/**
* Gets the value of the destination property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getDestination() {
return destination;
}
/**
* Sets the value of the destination property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setDestination(String value) {
this.destination = value;
}
/**
* Gets the value of the onValue property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getOnValue() {
return onValue;
}
/**
* Sets the value of the onValue property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setOnValue(String value) {
this.onValue = value;
}
@Override
public String toString() {
return ToStringBuilder.reflectionToString(this, ToStringStyle.SHORT_PREFIX_STYLE);
}
@Override
public boolean equals(Object that) {
return EqualsBuilder.reflectionEquals(this, that);
}
@Override
public int hashCode() {
return HashCodeBuilder.reflectionHashCode(this);
}
}