fish.focus.schema.exchange.v1.ExchangeListCriteriaPair Maven / Gradle / Ivy
package fish.focus.schema.exchange.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.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 ExchangeListCriteriaPair complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="ExchangeListCriteriaPair">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="key" type="{urn:exchange.schema.focus.fish:v1}SearchField"/>
* <element name="value" type="{http://www.w3.org/2001/XMLSchema}string"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "ExchangeListCriteriaPair", propOrder = {
"key",
"value"
})
public class ExchangeListCriteriaPair
implements Serializable
{
private final static long serialVersionUID = 1L;
@XmlElement(required = true)
@XmlSchemaType(name = "string")
protected SearchField key;
@XmlElement(required = true)
protected String value;
/**
* Gets the value of the key property.
*
* @return
* possible object is
* {@link SearchField }
*
*/
public SearchField getKey() {
return key;
}
/**
* Sets the value of the key property.
*
* @param value
* allowed object is
* {@link SearchField }
*
*/
public void setKey(SearchField value) {
this.key = value;
}
/**
* Gets the value of the value property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getValue() {
return value;
}
/**
* Sets the value of the value property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setValue(String value) {
this.value = 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);
}
}