public class SearchCriteriaExtension extends SearchCriteria
Modifier and Type | Field and Description |
---|---|
protected Boolean |
isCaseInsensitive |
protected SearchMode |
mode |
protected String |
value |
Constructor and Description |
---|
SearchCriteriaExtension()
Serializable Constructor
|
SearchCriteriaExtension(SearchMode mode,
String value,
Boolean isCaseInsensitive) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
static Element |
formRequest(Request<?> request,
SearchCriteriaExtension datatype,
String elementName)
Appends this DataType to the given Request
|
static SearchCriteriaExtension[] |
getArrayFromNode(Node node,
String elementName)
Retrieves an array of elements of type SearchCriteriaExtension by parsing the XML node.
|
String |
getClassName() |
static SearchCriteriaExtension |
getFromNode(Node node)
Retrieves an elements of type SearchCriteriaExtension by parsing an XML node.
|
Boolean |
getIsCaseInsensitive() |
SearchMode |
getMode() |
String |
getValue() |
int |
hashCode() |
SearchCriteriaExtension |
setIsCaseInsensitive(Boolean isCaseInsensitive) |
SearchCriteriaExtension |
setMode(SearchMode mode) |
SearchCriteriaExtension |
setValue(String value) |
formRequest
@NotNull protected SearchMode mode
@NotNull @Size(min=1, max=20) protected String value
@NotNull protected Boolean isCaseInsensitive
public SearchCriteriaExtension(SearchMode mode, String value, Boolean isCaseInsensitive)
public SearchCriteriaExtension()
public String getClassName()
public SearchMode getMode()
public SearchCriteriaExtension setMode(SearchMode mode)
public String getValue()
public SearchCriteriaExtension setValue(String value)
public Boolean getIsCaseInsensitive()
public SearchCriteriaExtension setIsCaseInsensitive(Boolean isCaseInsensitive)
@GwtIncompatible public static Element formRequest(Request<?> request, SearchCriteriaExtension datatype, String elementName)
request
- The request to append the DataType to.datatype
- The datatype to parse.@GwtIncompatible public static SearchCriteriaExtension getFromNode(Node node)
node
- The source node to parse.@GwtIncompatible public static SearchCriteriaExtension[] 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 SearchCriteria
public int hashCode()
hashCode
in class SearchCriteria
Copyright © 2017 ECG. All rights reserved.