Class QueryList<T>
- java.lang.Object
-
- org.openehealth.ipf.commons.ihe.xds.core.requests.query.QueryList<T>
-
- Type Parameters:
T
- The type contained in the list.
- All Implemented Interfaces:
Serializable
public class QueryList<T> extends Object implements Serializable
Represents a list of query parameters.The list allows AND and OR semantics via two levels of lists. The inner lists of parameters have OR semantics. The outer list contains the inner lists and uses AND semantics. E.g. the query list
(a, b), (c, d)
contains two inner lists and the parameters are evaluated (a OR b) AND (c OR d).- Author:
- Jens Riemschneider
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
canEqual(Object other)
boolean
equals(Object o)
List<List<T>>
getOuterList()
int
hashCode()
String
toString()
-
-
-
Constructor Detail
-
QueryList
public QueryList()
Constructs a query list.
-
QueryList
public QueryList(QueryList<T> other)
Constructs a query list using another list.This constructor does not clone the objects in the list.
- Parameters:
other
- the other list.
-
QueryList
public QueryList(T singleElement)
Constructs a query list.- Parameters:
singleElement
- the only initial element in the list.
-
-
Method Detail
-
canEqual
protected boolean canEqual(Object other)
-
-