fish.focus.schema.exchange.v1.ExchangeHistoryListQuery Maven / Gradle / Ivy
package fish.focus.schema.exchange.v1;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
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.XmlType;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
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 ExchangeHistoryListQuery complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="ExchangeHistoryListQuery">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="type" type="{urn:exchange.schema.focus.fish:v1}TypeRefType" maxOccurs="unbounded" minOccurs="0"/>
* <element name="status" type="{urn:exchange.schema.focus.fish:v1}ExchangeLogStatusTypeType" maxOccurs="unbounded" minOccurs="0"/>
* <element name="typeRefDateFrom" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
* <element name="typeRefDateTo" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "ExchangeHistoryListQuery", propOrder = {
"type",
"status",
"typeRefDateFrom",
"typeRefDateTo"
})
public class ExchangeHistoryListQuery
implements Serializable
{
private final static long serialVersionUID = 1L;
@XmlSchemaType(name = "string")
protected List type;
@XmlSchemaType(name = "string")
protected List status;
@XmlElement(type = String.class)
@XmlJavaTypeAdapter(Adapter1 .class)
@XmlSchemaType(name = "dateTime")
protected Date typeRefDateFrom;
@XmlElement(type = String.class)
@XmlJavaTypeAdapter(Adapter1 .class)
@XmlSchemaType(name = "dateTime")
protected Date typeRefDateTo;
/**
* Gets the value of the type 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 type property.
*
*
* For example, to add a new item, do as follows:
*
* getType().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link TypeRefType }
*
*
*/
public List getType() {
if (type == null) {
type = new ArrayList();
}
return this.type;
}
/**
* Gets the value of the status 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 status property.
*
*
* For example, to add a new item, do as follows:
*
* getStatus().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link ExchangeLogStatusTypeType }
*
*
*/
public List getStatus() {
if (status == null) {
status = new ArrayList();
}
return this.status;
}
/**
* Gets the value of the typeRefDateFrom property.
*
* @return
* possible object is
* {@link String }
*
*/
public Date getTypeRefDateFrom() {
return typeRefDateFrom;
}
/**
* Sets the value of the typeRefDateFrom property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setTypeRefDateFrom(Date value) {
this.typeRefDateFrom = value;
}
/**
* Gets the value of the typeRefDateTo property.
*
* @return
* possible object is
* {@link String }
*
*/
public Date getTypeRefDateTo() {
return typeRefDateTo;
}
/**
* Sets the value of the typeRefDateTo property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setTypeRefDateTo(Date value) {
this.typeRefDateTo = 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);
}
}