public class SortByExtension extends SortCriteria
Modifier and Type | Field and Description |
---|---|
protected Boolean |
isAscending |
protected Boolean |
isCaseSensitive |
Constructor and Description |
---|
SortByExtension()
Serializable Constructor
|
SortByExtension(Boolean isAscending,
Boolean isCaseSensitive) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
static Element |
formRequest(Request<?> request,
SortByExtension datatype,
String elementName)
Appends this DataType to the given Request
|
static SortByExtension[] |
getArrayFromNode(Node node,
String elementName)
Retrieves an array of elements of type SortByExtension by parsing the XML node.
|
String |
getClassName() |
static SortByExtension |
getFromNode(Node node)
Retrieves an elements of type SortByExtension by parsing an XML node.
|
Boolean |
getIsAscending() |
Boolean |
getIsCaseSensitive() |
int |
hashCode() |
SortCriteria |
setIsAscending(Boolean isAscending) |
SortCriteria |
setIsCaseSensitive(Boolean isCaseSensitive) |
formRequest
@NotNull protected Boolean isAscending
@NotNull protected Boolean isCaseSensitive
public String getClassName()
public Boolean getIsAscending()
getIsAscending
in class SortCriteria
public SortCriteria setIsAscending(Boolean isAscending)
setIsAscending
in class SortCriteria
public Boolean getIsCaseSensitive()
getIsCaseSensitive
in class SortCriteria
public SortCriteria setIsCaseSensitive(Boolean isCaseSensitive)
setIsCaseSensitive
in class SortCriteria
@GwtIncompatible public static Element formRequest(Request<?> request, SortByExtension datatype, String elementName)
request
- The request to append the DataType to.datatype
- The datatype to parse.@GwtIncompatible public static SortByExtension getFromNode(Node node)
node
- The source node to parse.@GwtIncompatible public static SortByExtension[] getArrayFromNode(Node node, String elementName)
node
- The source node to retrieve the array.elementName
- The element name to iterate through.public boolean equals(Object o)
equals
in class SortCriteria
public int hashCode()
hashCode
in class SortCriteria
Copyright © 2016 ECG. All rights reserved.