fish.focus.schema.exchange.module.v1.ExchangeBaseRequest Maven / Gradle / Ivy
package fish.focus.schema.exchange.module.v1;
import java.io.Serializable;
import java.util.Date;
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 javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
import fish.focus.schema.exchange.plugin.types.v1.PluginType;
import fish.focus.schema.exchange.v1.TypeRefType;
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;
import org.w3._2001.xmlschema.Adapter1;
/**
* Java class for ExchangeBaseRequest complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="ExchangeBaseRequest">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="method" type="{urn:module.exchange.schema.focus.fish:v1}ExchangeModuleMethod"/>
* <element name="username" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="pluginType" type="{urn:types.plugin.exchange.schema.focus.fish:v1}PluginType" minOccurs="0"/>
* <element name="senderOrReceiver" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="messageGuid" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="refGuid" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="responseMessageGuid" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="todt" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="df" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="date" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
* <element name="to" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="ad" 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"/>
* <element name="recipient" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="refType" type="{urn:exchange.schema.focus.fish:v1}TypeRefType"/>
* <element name="registeredClassName" type="{http://www.w3.org/2001/XMLSchema}string"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "ExchangeBaseRequest", propOrder = {
"method",
"username",
"pluginType",
"senderOrReceiver",
"messageGuid",
"refGuid",
"responseMessageGuid",
"todt",
"df",
"date",
"to",
"ad",
"fluxDataFlow",
"destination",
"onValue",
"recipient",
"refType",
"registeredClassName"
})
@XmlSeeAlso({
LogIdByTypeExistsResponse.class,
LogIdByTypeExistsRequest.class,
LogRefIdByTypeExistsResponse.class,
LogRefIdByTypeExistsRequest.class,
UpdateLogStatusRequest.class,
EfrActivitySaved.class,
ProcessedMovementResponseBatch.class,
ProcessedMovementResponse.class,
PingRequest.class,
UpdatePluginSettingRequest.class,
GetServiceListRequest.class,
SendMovementToPluginRequest.class,
SetCommandRequest.class,
SetFLUXMDRSyncMessageExchangeResponse.class,
SetFLUXMDRSyncMessageExchangeRequest.class,
SetFAQueryMessageRequest.class,
SetFLUXMovementReportRequest.class,
SetMovementReportRequest.class,
SetFLUXFAReportMessageRequest.class,
RcvFLUXFaResponseMessageRequest.class,
SetFLUXFAResponseMessageRequest.class,
QueryAssetInformationRequest.class,
SendAssetInformationRequest.class,
ReceiveAssetInformationRequest.class,
ExchangeOutgoingBaseRequest.class,
ReceiveInvalidSalesMessage.class,
ReceiveSalesResponseRequest.class,
ReceiveSalesQueryRequest.class,
ReceiveSalesReportRequest.class
})
public abstract class ExchangeBaseRequest
implements Serializable
{
private final static long serialVersionUID = 1L;
@XmlElement(required = true)
@XmlSchemaType(name = "string")
protected ExchangeModuleMethod method;
protected String username;
@XmlElement(defaultValue = "OTHER")
@XmlSchemaType(name = "string")
protected PluginType pluginType;
protected String senderOrReceiver;
protected String messageGuid;
protected String refGuid;
protected String responseMessageGuid;
protected String todt;
protected String df;
@XmlElement(type = String.class)
@XmlJavaTypeAdapter(Adapter1 .class)
@XmlSchemaType(name = "dateTime")
protected Date date;
protected String to;
protected String ad;
protected String fluxDataFlow;
protected String destination;
protected String onValue;
protected String recipient;
@XmlElement(required = true)
@XmlSchemaType(name = "string")
protected TypeRefType refType;
@XmlElement(required = true)
protected String registeredClassName;
/**
* Gets the value of the method property.
*
* @return
* possible object is
* {@link ExchangeModuleMethod }
*
*/
public ExchangeModuleMethod getMethod() {
return method;
}
/**
* Sets the value of the method property.
*
* @param value
* allowed object is
* {@link ExchangeModuleMethod }
*
*/
public void setMethod(ExchangeModuleMethod value) {
this.method = value;
}
/**
* Gets the value of the username property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getUsername() {
return username;
}
/**
* Sets the value of the username property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setUsername(String value) {
this.username = value;
}
/**
* Gets the value of the pluginType property.
*
* @return
* possible object is
* {@link PluginType }
*
*/
public PluginType getPluginType() {
return pluginType;
}
/**
* Sets the value of the pluginType property.
*
* @param value
* allowed object is
* {@link PluginType }
*
*/
public void setPluginType(PluginType value) {
this.pluginType = 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 messageGuid property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getMessageGuid() {
return messageGuid;
}
/**
* Sets the value of the messageGuid property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setMessageGuid(String value) {
this.messageGuid = value;
}
/**
* Gets the value of the refGuid property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getRefGuid() {
return refGuid;
}
/**
* Sets the value of the refGuid property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setRefGuid(String value) {
this.refGuid = value;
}
/**
* Gets the value of the responseMessageGuid property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getResponseMessageGuid() {
return responseMessageGuid;
}
/**
* Sets the value of the responseMessageGuid property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setResponseMessageGuid(String value) {
this.responseMessageGuid = value;
}
/**
* Gets the value of the todt property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getTodt() {
return todt;
}
/**
* Sets the value of the todt property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setTodt(String value) {
this.todt = value;
}
/**
* Gets the value of the df property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getDf() {
return df;
}
/**
* Sets the value of the df property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setDf(String value) {
this.df = value;
}
/**
* Gets the value of the date property.
*
* @return
* possible object is
* {@link String }
*
*/
public Date getDate() {
return date;
}
/**
* Sets the value of the date property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setDate(Date value) {
this.date = value;
}
/**
* Gets the value of the to property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getTo() {
return to;
}
/**
* Sets the value of the to property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setTo(String value) {
this.to = value;
}
/**
* Gets the value of the ad property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getAd() {
return ad;
}
/**
* Sets the value of the ad property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setAd(String value) {
this.ad = 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;
}
/**
* Gets the value of the recipient property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getRecipient() {
return recipient;
}
/**
* Sets the value of the recipient property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setRecipient(String value) {
this.recipient = value;
}
/**
* Gets the value of the refType property.
*
* @return
* possible object is
* {@link TypeRefType }
*
*/
public TypeRefType getRefType() {
return refType;
}
/**
* Sets the value of the refType property.
*
* @param value
* allowed object is
* {@link TypeRefType }
*
*/
public void setRefType(TypeRefType value) {
this.refType = value;
}
/**
* Gets the value of the registeredClassName property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getRegisteredClassName() {
return registeredClassName;
}
/**
* Sets the value of the registeredClassName property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setRegisteredClassName(String value) {
this.registeredClassName = 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);
}
}