All Downloads are FREE. Search and download functionalities are using the official Maven repository.

fish.focus.schema.exchange.v1.Sorting 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 Sorting complex type. * *

The following schema fragment specifies the expected content contained within this class. * *

 * <complexType name="Sorting">
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <sequence>
 *         <element name="sortBy" type="{urn:exchange.schema.focus.fish:v1}SortField"/>
 *         <element name="reversed" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
 *       </sequence>
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "Sorting", propOrder = { "sortBy", "reversed" }) public class Sorting implements Serializable { private final static long serialVersionUID = 1L; @XmlElement(required = true) @XmlSchemaType(name = "string") protected SortField sortBy; protected boolean reversed; /** * Gets the value of the sortBy property. * * @return * possible object is * {@link SortField } * */ public SortField getSortBy() { return sortBy; } /** * Sets the value of the sortBy property. * * @param value * allowed object is * {@link SortField } * */ public void setSortBy(SortField value) { this.sortBy = value; } /** * Gets the value of the reversed property. * */ public boolean isReversed() { return reversed; } /** * Sets the value of the reversed property. * */ public void setReversed(boolean value) { this.reversed = 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); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy