Class CodeFilterElement
- java.lang.Object
-
- org.opencds.cqf.cql.engine.elm.execution.Executable
-
- org.cqframework.cql.elm.execution.Element
-
- org.cqframework.cql.elm.execution.CodeFilterElement
-
- All Implemented Interfaces:
org.jvnet.jaxb2_commons.lang.Equals2,org.jvnet.jaxb2_commons.lang.HashCode2,org.jvnet.jaxb2_commons.lang.ToString2
public class CodeFilterElement extends Element implements org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2, org.jvnet.jaxb2_commons.lang.ToString2
The CodeFilterElement type specifies a terminology filter criteria for use within a retrieve, specified as either [property] [comparator] [value] or [search] [comparator] [value].Java class for CodeFilterElement complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="CodeFilterElement"> <complexContent> <extension base="{urn:hl7-org:elm:r1}Element"> <sequence> <element name="value" type="{urn:hl7-org:elm:r1}Expression"/> </sequence> <attribute name="property" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="valueSetProperty" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="search" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="comparator" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> </extension> </complexContent> </complexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.Stringcomparatorprotected java.lang.Stringpropertyprotected java.lang.Stringsearchprotected Expressionvalueprotected java.lang.StringvalueSetProperty-
Fields inherited from class org.cqframework.cql.elm.execution.Element
annotation, localId, locator, resultTypeName, resultTypeSpecifier
-
-
Constructor Summary
Constructors Constructor Description CodeFilterElement()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringBuilderappend(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, java.lang.StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)java.lang.StringBuilderappendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, java.lang.StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)booleanequals(java.lang.Object object)booleanequals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, java.lang.Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy)java.lang.StringgetComparator()Gets the value of the comparator property.java.lang.StringgetProperty()Gets the value of the property property.java.lang.StringgetSearch()Gets the value of the search property.ExpressiongetValue()Gets the value of the value property.java.lang.StringgetValueSetProperty()Gets the value of the valueSetProperty property.inthashCode()inthashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)voidsetComparator(java.lang.String value)Sets the value of the comparator property.voidsetProperty(java.lang.String value)Sets the value of the property property.voidsetSearch(java.lang.String value)Sets the value of the search property.voidsetValue(Expression value)Sets the value of the value property.voidsetValueSetProperty(java.lang.String value)Sets the value of the valueSetProperty property.java.lang.StringtoString()CodeFilterElementwithAnnotation(java.util.Collection<CqlToElmBase> values)CodeFilterElementwithAnnotation(CqlToElmBase... values)CodeFilterElementwithComparator(java.lang.String value)CodeFilterElementwithLocalId(java.lang.String value)CodeFilterElementwithLocator(java.lang.String value)CodeFilterElementwithProperty(java.lang.String value)CodeFilterElementwithResultTypeName(javax.xml.namespace.QName value)CodeFilterElementwithResultTypeSpecifier(TypeSpecifier value)CodeFilterElementwithSearch(java.lang.String value)CodeFilterElementwithValue(Expression value)CodeFilterElementwithValueSetProperty(java.lang.String value)-
Methods inherited from class org.cqframework.cql.elm.execution.Element
getAnnotation, getLocalId, getLocator, getResultTypeName, getResultTypeSpecifier, setLocalId, setLocator, setResultTypeName, setResultTypeSpecifier
-
Methods inherited from class org.opencds.cqf.cql.engine.elm.execution.Executable
evaluate, internalEvaluate
-
-
-
-
Field Detail
-
value
protected Expression value
-
property
protected java.lang.String property
-
valueSetProperty
protected java.lang.String valueSetProperty
-
search
protected java.lang.String search
-
comparator
protected java.lang.String comparator
-
-
Method Detail
-
getValue
public Expression getValue()
Gets the value of the value property.- Returns:
- possible object is
Expression
-
setValue
public void setValue(Expression value)
Sets the value of the value property.- Parameters:
value- allowed object isExpression
-
getProperty
public java.lang.String getProperty()
Gets the value of the property property.- Returns:
- possible object is
String
-
setProperty
public void setProperty(java.lang.String value)
Sets the value of the property property.- Parameters:
value- allowed object isString
-
getValueSetProperty
public java.lang.String getValueSetProperty()
Gets the value of the valueSetProperty property.- Returns:
- possible object is
String
-
setValueSetProperty
public void setValueSetProperty(java.lang.String value)
Sets the value of the valueSetProperty property.- Parameters:
value- allowed object isString
-
getSearch
public java.lang.String getSearch()
Gets the value of the search property.- Returns:
- possible object is
String
-
setSearch
public void setSearch(java.lang.String value)
Sets the value of the search property.- Parameters:
value- allowed object isString
-
getComparator
public java.lang.String getComparator()
Gets the value of the comparator property.- Returns:
- possible object is
String
-
setComparator
public void setComparator(java.lang.String value)
Sets the value of the comparator property.- Parameters:
value- allowed object isString
-
withValue
public CodeFilterElement withValue(Expression value)
-
withProperty
public CodeFilterElement withProperty(java.lang.String value)
-
withValueSetProperty
public CodeFilterElement withValueSetProperty(java.lang.String value)
-
withSearch
public CodeFilterElement withSearch(java.lang.String value)
-
withComparator
public CodeFilterElement withComparator(java.lang.String value)
-
withAnnotation
public CodeFilterElement withAnnotation(CqlToElmBase... values)
- Overrides:
withAnnotationin classElement
-
withAnnotation
public CodeFilterElement withAnnotation(java.util.Collection<CqlToElmBase> values)
- Overrides:
withAnnotationin classElement
-
withResultTypeSpecifier
public CodeFilterElement withResultTypeSpecifier(TypeSpecifier value)
- Overrides:
withResultTypeSpecifierin classElement
-
withLocalId
public CodeFilterElement withLocalId(java.lang.String value)
- Overrides:
withLocalIdin classElement
-
withLocator
public CodeFilterElement withLocator(java.lang.String value)
- Overrides:
withLocatorin classElement
-
withResultTypeName
public CodeFilterElement withResultTypeName(javax.xml.namespace.QName value)
- Overrides:
withResultTypeNamein classElement
-
equals
public boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, java.lang.Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy)
-
hashCode
public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)
-
append
public java.lang.StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, java.lang.StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)
-
appendFields
public java.lang.StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, java.lang.StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)- Specified by:
appendFieldsin interfaceorg.jvnet.jaxb2_commons.lang.ToString2- Overrides:
appendFieldsin classElement
-
-