Class OrParameter<T extends IQueryParameter>
- java.lang.Object
-
- com.ibm.fhir.cql.engine.searchparam.OrParameter<T>
-
- All Implemented Interfaces:
IQueryParameterOr<T>
public class OrParameter<T extends IQueryParameter> extends java.lang.Object implements IQueryParameterOr<T>
-
-
Constructor Summary
Constructors Constructor Description OrParameter()
OrParameter(SearchConstants.Modifier modifier, java.util.List<T> parts)
OrParameter(java.util.List<T> parts)
OrParameter(T... parts)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addOr(T part)
SearchConstants.Modifier
getModifier()
java.lang.String
getName()
java.util.List<T>
getParameterValues()
java.util.List<T>
getParts()
void
setModifier(SearchConstants.Modifier modifier)
void
setName(java.lang.String name)
void
setParts(java.util.List<T> parts)
-
-
-
Constructor Detail
-
OrParameter
public OrParameter()
-
OrParameter
public OrParameter(java.util.List<T> parts)
-
OrParameter
public OrParameter(SearchConstants.Modifier modifier, java.util.List<T> parts)
-
OrParameter
@SafeVarargs public OrParameter(T... parts)
-
-
Method Detail
-
getName
public java.lang.String getName()
-
setName
public void setName(java.lang.String name)
-
getModifier
public SearchConstants.Modifier getModifier()
-
setModifier
public void setModifier(SearchConstants.Modifier modifier)
-
getParts
public java.util.List<T> getParts()
-
setParts
public void setParts(java.util.List<T> parts)
-
addOr
public void addOr(T part)
-
getParameterValues
public java.util.List<T> getParameterValues()
- Specified by:
getParameterValues
in interfaceIQueryParameterOr<T extends IQueryParameter>
-
-