T
- the type of QueryElement
s in the collectionpublic abstract class StandardQueryElementCollection<T extends QueryElement> extends QueryElementCollection<T>
QueryElementCollection
that follows a more standard way of converting to a query stringelements
Modifier | Constructor and Description |
---|---|
protected |
StandardQueryElementCollection() |
protected |
StandardQueryElementCollection(String delimeter) |
protected |
StandardQueryElementCollection(String delimeter,
Collection<T> collection) |
protected |
StandardQueryElementCollection(String operatorName,
java.util.function.Function<String,String> wrapperMethod) |
protected |
StandardQueryElementCollection(String operatorName,
String delimeter) |
protected |
StandardQueryElementCollection(String operatorName,
String delimiter,
Collection<T> collection) |
protected |
StandardQueryElementCollection(String operatorName,
String delimiter,
java.util.function.Function<String,String> wrapperMethod,
Collection<T> collection) |
Modifier and Type | Method and Description |
---|---|
String |
getQueryString() |
protected void |
printBodyIfEmpty(boolean printBodyIfEmpty) |
protected void |
printNameIfEmpty(boolean printNameIfEmpty) |
protected void |
resetWrapperMethod() |
protected void |
setOperatorName(String operatorName) |
protected void |
setOperatorName(String operatorName,
boolean pad) |
protected void |
setWrapperMethod(java.util.function.Function<String,String> wrapperMethod) |
addElements, addElements, isEmpty
protected StandardQueryElementCollection()
protected StandardQueryElementCollection(String delimeter)
protected StandardQueryElementCollection(String operatorName, String delimeter)
protected StandardQueryElementCollection(String delimeter, Collection<T> collection)
protected StandardQueryElementCollection(String operatorName, java.util.function.Function<String,String> wrapperMethod)
protected StandardQueryElementCollection(String operatorName, String delimiter, Collection<T> collection)
protected StandardQueryElementCollection(String operatorName, String delimiter, java.util.function.Function<String,String> wrapperMethod, Collection<T> collection)
protected void setOperatorName(String operatorName)
protected void setOperatorName(String operatorName, boolean pad)
protected void setWrapperMethod(java.util.function.Function<String,String> wrapperMethod)
protected void resetWrapperMethod()
protected void printBodyIfEmpty(boolean printBodyIfEmpty)
protected void printNameIfEmpty(boolean printNameIfEmpty)
public String getQueryString()
getQueryString
in interface QueryElement
getQueryString
in class QueryElementCollection<T extends QueryElement>
Copyright © 2015-2022 Eclipse Foundation. All Rights Reserved.