public class SpecificationOrder extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
SpecificationOrder.Order
Provides a sort order to the query.
|
| Constructor and Description |
|---|
SpecificationOrder()
Constructor.
|
SpecificationOrder(String property,
SpecificationOrder.Order order) |
SpecificationOrder(String specificationName,
String property,
SpecificationOrder.Order order) |
| Modifier and Type | Method and Description |
|---|---|
SpecificationOrder.Order |
getOrder()
Sets the sort order.
|
String |
getProperty() |
String |
getSpecificationName()
Getter specificationName
|
void |
setOrder(SpecificationOrder.Order order)
Gets the sort order.
|
void |
setProperty(String property) |
void |
setSpecificationName(String specificationName)
Setter specificationName
|
public SpecificationOrder()
public SpecificationOrder(String specificationName, String property, SpecificationOrder.Order order)
specificationName - used to specify the name of the specification if you're using NamedSpecificationproperty - order - the sort orderpublic SpecificationOrder(String property, SpecificationOrder.Order order)
property - order - the sort orderpublic String getProperty()
public void setProperty(String property)
public SpecificationOrder.Order getOrder()
public void setOrder(SpecificationOrder.Order order)
order - the sort orderpublic String getSpecificationName()
public void setSpecificationName(String specificationName)
specificationName - the specificationName to setCopyright © 2013-2015–2015. All rights reserved.