public class FindOrder extends Object implements Serializable
| Constructor and Description |
|---|
FindOrder(String propertyName,
boolean ascending)
Create a new FindOrder for the given property and ordering direction.
|
| Modifier and Type | Method and Description |
|---|---|
static FindOrder |
asc(String propertyName)
Create a new ascending FindOrder for the given property.
|
static FindOrder |
desc(String propertyName)
Create a new descending FindOrder for the given property.
|
boolean |
getAscending() |
boolean |
getIgnoreCase() |
String |
getPropertyName() |
void |
setAscending(boolean ascending)
True if ascending order by the given property.
|
void |
setIgnoreCase(boolean ignoreCase)
True if case insensitive ordering.
|
void |
setPropertyName(String propertyName)
The name of the property to order by.
|
public FindOrder(String propertyName, boolean ascending)
propertyName - (missing javadoc)ascending - (missing javadoc)public static FindOrder asc(String propertyName)
propertyName - (missing javadoc)public static FindOrder desc(String propertyName)
propertyName - (missing javadoc)public boolean getAscending()
public void setAscending(boolean ascending)
ascending - The ascending to set.public String getPropertyName()
public void setPropertyName(String propertyName)
propertyName - The propertyName to set.public boolean getIgnoreCase()
public void setIgnoreCase(boolean ignoreCase)
ignoreCase - The ignoreCase to set.Copyright © 2006–2020 Esito AS. All rights reserved.