All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.cqframework.cql.elm.execution.Retrieve Maven / Gradle / Ivy

//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.4.0-b180830.0438 
// See https://javaee.github.io/jaxb-v2/ 
// Any modifications to this file will be lost upon recompilation of the source schema. 
// Generated on: 2023.07.14 at 09:08:04 AM MDT 
//


package org.cqframework.cql.elm.execution;

import java.util.ArrayList;
import java.util.Collection;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;
import javax.xml.namespace.QName;
import org.jvnet.jaxb2_commons.lang.Equals2;
import org.jvnet.jaxb2_commons.lang.EqualsStrategy2;
import org.jvnet.jaxb2_commons.lang.HashCode2;
import org.jvnet.jaxb2_commons.lang.HashCodeStrategy2;
import org.jvnet.jaxb2_commons.lang.JAXBEqualsStrategy;
import org.jvnet.jaxb2_commons.lang.JAXBHashCodeStrategy;
import org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy;
import org.jvnet.jaxb2_commons.lang.ToString2;
import org.jvnet.jaxb2_commons.lang.ToStringStrategy2;
import org.jvnet.jaxb2_commons.locator.ObjectLocator;
import org.jvnet.jaxb2_commons.locator.util.LocatorUtils;


/**
 * The retrieve expression defines clinical data that will be used by the artifact. This expression allows clinically relevant filtering criteria to be provided in a well-defined and computable way. This operation defines the integration boundary for artifacts. The result of a retrieve is defined to return the same data for subsequent invocations within the same evaluation request. This means in particular that patient data updates made during the evaluation request are not visible to the artifact. In effect, the patient data is a snapshot of the data as of the start of the evaluation. This ensures strict deterministic and functional behavior of the artifact, and allows the implementation engine freedom to cache intermediate results in order to improve performance.
 * 
 * 

Java class for Retrieve complex type. * *

The following schema fragment specifies the expected content contained within this class. * *

 * <complexType name="Retrieve">
 *   <complexContent>
 *     <extension base="{urn:hl7-org:elm:r1}Expression">
 *       <sequence>
 *         <element name="id" type="{urn:hl7-org:elm:r1}Expression" minOccurs="0"/>
 *         <element name="codes" type="{urn:hl7-org:elm:r1}Expression" minOccurs="0"/>
 *         <element name="dateRange" type="{urn:hl7-org:elm:r1}Expression" minOccurs="0"/>
 *         <element name="context" type="{urn:hl7-org:elm:r1}Expression" minOccurs="0"/>
 *         <element name="include" type="{urn:hl7-org:elm:r1}IncludeElement" maxOccurs="unbounded" minOccurs="0"/>
 *         <element name="codeFilter" type="{urn:hl7-org:elm:r1}CodeFilterElement" maxOccurs="unbounded" minOccurs="0"/>
 *         <element name="dateFilter" type="{urn:hl7-org:elm:r1}DateFilterElement" maxOccurs="unbounded" minOccurs="0"/>
 *         <element name="otherFilter" type="{urn:hl7-org:elm:r1}OtherFilterElement" maxOccurs="unbounded" minOccurs="0"/>
 *       </sequence>
 *       <attribute name="dataType" use="required" type="{http://www.w3.org/2001/XMLSchema}QName" />
 *       <attribute name="templateId" type="{http://www.w3.org/2001/XMLSchema}string" />
 *       <attribute name="idProperty" type="{http://www.w3.org/2001/XMLSchema}string" />
 *       <attribute name="idSearch" type="{http://www.w3.org/2001/XMLSchema}string" />
 *       <attribute name="contextProperty" type="{http://www.w3.org/2001/XMLSchema}string" />
 *       <attribute name="contextSearch" type="{http://www.w3.org/2001/XMLSchema}string" />
 *       <attribute name="codeProperty" type="{http://www.w3.org/2001/XMLSchema}string" />
 *       <attribute name="codeSearch" type="{http://www.w3.org/2001/XMLSchema}string" />
 *       <attribute name="codeComparator" type="{http://www.w3.org/2001/XMLSchema}string" />
 *       <attribute name="valueSetProperty" type="{http://www.w3.org/2001/XMLSchema}string" />
 *       <attribute name="dateProperty" type="{http://www.w3.org/2001/XMLSchema}string" />
 *       <attribute name="dateLowProperty" type="{http://www.w3.org/2001/XMLSchema}string" />
 *       <attribute name="dateHighProperty" type="{http://www.w3.org/2001/XMLSchema}string" />
 *       <attribute name="dateSearch" type="{http://www.w3.org/2001/XMLSchema}string" />
 *       <attribute name="includedIn" type="{http://www.w3.org/2001/XMLSchema}string" />
 *     </extension>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "Retrieve", namespace = "urn:hl7-org:elm:r1", propOrder = { "id", "codes", "dateRange", "context", "include", "codeFilter", "dateFilter", "otherFilter" }) public class Retrieve extends Expression implements Equals2, HashCode2, ToString2 { @XmlElement(namespace = "urn:hl7-org:elm:r1") protected Expression id; @XmlElement(namespace = "urn:hl7-org:elm:r1") protected Expression codes; @XmlElement(namespace = "urn:hl7-org:elm:r1") protected Expression dateRange; @XmlElement(namespace = "urn:hl7-org:elm:r1") protected Expression context; @XmlElement(namespace = "urn:hl7-org:elm:r1") protected List include; @XmlElement(namespace = "urn:hl7-org:elm:r1") protected List codeFilter; @XmlElement(namespace = "urn:hl7-org:elm:r1") protected List dateFilter; @XmlElement(namespace = "urn:hl7-org:elm:r1") protected List otherFilter; @XmlAttribute(name = "dataType", required = true) protected QName dataType; @XmlAttribute(name = "templateId") protected String templateId; @XmlAttribute(name = "idProperty") protected String idProperty; @XmlAttribute(name = "idSearch") protected String idSearch; @XmlAttribute(name = "contextProperty") protected String contextProperty; @XmlAttribute(name = "contextSearch") protected String contextSearch; @XmlAttribute(name = "codeProperty") protected String codeProperty; @XmlAttribute(name = "codeSearch") protected String codeSearch; @XmlAttribute(name = "codeComparator") protected String codeComparator; @XmlAttribute(name = "valueSetProperty") protected String valueSetProperty; @XmlAttribute(name = "dateProperty") protected String dateProperty; @XmlAttribute(name = "dateLowProperty") protected String dateLowProperty; @XmlAttribute(name = "dateHighProperty") protected String dateHighProperty; @XmlAttribute(name = "dateSearch") protected String dateSearch; @XmlAttribute(name = "includedIn") protected String includedIn; /** * Gets the value of the id property. * * @return * possible object is * {@link Expression } * */ public Expression getId() { return id; } /** * Sets the value of the id property. * * @param value * allowed object is * {@link Expression } * */ public void setId(Expression value) { this.id = value; } /** * Gets the value of the codes property. * * @return * possible object is * {@link Expression } * */ public Expression getCodes() { return codes; } /** * Sets the value of the codes property. * * @param value * allowed object is * {@link Expression } * */ public void setCodes(Expression value) { this.codes = value; } /** * Gets the value of the dateRange property. * * @return * possible object is * {@link Expression } * */ public Expression getDateRange() { return dateRange; } /** * Sets the value of the dateRange property. * * @param value * allowed object is * {@link Expression } * */ public void setDateRange(Expression value) { this.dateRange = value; } /** * Gets the value of the context property. * * @return * possible object is * {@link Expression } * */ public Expression getContext() { return context; } /** * Sets the value of the context property. * * @param value * allowed object is * {@link Expression } * */ public void setContext(Expression value) { this.context = value; } /** * Gets the value of the include property. * *

* This accessor method returns a reference to the live list, * not a snapshot. Therefore any modification you make to the * returned list will be present inside the JAXB object. * This is why there is not a set method for the include property. * *

* For example, to add a new item, do as follows: *

     *    getInclude().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link IncludeElement } * * */ public List getInclude() { if (include == null) { include = new ArrayList(); } return this.include; } /** * Gets the value of the codeFilter property. * *

* This accessor method returns a reference to the live list, * not a snapshot. Therefore any modification you make to the * returned list will be present inside the JAXB object. * This is why there is not a set method for the codeFilter property. * *

* For example, to add a new item, do as follows: *

     *    getCodeFilter().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link CodeFilterElement } * * */ public List getCodeFilter() { if (codeFilter == null) { codeFilter = new ArrayList(); } return this.codeFilter; } /** * Gets the value of the dateFilter property. * *

* This accessor method returns a reference to the live list, * not a snapshot. Therefore any modification you make to the * returned list will be present inside the JAXB object. * This is why there is not a set method for the dateFilter property. * *

* For example, to add a new item, do as follows: *

     *    getDateFilter().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link DateFilterElement } * * */ public List getDateFilter() { if (dateFilter == null) { dateFilter = new ArrayList(); } return this.dateFilter; } /** * Gets the value of the otherFilter property. * *

* This accessor method returns a reference to the live list, * not a snapshot. Therefore any modification you make to the * returned list will be present inside the JAXB object. * This is why there is not a set method for the otherFilter property. * *

* For example, to add a new item, do as follows: *

     *    getOtherFilter().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link OtherFilterElement } * * */ public List getOtherFilter() { if (otherFilter == null) { otherFilter = new ArrayList(); } return this.otherFilter; } /** * Gets the value of the dataType property. * * @return * possible object is * {@link QName } * */ public QName getDataType() { return dataType; } /** * Sets the value of the dataType property. * * @param value * allowed object is * {@link QName } * */ public void setDataType(QName value) { this.dataType = value; } /** * Gets the value of the templateId property. * * @return * possible object is * {@link String } * */ public String getTemplateId() { return templateId; } /** * Sets the value of the templateId property. * * @param value * allowed object is * {@link String } * */ public void setTemplateId(String value) { this.templateId = value; } /** * Gets the value of the idProperty property. * * @return * possible object is * {@link String } * */ public String getIdProperty() { return idProperty; } /** * Sets the value of the idProperty property. * * @param value * allowed object is * {@link String } * */ public void setIdProperty(String value) { this.idProperty = value; } /** * Gets the value of the idSearch property. * * @return * possible object is * {@link String } * */ public String getIdSearch() { return idSearch; } /** * Sets the value of the idSearch property. * * @param value * allowed object is * {@link String } * */ public void setIdSearch(String value) { this.idSearch = value; } /** * Gets the value of the contextProperty property. * * @return * possible object is * {@link String } * */ public String getContextProperty() { return contextProperty; } /** * Sets the value of the contextProperty property. * * @param value * allowed object is * {@link String } * */ public void setContextProperty(String value) { this.contextProperty = value; } /** * Gets the value of the contextSearch property. * * @return * possible object is * {@link String } * */ public String getContextSearch() { return contextSearch; } /** * Sets the value of the contextSearch property. * * @param value * allowed object is * {@link String } * */ public void setContextSearch(String value) { this.contextSearch = value; } /** * Gets the value of the codeProperty property. * * @return * possible object is * {@link String } * */ public String getCodeProperty() { return codeProperty; } /** * Sets the value of the codeProperty property. * * @param value * allowed object is * {@link String } * */ public void setCodeProperty(String value) { this.codeProperty = value; } /** * Gets the value of the codeSearch property. * * @return * possible object is * {@link String } * */ public String getCodeSearch() { return codeSearch; } /** * Sets the value of the codeSearch property. * * @param value * allowed object is * {@link String } * */ public void setCodeSearch(String value) { this.codeSearch = value; } /** * Gets the value of the codeComparator property. * * @return * possible object is * {@link String } * */ public String getCodeComparator() { return codeComparator; } /** * Sets the value of the codeComparator property. * * @param value * allowed object is * {@link String } * */ public void setCodeComparator(String value) { this.codeComparator = value; } /** * Gets the value of the valueSetProperty property. * * @return * possible object is * {@link String } * */ public String getValueSetProperty() { return valueSetProperty; } /** * Sets the value of the valueSetProperty property. * * @param value * allowed object is * {@link String } * */ public void setValueSetProperty(String value) { this.valueSetProperty = value; } /** * Gets the value of the dateProperty property. * * @return * possible object is * {@link String } * */ public String getDateProperty() { return dateProperty; } /** * Sets the value of the dateProperty property. * * @param value * allowed object is * {@link String } * */ public void setDateProperty(String value) { this.dateProperty = value; } /** * Gets the value of the dateLowProperty property. * * @return * possible object is * {@link String } * */ public String getDateLowProperty() { return dateLowProperty; } /** * Sets the value of the dateLowProperty property. * * @param value * allowed object is * {@link String } * */ public void setDateLowProperty(String value) { this.dateLowProperty = value; } /** * Gets the value of the dateHighProperty property. * * @return * possible object is * {@link String } * */ public String getDateHighProperty() { return dateHighProperty; } /** * Sets the value of the dateHighProperty property. * * @param value * allowed object is * {@link String } * */ public void setDateHighProperty(String value) { this.dateHighProperty = value; } /** * Gets the value of the dateSearch property. * * @return * possible object is * {@link String } * */ public String getDateSearch() { return dateSearch; } /** * Sets the value of the dateSearch property. * * @param value * allowed object is * {@link String } * */ public void setDateSearch(String value) { this.dateSearch = value; } /** * Gets the value of the includedIn property. * * @return * possible object is * {@link String } * */ public String getIncludedIn() { return includedIn; } /** * Sets the value of the includedIn property. * * @param value * allowed object is * {@link String } * */ public void setIncludedIn(String value) { this.includedIn = value; } public Retrieve withId(Expression value) { setId(value); return this; } public Retrieve withCodes(Expression value) { setCodes(value); return this; } public Retrieve withDateRange(Expression value) { setDateRange(value); return this; } public Retrieve withContext(Expression value) { setContext(value); return this; } public Retrieve withInclude(IncludeElement... values) { if (values!= null) { for (IncludeElement value: values) { getInclude().add(value); } } return this; } public Retrieve withInclude(Collection values) { if (values!= null) { getInclude().addAll(values); } return this; } public Retrieve withCodeFilter(CodeFilterElement... values) { if (values!= null) { for (CodeFilterElement value: values) { getCodeFilter().add(value); } } return this; } public Retrieve withCodeFilter(Collection values) { if (values!= null) { getCodeFilter().addAll(values); } return this; } public Retrieve withDateFilter(DateFilterElement... values) { if (values!= null) { for (DateFilterElement value: values) { getDateFilter().add(value); } } return this; } public Retrieve withDateFilter(Collection values) { if (values!= null) { getDateFilter().addAll(values); } return this; } public Retrieve withOtherFilter(OtherFilterElement... values) { if (values!= null) { for (OtherFilterElement value: values) { getOtherFilter().add(value); } } return this; } public Retrieve withOtherFilter(Collection values) { if (values!= null) { getOtherFilter().addAll(values); } return this; } public Retrieve withDataType(QName value) { setDataType(value); return this; } public Retrieve withTemplateId(String value) { setTemplateId(value); return this; } public Retrieve withIdProperty(String value) { setIdProperty(value); return this; } public Retrieve withIdSearch(String value) { setIdSearch(value); return this; } public Retrieve withContextProperty(String value) { setContextProperty(value); return this; } public Retrieve withContextSearch(String value) { setContextSearch(value); return this; } public Retrieve withCodeProperty(String value) { setCodeProperty(value); return this; } public Retrieve withCodeSearch(String value) { setCodeSearch(value); return this; } public Retrieve withCodeComparator(String value) { setCodeComparator(value); return this; } public Retrieve withValueSetProperty(String value) { setValueSetProperty(value); return this; } public Retrieve withDateProperty(String value) { setDateProperty(value); return this; } public Retrieve withDateLowProperty(String value) { setDateLowProperty(value); return this; } public Retrieve withDateHighProperty(String value) { setDateHighProperty(value); return this; } public Retrieve withDateSearch(String value) { setDateSearch(value); return this; } public Retrieve withIncludedIn(String value) { setIncludedIn(value); return this; } @Override public Retrieve withAnnotation(CqlToElmBase... values) { if (values!= null) { for (CqlToElmBase value: values) { getAnnotation().add(value); } } return this; } @Override public Retrieve withAnnotation(Collection values) { if (values!= null) { getAnnotation().addAll(values); } return this; } @Override public Retrieve withResultTypeSpecifier(TypeSpecifier value) { setResultTypeSpecifier(value); return this; } @Override public Retrieve withLocalId(String value) { setLocalId(value); return this; } @Override public Retrieve withLocator(String value) { setLocator(value); return this; } @Override public Retrieve withResultTypeName(QName value) { setResultTypeName(value); return this; } @Override public boolean equals(ObjectLocator thisLocator, ObjectLocator thatLocator, Object object, EqualsStrategy2 strategy) { if ((object == null)||(this.getClass()!= object.getClass())) { return false; } if (this == object) { return true; } if (!super.equals(thisLocator, thatLocator, object, strategy)) { return false; } final Retrieve that = ((Retrieve) object); { Expression lhsId; lhsId = this.getId(); Expression rhsId; rhsId = that.getId(); if (!strategy.equals(LocatorUtils.property(thisLocator, "id", lhsId), LocatorUtils.property(thatLocator, "id", rhsId), lhsId, rhsId, (this.id!= null), (that.id!= null))) { return false; } } { Expression lhsCodes; lhsCodes = this.getCodes(); Expression rhsCodes; rhsCodes = that.getCodes(); if (!strategy.equals(LocatorUtils.property(thisLocator, "codes", lhsCodes), LocatorUtils.property(thatLocator, "codes", rhsCodes), lhsCodes, rhsCodes, (this.codes!= null), (that.codes!= null))) { return false; } } { Expression lhsDateRange; lhsDateRange = this.getDateRange(); Expression rhsDateRange; rhsDateRange = that.getDateRange(); if (!strategy.equals(LocatorUtils.property(thisLocator, "dateRange", lhsDateRange), LocatorUtils.property(thatLocator, "dateRange", rhsDateRange), lhsDateRange, rhsDateRange, (this.dateRange!= null), (that.dateRange!= null))) { return false; } } { Expression lhsContext; lhsContext = this.getContext(); Expression rhsContext; rhsContext = that.getContext(); if (!strategy.equals(LocatorUtils.property(thisLocator, "context", lhsContext), LocatorUtils.property(thatLocator, "context", rhsContext), lhsContext, rhsContext, (this.context!= null), (that.context!= null))) { return false; } } { List lhsInclude; lhsInclude = (((this.include!= null)&&(!this.include.isEmpty()))?this.getInclude():null); List rhsInclude; rhsInclude = (((that.include!= null)&&(!that.include.isEmpty()))?that.getInclude():null); if (!strategy.equals(LocatorUtils.property(thisLocator, "include", lhsInclude), LocatorUtils.property(thatLocator, "include", rhsInclude), lhsInclude, rhsInclude, ((this.include!= null)&&(!this.include.isEmpty())), ((that.include!= null)&&(!that.include.isEmpty())))) { return false; } } { List lhsCodeFilter; lhsCodeFilter = (((this.codeFilter!= null)&&(!this.codeFilter.isEmpty()))?this.getCodeFilter():null); List rhsCodeFilter; rhsCodeFilter = (((that.codeFilter!= null)&&(!that.codeFilter.isEmpty()))?that.getCodeFilter():null); if (!strategy.equals(LocatorUtils.property(thisLocator, "codeFilter", lhsCodeFilter), LocatorUtils.property(thatLocator, "codeFilter", rhsCodeFilter), lhsCodeFilter, rhsCodeFilter, ((this.codeFilter!= null)&&(!this.codeFilter.isEmpty())), ((that.codeFilter!= null)&&(!that.codeFilter.isEmpty())))) { return false; } } { List lhsDateFilter; lhsDateFilter = (((this.dateFilter!= null)&&(!this.dateFilter.isEmpty()))?this.getDateFilter():null); List rhsDateFilter; rhsDateFilter = (((that.dateFilter!= null)&&(!that.dateFilter.isEmpty()))?that.getDateFilter():null); if (!strategy.equals(LocatorUtils.property(thisLocator, "dateFilter", lhsDateFilter), LocatorUtils.property(thatLocator, "dateFilter", rhsDateFilter), lhsDateFilter, rhsDateFilter, ((this.dateFilter!= null)&&(!this.dateFilter.isEmpty())), ((that.dateFilter!= null)&&(!that.dateFilter.isEmpty())))) { return false; } } { List lhsOtherFilter; lhsOtherFilter = (((this.otherFilter!= null)&&(!this.otherFilter.isEmpty()))?this.getOtherFilter():null); List rhsOtherFilter; rhsOtherFilter = (((that.otherFilter!= null)&&(!that.otherFilter.isEmpty()))?that.getOtherFilter():null); if (!strategy.equals(LocatorUtils.property(thisLocator, "otherFilter", lhsOtherFilter), LocatorUtils.property(thatLocator, "otherFilter", rhsOtherFilter), lhsOtherFilter, rhsOtherFilter, ((this.otherFilter!= null)&&(!this.otherFilter.isEmpty())), ((that.otherFilter!= null)&&(!that.otherFilter.isEmpty())))) { return false; } } { QName lhsDataType; lhsDataType = this.getDataType(); QName rhsDataType; rhsDataType = that.getDataType(); if (!strategy.equals(LocatorUtils.property(thisLocator, "dataType", lhsDataType), LocatorUtils.property(thatLocator, "dataType", rhsDataType), lhsDataType, rhsDataType, (this.dataType!= null), (that.dataType!= null))) { return false; } } { String lhsTemplateId; lhsTemplateId = this.getTemplateId(); String rhsTemplateId; rhsTemplateId = that.getTemplateId(); if (!strategy.equals(LocatorUtils.property(thisLocator, "templateId", lhsTemplateId), LocatorUtils.property(thatLocator, "templateId", rhsTemplateId), lhsTemplateId, rhsTemplateId, (this.templateId!= null), (that.templateId!= null))) { return false; } } { String lhsIdProperty; lhsIdProperty = this.getIdProperty(); String rhsIdProperty; rhsIdProperty = that.getIdProperty(); if (!strategy.equals(LocatorUtils.property(thisLocator, "idProperty", lhsIdProperty), LocatorUtils.property(thatLocator, "idProperty", rhsIdProperty), lhsIdProperty, rhsIdProperty, (this.idProperty!= null), (that.idProperty!= null))) { return false; } } { String lhsIdSearch; lhsIdSearch = this.getIdSearch(); String rhsIdSearch; rhsIdSearch = that.getIdSearch(); if (!strategy.equals(LocatorUtils.property(thisLocator, "idSearch", lhsIdSearch), LocatorUtils.property(thatLocator, "idSearch", rhsIdSearch), lhsIdSearch, rhsIdSearch, (this.idSearch!= null), (that.idSearch!= null))) { return false; } } { String lhsContextProperty; lhsContextProperty = this.getContextProperty(); String rhsContextProperty; rhsContextProperty = that.getContextProperty(); if (!strategy.equals(LocatorUtils.property(thisLocator, "contextProperty", lhsContextProperty), LocatorUtils.property(thatLocator, "contextProperty", rhsContextProperty), lhsContextProperty, rhsContextProperty, (this.contextProperty!= null), (that.contextProperty!= null))) { return false; } } { String lhsContextSearch; lhsContextSearch = this.getContextSearch(); String rhsContextSearch; rhsContextSearch = that.getContextSearch(); if (!strategy.equals(LocatorUtils.property(thisLocator, "contextSearch", lhsContextSearch), LocatorUtils.property(thatLocator, "contextSearch", rhsContextSearch), lhsContextSearch, rhsContextSearch, (this.contextSearch!= null), (that.contextSearch!= null))) { return false; } } { String lhsCodeProperty; lhsCodeProperty = this.getCodeProperty(); String rhsCodeProperty; rhsCodeProperty = that.getCodeProperty(); if (!strategy.equals(LocatorUtils.property(thisLocator, "codeProperty", lhsCodeProperty), LocatorUtils.property(thatLocator, "codeProperty", rhsCodeProperty), lhsCodeProperty, rhsCodeProperty, (this.codeProperty!= null), (that.codeProperty!= null))) { return false; } } { String lhsCodeSearch; lhsCodeSearch = this.getCodeSearch(); String rhsCodeSearch; rhsCodeSearch = that.getCodeSearch(); if (!strategy.equals(LocatorUtils.property(thisLocator, "codeSearch", lhsCodeSearch), LocatorUtils.property(thatLocator, "codeSearch", rhsCodeSearch), lhsCodeSearch, rhsCodeSearch, (this.codeSearch!= null), (that.codeSearch!= null))) { return false; } } { String lhsCodeComparator; lhsCodeComparator = this.getCodeComparator(); String rhsCodeComparator; rhsCodeComparator = that.getCodeComparator(); if (!strategy.equals(LocatorUtils.property(thisLocator, "codeComparator", lhsCodeComparator), LocatorUtils.property(thatLocator, "codeComparator", rhsCodeComparator), lhsCodeComparator, rhsCodeComparator, (this.codeComparator!= null), (that.codeComparator!= null))) { return false; } } { String lhsValueSetProperty; lhsValueSetProperty = this.getValueSetProperty(); String rhsValueSetProperty; rhsValueSetProperty = that.getValueSetProperty(); if (!strategy.equals(LocatorUtils.property(thisLocator, "valueSetProperty", lhsValueSetProperty), LocatorUtils.property(thatLocator, "valueSetProperty", rhsValueSetProperty), lhsValueSetProperty, rhsValueSetProperty, (this.valueSetProperty!= null), (that.valueSetProperty!= null))) { return false; } } { String lhsDateProperty; lhsDateProperty = this.getDateProperty(); String rhsDateProperty; rhsDateProperty = that.getDateProperty(); if (!strategy.equals(LocatorUtils.property(thisLocator, "dateProperty", lhsDateProperty), LocatorUtils.property(thatLocator, "dateProperty", rhsDateProperty), lhsDateProperty, rhsDateProperty, (this.dateProperty!= null), (that.dateProperty!= null))) { return false; } } { String lhsDateLowProperty; lhsDateLowProperty = this.getDateLowProperty(); String rhsDateLowProperty; rhsDateLowProperty = that.getDateLowProperty(); if (!strategy.equals(LocatorUtils.property(thisLocator, "dateLowProperty", lhsDateLowProperty), LocatorUtils.property(thatLocator, "dateLowProperty", rhsDateLowProperty), lhsDateLowProperty, rhsDateLowProperty, (this.dateLowProperty!= null), (that.dateLowProperty!= null))) { return false; } } { String lhsDateHighProperty; lhsDateHighProperty = this.getDateHighProperty(); String rhsDateHighProperty; rhsDateHighProperty = that.getDateHighProperty(); if (!strategy.equals(LocatorUtils.property(thisLocator, "dateHighProperty", lhsDateHighProperty), LocatorUtils.property(thatLocator, "dateHighProperty", rhsDateHighProperty), lhsDateHighProperty, rhsDateHighProperty, (this.dateHighProperty!= null), (that.dateHighProperty!= null))) { return false; } } { String lhsDateSearch; lhsDateSearch = this.getDateSearch(); String rhsDateSearch; rhsDateSearch = that.getDateSearch(); if (!strategy.equals(LocatorUtils.property(thisLocator, "dateSearch", lhsDateSearch), LocatorUtils.property(thatLocator, "dateSearch", rhsDateSearch), lhsDateSearch, rhsDateSearch, (this.dateSearch!= null), (that.dateSearch!= null))) { return false; } } { String lhsIncludedIn; lhsIncludedIn = this.getIncludedIn(); String rhsIncludedIn; rhsIncludedIn = that.getIncludedIn(); if (!strategy.equals(LocatorUtils.property(thisLocator, "includedIn", lhsIncludedIn), LocatorUtils.property(thatLocator, "includedIn", rhsIncludedIn), lhsIncludedIn, rhsIncludedIn, (this.includedIn!= null), (that.includedIn!= null))) { return false; } } return true; } @Override public boolean equals(Object object) { final EqualsStrategy2 strategy = JAXBEqualsStrategy.getInstance(); return equals(null, null, object, strategy); } @Override public int hashCode(ObjectLocator locator, HashCodeStrategy2 strategy) { int currentHashCode = super.hashCode(locator, strategy); { Expression theId; theId = this.getId(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "id", theId), currentHashCode, theId, (this.id!= null)); } { Expression theCodes; theCodes = this.getCodes(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "codes", theCodes), currentHashCode, theCodes, (this.codes!= null)); } { Expression theDateRange; theDateRange = this.getDateRange(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "dateRange", theDateRange), currentHashCode, theDateRange, (this.dateRange!= null)); } { Expression theContext; theContext = this.getContext(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "context", theContext), currentHashCode, theContext, (this.context!= null)); } { List theInclude; theInclude = (((this.include!= null)&&(!this.include.isEmpty()))?this.getInclude():null); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "include", theInclude), currentHashCode, theInclude, ((this.include!= null)&&(!this.include.isEmpty()))); } { List theCodeFilter; theCodeFilter = (((this.codeFilter!= null)&&(!this.codeFilter.isEmpty()))?this.getCodeFilter():null); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "codeFilter", theCodeFilter), currentHashCode, theCodeFilter, ((this.codeFilter!= null)&&(!this.codeFilter.isEmpty()))); } { List theDateFilter; theDateFilter = (((this.dateFilter!= null)&&(!this.dateFilter.isEmpty()))?this.getDateFilter():null); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "dateFilter", theDateFilter), currentHashCode, theDateFilter, ((this.dateFilter!= null)&&(!this.dateFilter.isEmpty()))); } { List theOtherFilter; theOtherFilter = (((this.otherFilter!= null)&&(!this.otherFilter.isEmpty()))?this.getOtherFilter():null); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "otherFilter", theOtherFilter), currentHashCode, theOtherFilter, ((this.otherFilter!= null)&&(!this.otherFilter.isEmpty()))); } { QName theDataType; theDataType = this.getDataType(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "dataType", theDataType), currentHashCode, theDataType, (this.dataType!= null)); } { String theTemplateId; theTemplateId = this.getTemplateId(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "templateId", theTemplateId), currentHashCode, theTemplateId, (this.templateId!= null)); } { String theIdProperty; theIdProperty = this.getIdProperty(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "idProperty", theIdProperty), currentHashCode, theIdProperty, (this.idProperty!= null)); } { String theIdSearch; theIdSearch = this.getIdSearch(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "idSearch", theIdSearch), currentHashCode, theIdSearch, (this.idSearch!= null)); } { String theContextProperty; theContextProperty = this.getContextProperty(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "contextProperty", theContextProperty), currentHashCode, theContextProperty, (this.contextProperty!= null)); } { String theContextSearch; theContextSearch = this.getContextSearch(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "contextSearch", theContextSearch), currentHashCode, theContextSearch, (this.contextSearch!= null)); } { String theCodeProperty; theCodeProperty = this.getCodeProperty(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "codeProperty", theCodeProperty), currentHashCode, theCodeProperty, (this.codeProperty!= null)); } { String theCodeSearch; theCodeSearch = this.getCodeSearch(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "codeSearch", theCodeSearch), currentHashCode, theCodeSearch, (this.codeSearch!= null)); } { String theCodeComparator; theCodeComparator = this.getCodeComparator(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "codeComparator", theCodeComparator), currentHashCode, theCodeComparator, (this.codeComparator!= null)); } { String theValueSetProperty; theValueSetProperty = this.getValueSetProperty(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "valueSetProperty", theValueSetProperty), currentHashCode, theValueSetProperty, (this.valueSetProperty!= null)); } { String theDateProperty; theDateProperty = this.getDateProperty(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "dateProperty", theDateProperty), currentHashCode, theDateProperty, (this.dateProperty!= null)); } { String theDateLowProperty; theDateLowProperty = this.getDateLowProperty(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "dateLowProperty", theDateLowProperty), currentHashCode, theDateLowProperty, (this.dateLowProperty!= null)); } { String theDateHighProperty; theDateHighProperty = this.getDateHighProperty(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "dateHighProperty", theDateHighProperty), currentHashCode, theDateHighProperty, (this.dateHighProperty!= null)); } { String theDateSearch; theDateSearch = this.getDateSearch(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "dateSearch", theDateSearch), currentHashCode, theDateSearch, (this.dateSearch!= null)); } { String theIncludedIn; theIncludedIn = this.getIncludedIn(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "includedIn", theIncludedIn), currentHashCode, theIncludedIn, (this.includedIn!= null)); } return currentHashCode; } @Override public int hashCode() { final HashCodeStrategy2 strategy = JAXBHashCodeStrategy.getInstance(); return this.hashCode(null, strategy); } @Override public String toString() { final ToStringStrategy2 strategy = JAXBToStringStrategy.getInstance(); final StringBuilder buffer = new StringBuilder(); append(null, buffer, strategy); return buffer.toString(); } @Override public StringBuilder append(ObjectLocator locator, StringBuilder buffer, ToStringStrategy2 strategy) { strategy.appendStart(locator, this, buffer); appendFields(locator, buffer, strategy); strategy.appendEnd(locator, this, buffer); return buffer; } @Override public StringBuilder appendFields(ObjectLocator locator, StringBuilder buffer, ToStringStrategy2 strategy) { super.appendFields(locator, buffer, strategy); { Expression theId; theId = this.getId(); strategy.appendField(locator, this, "id", buffer, theId, (this.id!= null)); } { Expression theCodes; theCodes = this.getCodes(); strategy.appendField(locator, this, "codes", buffer, theCodes, (this.codes!= null)); } { Expression theDateRange; theDateRange = this.getDateRange(); strategy.appendField(locator, this, "dateRange", buffer, theDateRange, (this.dateRange!= null)); } { Expression theContext; theContext = this.getContext(); strategy.appendField(locator, this, "context", buffer, theContext, (this.context!= null)); } { List theInclude; theInclude = (((this.include!= null)&&(!this.include.isEmpty()))?this.getInclude():null); strategy.appendField(locator, this, "include", buffer, theInclude, ((this.include!= null)&&(!this.include.isEmpty()))); } { List theCodeFilter; theCodeFilter = (((this.codeFilter!= null)&&(!this.codeFilter.isEmpty()))?this.getCodeFilter():null); strategy.appendField(locator, this, "codeFilter", buffer, theCodeFilter, ((this.codeFilter!= null)&&(!this.codeFilter.isEmpty()))); } { List theDateFilter; theDateFilter = (((this.dateFilter!= null)&&(!this.dateFilter.isEmpty()))?this.getDateFilter():null); strategy.appendField(locator, this, "dateFilter", buffer, theDateFilter, ((this.dateFilter!= null)&&(!this.dateFilter.isEmpty()))); } { List theOtherFilter; theOtherFilter = (((this.otherFilter!= null)&&(!this.otherFilter.isEmpty()))?this.getOtherFilter():null); strategy.appendField(locator, this, "otherFilter", buffer, theOtherFilter, ((this.otherFilter!= null)&&(!this.otherFilter.isEmpty()))); } { QName theDataType; theDataType = this.getDataType(); strategy.appendField(locator, this, "dataType", buffer, theDataType, (this.dataType!= null)); } { String theTemplateId; theTemplateId = this.getTemplateId(); strategy.appendField(locator, this, "templateId", buffer, theTemplateId, (this.templateId!= null)); } { String theIdProperty; theIdProperty = this.getIdProperty(); strategy.appendField(locator, this, "idProperty", buffer, theIdProperty, (this.idProperty!= null)); } { String theIdSearch; theIdSearch = this.getIdSearch(); strategy.appendField(locator, this, "idSearch", buffer, theIdSearch, (this.idSearch!= null)); } { String theContextProperty; theContextProperty = this.getContextProperty(); strategy.appendField(locator, this, "contextProperty", buffer, theContextProperty, (this.contextProperty!= null)); } { String theContextSearch; theContextSearch = this.getContextSearch(); strategy.appendField(locator, this, "contextSearch", buffer, theContextSearch, (this.contextSearch!= null)); } { String theCodeProperty; theCodeProperty = this.getCodeProperty(); strategy.appendField(locator, this, "codeProperty", buffer, theCodeProperty, (this.codeProperty!= null)); } { String theCodeSearch; theCodeSearch = this.getCodeSearch(); strategy.appendField(locator, this, "codeSearch", buffer, theCodeSearch, (this.codeSearch!= null)); } { String theCodeComparator; theCodeComparator = this.getCodeComparator(); strategy.appendField(locator, this, "codeComparator", buffer, theCodeComparator, (this.codeComparator!= null)); } { String theValueSetProperty; theValueSetProperty = this.getValueSetProperty(); strategy.appendField(locator, this, "valueSetProperty", buffer, theValueSetProperty, (this.valueSetProperty!= null)); } { String theDateProperty; theDateProperty = this.getDateProperty(); strategy.appendField(locator, this, "dateProperty", buffer, theDateProperty, (this.dateProperty!= null)); } { String theDateLowProperty; theDateLowProperty = this.getDateLowProperty(); strategy.appendField(locator, this, "dateLowProperty", buffer, theDateLowProperty, (this.dateLowProperty!= null)); } { String theDateHighProperty; theDateHighProperty = this.getDateHighProperty(); strategy.appendField(locator, this, "dateHighProperty", buffer, theDateHighProperty, (this.dateHighProperty!= null)); } { String theDateSearch; theDateSearch = this.getDateSearch(); strategy.appendField(locator, this, "dateSearch", buffer, theDateSearch, (this.dateSearch!= null)); } { String theIncludedIn; theIncludedIn = this.getIncludedIn(); strategy.appendField(locator, this, "includedIn", buffer, theIncludedIn, (this.includedIn!= null)); } return buffer; } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy