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

org.hl7.elm_modelinfo.r1.ModelInfo Maven / Gradle / Ivy

//
// This file was generated by the Eclipse Implementation of JAXB, v3.0.2 
// See https://eclipse-ee4j.github.io/jaxb-ri 
// Any modifications to this file will be lost upon recompilation of the source schema. 
// Generated on: 2024.11.06 at 08:02:20 AM MST 
//


package org.hl7.elm_modelinfo.r1;

import java.util.ArrayList;
import java.util.Collection;
import java.util.List;
import jakarta.xml.bind.annotation.XmlAccessType;
import jakarta.xml.bind.annotation.XmlAccessorType;
import jakarta.xml.bind.annotation.XmlAttribute;
import jakarta.xml.bind.annotation.XmlElement;
import jakarta.xml.bind.annotation.XmlSchemaType;
import jakarta.xml.bind.annotation.XmlType;
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 ModelInfo type defines the metadata associated with a particular model to enable it to be used by the CQL translator. Note that none of the information specified here is required, it just enables some convenient shorthands within the language.
 * 
 * 

Java class for ModelInfo complex type. * *

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

 * <complexType name="ModelInfo">
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <sequence>
 *         <element name="requiredModelInfo" type="{urn:hl7-org:elm-modelinfo:r1}ModelSpecifier" maxOccurs="unbounded" minOccurs="0"/>
 *         <element name="typeInfo" type="{urn:hl7-org:elm-modelinfo:r1}TypeInfo" maxOccurs="unbounded" minOccurs="0"/>
 *         <element name="conversionInfo" type="{urn:hl7-org:elm-modelinfo:r1}ConversionInfo" maxOccurs="unbounded" minOccurs="0"/>
 *         <element name="contextInfo" type="{urn:hl7-org:elm-modelinfo:r1}ContextInfo" maxOccurs="unbounded" minOccurs="0"/>
 *       </sequence>
 *       <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
 *       <attribute name="version" type="{http://www.w3.org/2001/XMLSchema}string" />
 *       <attribute name="url" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
 *       <attribute name="targetUrl" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
 *       <attribute name="targetVersion" type="{http://www.w3.org/2001/XMLSchema}string" />
 *       <attribute name="schemaLocation" type="{http://www.w3.org/2001/XMLSchema}string" />
 *       <attribute name="targetQualifier" type="{http://www.w3.org/2001/XMLSchema}string" />
 *       <attribute name="patientClassName" type="{http://www.w3.org/2001/XMLSchema}string" />
 *       <attribute name="patientClassIdentifier" type="{http://www.w3.org/2001/XMLSchema}string" />
 *       <attribute name="patientBirthDatePropertyName" type="{http://www.w3.org/2001/XMLSchema}string" />
 *       <attribute name="caseSensitive" type="{http://www.w3.org/2001/XMLSchema}boolean" />
 *       <attribute name="strictRetrieveTyping" type="{http://www.w3.org/2001/XMLSchema}boolean" />
 *       <attribute name="defaultContext" type="{http://www.w3.org/2001/XMLSchema}string" />
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "ModelInfo", namespace = "urn:hl7-org:elm-modelinfo:r1", propOrder = { "requiredModelInfo", "typeInfo", "conversionInfo", "contextInfo" }) public class ModelInfo implements Equals2, HashCode2, ToString2 { @XmlElement(namespace = "urn:hl7-org:elm-modelinfo:r1") protected List requiredModelInfo; @XmlElement(namespace = "urn:hl7-org:elm-modelinfo:r1") protected List typeInfo; @XmlElement(namespace = "urn:hl7-org:elm-modelinfo:r1") protected List conversionInfo; @XmlElement(namespace = "urn:hl7-org:elm-modelinfo:r1") protected List contextInfo; @XmlAttribute(name = "name", required = true) protected String name; @XmlAttribute(name = "version") protected String version; @XmlAttribute(name = "url", required = true) @XmlSchemaType(name = "anyURI") protected String url; @XmlAttribute(name = "targetUrl") @XmlSchemaType(name = "anyURI") protected String targetUrl; @XmlAttribute(name = "targetVersion") protected String targetVersion; @XmlAttribute(name = "schemaLocation") protected String schemaLocation; @XmlAttribute(name = "targetQualifier") protected String targetQualifier; @XmlAttribute(name = "patientClassName") protected String patientClassName; @XmlAttribute(name = "patientClassIdentifier") protected String patientClassIdentifier; @XmlAttribute(name = "patientBirthDatePropertyName") protected String patientBirthDatePropertyName; @XmlAttribute(name = "caseSensitive") protected Boolean caseSensitive; @XmlAttribute(name = "strictRetrieveTyping") protected Boolean strictRetrieveTyping; @XmlAttribute(name = "defaultContext") protected String defaultContext; /** * Gets the value of the requiredModelInfo 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 Jakarta XML Binding object. * This is why there is not a set method for the requiredModelInfo property. * *

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

     *    getRequiredModelInfo().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link ModelSpecifier } * * */ public List getRequiredModelInfo() { if (requiredModelInfo == null) { requiredModelInfo = new ArrayList(); } return this.requiredModelInfo; } /** * Gets the value of the typeInfo 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 Jakarta XML Binding object. * This is why there is not a set method for the typeInfo property. * *

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

     *    getTypeInfo().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link TypeInfo } * * */ public List getTypeInfo() { if (typeInfo == null) { typeInfo = new ArrayList(); } return this.typeInfo; } /** * Gets the value of the conversionInfo 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 Jakarta XML Binding object. * This is why there is not a set method for the conversionInfo property. * *

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

     *    getConversionInfo().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link ConversionInfo } * * */ public List getConversionInfo() { if (conversionInfo == null) { conversionInfo = new ArrayList(); } return this.conversionInfo; } /** * Gets the value of the contextInfo 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 Jakarta XML Binding object. * This is why there is not a set method for the contextInfo property. * *

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

     *    getContextInfo().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link ContextInfo } * * */ public List getContextInfo() { if (contextInfo == null) { contextInfo = new ArrayList(); } return this.contextInfo; } /** * Gets the value of the name property. * * @return * possible object is * {@link String } * */ public String getName() { return name; } /** * Sets the value of the name property. * * @param value * allowed object is * {@link String } * */ public void setName(String value) { this.name = value; } /** * Gets the value of the version property. * * @return * possible object is * {@link String } * */ public String getVersion() { return version; } /** * Sets the value of the version property. * * @param value * allowed object is * {@link String } * */ public void setVersion(String value) { this.version = value; } /** * Gets the value of the url property. * * @return * possible object is * {@link String } * */ public String getUrl() { return url; } /** * Sets the value of the url property. * * @param value * allowed object is * {@link String } * */ public void setUrl(String value) { this.url = value; } /** * Gets the value of the targetUrl property. * * @return * possible object is * {@link String } * */ public String getTargetUrl() { return targetUrl; } /** * Sets the value of the targetUrl property. * * @param value * allowed object is * {@link String } * */ public void setTargetUrl(String value) { this.targetUrl = value; } /** * Gets the value of the targetVersion property. * * @return * possible object is * {@link String } * */ public String getTargetVersion() { return targetVersion; } /** * Sets the value of the targetVersion property. * * @param value * allowed object is * {@link String } * */ public void setTargetVersion(String value) { this.targetVersion = value; } /** * Gets the value of the schemaLocation property. * * @return * possible object is * {@link String } * */ public String getSchemaLocation() { return schemaLocation; } /** * Sets the value of the schemaLocation property. * * @param value * allowed object is * {@link String } * */ public void setSchemaLocation(String value) { this.schemaLocation = value; } /** * Gets the value of the targetQualifier property. * * @return * possible object is * {@link String } * */ public String getTargetQualifier() { return targetQualifier; } /** * Sets the value of the targetQualifier property. * * @param value * allowed object is * {@link String } * */ public void setTargetQualifier(String value) { this.targetQualifier = value; } /** * Gets the value of the patientClassName property. * * @return * possible object is * {@link String } * */ public String getPatientClassName() { return patientClassName; } /** * Sets the value of the patientClassName property. * * @param value * allowed object is * {@link String } * */ public void setPatientClassName(String value) { this.patientClassName = value; } /** * Gets the value of the patientClassIdentifier property. * * @return * possible object is * {@link String } * */ public String getPatientClassIdentifier() { return patientClassIdentifier; } /** * Sets the value of the patientClassIdentifier property. * * @param value * allowed object is * {@link String } * */ public void setPatientClassIdentifier(String value) { this.patientClassIdentifier = value; } /** * Gets the value of the patientBirthDatePropertyName property. * * @return * possible object is * {@link String } * */ public String getPatientBirthDatePropertyName() { return patientBirthDatePropertyName; } /** * Sets the value of the patientBirthDatePropertyName property. * * @param value * allowed object is * {@link String } * */ public void setPatientBirthDatePropertyName(String value) { this.patientBirthDatePropertyName = value; } /** * Gets the value of the caseSensitive property. * * @return * possible object is * {@link Boolean } * */ public Boolean isCaseSensitive() { return caseSensitive; } /** * Sets the value of the caseSensitive property. * * @param value * allowed object is * {@link Boolean } * */ public void setCaseSensitive(Boolean value) { this.caseSensitive = value; } /** * Gets the value of the strictRetrieveTyping property. * * @return * possible object is * {@link Boolean } * */ public Boolean isStrictRetrieveTyping() { return strictRetrieveTyping; } /** * Sets the value of the strictRetrieveTyping property. * * @param value * allowed object is * {@link Boolean } * */ public void setStrictRetrieveTyping(Boolean value) { this.strictRetrieveTyping = value; } /** * Gets the value of the defaultContext property. * * @return * possible object is * {@link String } * */ public String getDefaultContext() { return defaultContext; } /** * Sets the value of the defaultContext property. * * @param value * allowed object is * {@link String } * */ public void setDefaultContext(String value) { this.defaultContext = value; } public ModelInfo withRequiredModelInfo(ModelSpecifier... values) { if (values!= null) { for (ModelSpecifier value: values) { getRequiredModelInfo().add(value); } } return this; } public ModelInfo withRequiredModelInfo(Collection values) { if (values!= null) { getRequiredModelInfo().addAll(values); } return this; } public ModelInfo withTypeInfo(TypeInfo... values) { if (values!= null) { for (TypeInfo value: values) { getTypeInfo().add(value); } } return this; } public ModelInfo withTypeInfo(Collection values) { if (values!= null) { getTypeInfo().addAll(values); } return this; } public ModelInfo withConversionInfo(ConversionInfo... values) { if (values!= null) { for (ConversionInfo value: values) { getConversionInfo().add(value); } } return this; } public ModelInfo withConversionInfo(Collection values) { if (values!= null) { getConversionInfo().addAll(values); } return this; } public ModelInfo withContextInfo(ContextInfo... values) { if (values!= null) { for (ContextInfo value: values) { getContextInfo().add(value); } } return this; } public ModelInfo withContextInfo(Collection values) { if (values!= null) { getContextInfo().addAll(values); } return this; } public ModelInfo withName(String value) { setName(value); return this; } public ModelInfo withVersion(String value) { setVersion(value); return this; } public ModelInfo withUrl(String value) { setUrl(value); return this; } public ModelInfo withTargetUrl(String value) { setTargetUrl(value); return this; } public ModelInfo withTargetVersion(String value) { setTargetVersion(value); return this; } public ModelInfo withSchemaLocation(String value) { setSchemaLocation(value); return this; } public ModelInfo withTargetQualifier(String value) { setTargetQualifier(value); return this; } public ModelInfo withPatientClassName(String value) { setPatientClassName(value); return this; } public ModelInfo withPatientClassIdentifier(String value) { setPatientClassIdentifier(value); return this; } public ModelInfo withPatientBirthDatePropertyName(String value) { setPatientBirthDatePropertyName(value); return this; } public ModelInfo withCaseSensitive(Boolean value) { setCaseSensitive(value); return this; } public ModelInfo withStrictRetrieveTyping(Boolean value) { setStrictRetrieveTyping(value); return this; } public ModelInfo withDefaultContext(String value) { setDefaultContext(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; } final ModelInfo that = ((ModelInfo) object); { List lhsRequiredModelInfo; lhsRequiredModelInfo = (((this.requiredModelInfo!= null)&&(!this.requiredModelInfo.isEmpty()))?this.getRequiredModelInfo():null); List rhsRequiredModelInfo; rhsRequiredModelInfo = (((that.requiredModelInfo!= null)&&(!that.requiredModelInfo.isEmpty()))?that.getRequiredModelInfo():null); if (!strategy.equals(LocatorUtils.property(thisLocator, "requiredModelInfo", lhsRequiredModelInfo), LocatorUtils.property(thatLocator, "requiredModelInfo", rhsRequiredModelInfo), lhsRequiredModelInfo, rhsRequiredModelInfo, ((this.requiredModelInfo!= null)&&(!this.requiredModelInfo.isEmpty())), ((that.requiredModelInfo!= null)&&(!that.requiredModelInfo.isEmpty())))) { return false; } } { List lhsTypeInfo; lhsTypeInfo = (((this.typeInfo!= null)&&(!this.typeInfo.isEmpty()))?this.getTypeInfo():null); List rhsTypeInfo; rhsTypeInfo = (((that.typeInfo!= null)&&(!that.typeInfo.isEmpty()))?that.getTypeInfo():null); if (!strategy.equals(LocatorUtils.property(thisLocator, "typeInfo", lhsTypeInfo), LocatorUtils.property(thatLocator, "typeInfo", rhsTypeInfo), lhsTypeInfo, rhsTypeInfo, ((this.typeInfo!= null)&&(!this.typeInfo.isEmpty())), ((that.typeInfo!= null)&&(!that.typeInfo.isEmpty())))) { return false; } } { List lhsConversionInfo; lhsConversionInfo = (((this.conversionInfo!= null)&&(!this.conversionInfo.isEmpty()))?this.getConversionInfo():null); List rhsConversionInfo; rhsConversionInfo = (((that.conversionInfo!= null)&&(!that.conversionInfo.isEmpty()))?that.getConversionInfo():null); if (!strategy.equals(LocatorUtils.property(thisLocator, "conversionInfo", lhsConversionInfo), LocatorUtils.property(thatLocator, "conversionInfo", rhsConversionInfo), lhsConversionInfo, rhsConversionInfo, ((this.conversionInfo!= null)&&(!this.conversionInfo.isEmpty())), ((that.conversionInfo!= null)&&(!that.conversionInfo.isEmpty())))) { return false; } } { List lhsContextInfo; lhsContextInfo = (((this.contextInfo!= null)&&(!this.contextInfo.isEmpty()))?this.getContextInfo():null); List rhsContextInfo; rhsContextInfo = (((that.contextInfo!= null)&&(!that.contextInfo.isEmpty()))?that.getContextInfo():null); if (!strategy.equals(LocatorUtils.property(thisLocator, "contextInfo", lhsContextInfo), LocatorUtils.property(thatLocator, "contextInfo", rhsContextInfo), lhsContextInfo, rhsContextInfo, ((this.contextInfo!= null)&&(!this.contextInfo.isEmpty())), ((that.contextInfo!= null)&&(!that.contextInfo.isEmpty())))) { return false; } } { String lhsName; lhsName = this.getName(); String rhsName; rhsName = that.getName(); if (!strategy.equals(LocatorUtils.property(thisLocator, "name", lhsName), LocatorUtils.property(thatLocator, "name", rhsName), lhsName, rhsName, (this.name!= null), (that.name!= null))) { return false; } } { String lhsVersion; lhsVersion = this.getVersion(); String rhsVersion; rhsVersion = that.getVersion(); if (!strategy.equals(LocatorUtils.property(thisLocator, "version", lhsVersion), LocatorUtils.property(thatLocator, "version", rhsVersion), lhsVersion, rhsVersion, (this.version!= null), (that.version!= null))) { return false; } } { String lhsUrl; lhsUrl = this.getUrl(); String rhsUrl; rhsUrl = that.getUrl(); if (!strategy.equals(LocatorUtils.property(thisLocator, "url", lhsUrl), LocatorUtils.property(thatLocator, "url", rhsUrl), lhsUrl, rhsUrl, (this.url!= null), (that.url!= null))) { return false; } } { String lhsTargetUrl; lhsTargetUrl = this.getTargetUrl(); String rhsTargetUrl; rhsTargetUrl = that.getTargetUrl(); if (!strategy.equals(LocatorUtils.property(thisLocator, "targetUrl", lhsTargetUrl), LocatorUtils.property(thatLocator, "targetUrl", rhsTargetUrl), lhsTargetUrl, rhsTargetUrl, (this.targetUrl!= null), (that.targetUrl!= null))) { return false; } } { String lhsTargetVersion; lhsTargetVersion = this.getTargetVersion(); String rhsTargetVersion; rhsTargetVersion = that.getTargetVersion(); if (!strategy.equals(LocatorUtils.property(thisLocator, "targetVersion", lhsTargetVersion), LocatorUtils.property(thatLocator, "targetVersion", rhsTargetVersion), lhsTargetVersion, rhsTargetVersion, (this.targetVersion!= null), (that.targetVersion!= null))) { return false; } } { String lhsSchemaLocation; lhsSchemaLocation = this.getSchemaLocation(); String rhsSchemaLocation; rhsSchemaLocation = that.getSchemaLocation(); if (!strategy.equals(LocatorUtils.property(thisLocator, "schemaLocation", lhsSchemaLocation), LocatorUtils.property(thatLocator, "schemaLocation", rhsSchemaLocation), lhsSchemaLocation, rhsSchemaLocation, (this.schemaLocation!= null), (that.schemaLocation!= null))) { return false; } } { String lhsTargetQualifier; lhsTargetQualifier = this.getTargetQualifier(); String rhsTargetQualifier; rhsTargetQualifier = that.getTargetQualifier(); if (!strategy.equals(LocatorUtils.property(thisLocator, "targetQualifier", lhsTargetQualifier), LocatorUtils.property(thatLocator, "targetQualifier", rhsTargetQualifier), lhsTargetQualifier, rhsTargetQualifier, (this.targetQualifier!= null), (that.targetQualifier!= null))) { return false; } } { String lhsPatientClassName; lhsPatientClassName = this.getPatientClassName(); String rhsPatientClassName; rhsPatientClassName = that.getPatientClassName(); if (!strategy.equals(LocatorUtils.property(thisLocator, "patientClassName", lhsPatientClassName), LocatorUtils.property(thatLocator, "patientClassName", rhsPatientClassName), lhsPatientClassName, rhsPatientClassName, (this.patientClassName!= null), (that.patientClassName!= null))) { return false; } } { String lhsPatientClassIdentifier; lhsPatientClassIdentifier = this.getPatientClassIdentifier(); String rhsPatientClassIdentifier; rhsPatientClassIdentifier = that.getPatientClassIdentifier(); if (!strategy.equals(LocatorUtils.property(thisLocator, "patientClassIdentifier", lhsPatientClassIdentifier), LocatorUtils.property(thatLocator, "patientClassIdentifier", rhsPatientClassIdentifier), lhsPatientClassIdentifier, rhsPatientClassIdentifier, (this.patientClassIdentifier!= null), (that.patientClassIdentifier!= null))) { return false; } } { String lhsPatientBirthDatePropertyName; lhsPatientBirthDatePropertyName = this.getPatientBirthDatePropertyName(); String rhsPatientBirthDatePropertyName; rhsPatientBirthDatePropertyName = that.getPatientBirthDatePropertyName(); if (!strategy.equals(LocatorUtils.property(thisLocator, "patientBirthDatePropertyName", lhsPatientBirthDatePropertyName), LocatorUtils.property(thatLocator, "patientBirthDatePropertyName", rhsPatientBirthDatePropertyName), lhsPatientBirthDatePropertyName, rhsPatientBirthDatePropertyName, (this.patientBirthDatePropertyName!= null), (that.patientBirthDatePropertyName!= null))) { return false; } } { Boolean lhsCaseSensitive; lhsCaseSensitive = this.isCaseSensitive(); Boolean rhsCaseSensitive; rhsCaseSensitive = that.isCaseSensitive(); if (!strategy.equals(LocatorUtils.property(thisLocator, "caseSensitive", lhsCaseSensitive), LocatorUtils.property(thatLocator, "caseSensitive", rhsCaseSensitive), lhsCaseSensitive, rhsCaseSensitive, (this.caseSensitive!= null), (that.caseSensitive!= null))) { return false; } } { Boolean lhsStrictRetrieveTyping; lhsStrictRetrieveTyping = this.isStrictRetrieveTyping(); Boolean rhsStrictRetrieveTyping; rhsStrictRetrieveTyping = that.isStrictRetrieveTyping(); if (!strategy.equals(LocatorUtils.property(thisLocator, "strictRetrieveTyping", lhsStrictRetrieveTyping), LocatorUtils.property(thatLocator, "strictRetrieveTyping", rhsStrictRetrieveTyping), lhsStrictRetrieveTyping, rhsStrictRetrieveTyping, (this.strictRetrieveTyping!= null), (that.strictRetrieveTyping!= null))) { return false; } } { String lhsDefaultContext; lhsDefaultContext = this.getDefaultContext(); String rhsDefaultContext; rhsDefaultContext = that.getDefaultContext(); if (!strategy.equals(LocatorUtils.property(thisLocator, "defaultContext", lhsDefaultContext), LocatorUtils.property(thatLocator, "defaultContext", rhsDefaultContext), lhsDefaultContext, rhsDefaultContext, (this.defaultContext!= null), (that.defaultContext!= 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 = 1; { List theRequiredModelInfo; theRequiredModelInfo = (((this.requiredModelInfo!= null)&&(!this.requiredModelInfo.isEmpty()))?this.getRequiredModelInfo():null); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "requiredModelInfo", theRequiredModelInfo), currentHashCode, theRequiredModelInfo, ((this.requiredModelInfo!= null)&&(!this.requiredModelInfo.isEmpty()))); } { List theTypeInfo; theTypeInfo = (((this.typeInfo!= null)&&(!this.typeInfo.isEmpty()))?this.getTypeInfo():null); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "typeInfo", theTypeInfo), currentHashCode, theTypeInfo, ((this.typeInfo!= null)&&(!this.typeInfo.isEmpty()))); } { List theConversionInfo; theConversionInfo = (((this.conversionInfo!= null)&&(!this.conversionInfo.isEmpty()))?this.getConversionInfo():null); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "conversionInfo", theConversionInfo), currentHashCode, theConversionInfo, ((this.conversionInfo!= null)&&(!this.conversionInfo.isEmpty()))); } { List theContextInfo; theContextInfo = (((this.contextInfo!= null)&&(!this.contextInfo.isEmpty()))?this.getContextInfo():null); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "contextInfo", theContextInfo), currentHashCode, theContextInfo, ((this.contextInfo!= null)&&(!this.contextInfo.isEmpty()))); } { String theName; theName = this.getName(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "name", theName), currentHashCode, theName, (this.name!= null)); } { String theVersion; theVersion = this.getVersion(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "version", theVersion), currentHashCode, theVersion, (this.version!= null)); } { String theUrl; theUrl = this.getUrl(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "url", theUrl), currentHashCode, theUrl, (this.url!= null)); } { String theTargetUrl; theTargetUrl = this.getTargetUrl(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "targetUrl", theTargetUrl), currentHashCode, theTargetUrl, (this.targetUrl!= null)); } { String theTargetVersion; theTargetVersion = this.getTargetVersion(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "targetVersion", theTargetVersion), currentHashCode, theTargetVersion, (this.targetVersion!= null)); } { String theSchemaLocation; theSchemaLocation = this.getSchemaLocation(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "schemaLocation", theSchemaLocation), currentHashCode, theSchemaLocation, (this.schemaLocation!= null)); } { String theTargetQualifier; theTargetQualifier = this.getTargetQualifier(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "targetQualifier", theTargetQualifier), currentHashCode, theTargetQualifier, (this.targetQualifier!= null)); } { String thePatientClassName; thePatientClassName = this.getPatientClassName(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "patientClassName", thePatientClassName), currentHashCode, thePatientClassName, (this.patientClassName!= null)); } { String thePatientClassIdentifier; thePatientClassIdentifier = this.getPatientClassIdentifier(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "patientClassIdentifier", thePatientClassIdentifier), currentHashCode, thePatientClassIdentifier, (this.patientClassIdentifier!= null)); } { String thePatientBirthDatePropertyName; thePatientBirthDatePropertyName = this.getPatientBirthDatePropertyName(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "patientBirthDatePropertyName", thePatientBirthDatePropertyName), currentHashCode, thePatientBirthDatePropertyName, (this.patientBirthDatePropertyName!= null)); } { Boolean theCaseSensitive; theCaseSensitive = this.isCaseSensitive(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "caseSensitive", theCaseSensitive), currentHashCode, theCaseSensitive, (this.caseSensitive!= null)); } { Boolean theStrictRetrieveTyping; theStrictRetrieveTyping = this.isStrictRetrieveTyping(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "strictRetrieveTyping", theStrictRetrieveTyping), currentHashCode, theStrictRetrieveTyping, (this.strictRetrieveTyping!= null)); } { String theDefaultContext; theDefaultContext = this.getDefaultContext(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "defaultContext", theDefaultContext), currentHashCode, theDefaultContext, (this.defaultContext!= 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) { { List theRequiredModelInfo; theRequiredModelInfo = (((this.requiredModelInfo!= null)&&(!this.requiredModelInfo.isEmpty()))?this.getRequiredModelInfo():null); strategy.appendField(locator, this, "requiredModelInfo", buffer, theRequiredModelInfo, ((this.requiredModelInfo!= null)&&(!this.requiredModelInfo.isEmpty()))); } { List theTypeInfo; theTypeInfo = (((this.typeInfo!= null)&&(!this.typeInfo.isEmpty()))?this.getTypeInfo():null); strategy.appendField(locator, this, "typeInfo", buffer, theTypeInfo, ((this.typeInfo!= null)&&(!this.typeInfo.isEmpty()))); } { List theConversionInfo; theConversionInfo = (((this.conversionInfo!= null)&&(!this.conversionInfo.isEmpty()))?this.getConversionInfo():null); strategy.appendField(locator, this, "conversionInfo", buffer, theConversionInfo, ((this.conversionInfo!= null)&&(!this.conversionInfo.isEmpty()))); } { List theContextInfo; theContextInfo = (((this.contextInfo!= null)&&(!this.contextInfo.isEmpty()))?this.getContextInfo():null); strategy.appendField(locator, this, "contextInfo", buffer, theContextInfo, ((this.contextInfo!= null)&&(!this.contextInfo.isEmpty()))); } { String theName; theName = this.getName(); strategy.appendField(locator, this, "name", buffer, theName, (this.name!= null)); } { String theVersion; theVersion = this.getVersion(); strategy.appendField(locator, this, "version", buffer, theVersion, (this.version!= null)); } { String theUrl; theUrl = this.getUrl(); strategy.appendField(locator, this, "url", buffer, theUrl, (this.url!= null)); } { String theTargetUrl; theTargetUrl = this.getTargetUrl(); strategy.appendField(locator, this, "targetUrl", buffer, theTargetUrl, (this.targetUrl!= null)); } { String theTargetVersion; theTargetVersion = this.getTargetVersion(); strategy.appendField(locator, this, "targetVersion", buffer, theTargetVersion, (this.targetVersion!= null)); } { String theSchemaLocation; theSchemaLocation = this.getSchemaLocation(); strategy.appendField(locator, this, "schemaLocation", buffer, theSchemaLocation, (this.schemaLocation!= null)); } { String theTargetQualifier; theTargetQualifier = this.getTargetQualifier(); strategy.appendField(locator, this, "targetQualifier", buffer, theTargetQualifier, (this.targetQualifier!= null)); } { String thePatientClassName; thePatientClassName = this.getPatientClassName(); strategy.appendField(locator, this, "patientClassName", buffer, thePatientClassName, (this.patientClassName!= null)); } { String thePatientClassIdentifier; thePatientClassIdentifier = this.getPatientClassIdentifier(); strategy.appendField(locator, this, "patientClassIdentifier", buffer, thePatientClassIdentifier, (this.patientClassIdentifier!= null)); } { String thePatientBirthDatePropertyName; thePatientBirthDatePropertyName = this.getPatientBirthDatePropertyName(); strategy.appendField(locator, this, "patientBirthDatePropertyName", buffer, thePatientBirthDatePropertyName, (this.patientBirthDatePropertyName!= null)); } { Boolean theCaseSensitive; theCaseSensitive = this.isCaseSensitive(); strategy.appendField(locator, this, "caseSensitive", buffer, theCaseSensitive, (this.caseSensitive!= null)); } { Boolean theStrictRetrieveTyping; theStrictRetrieveTyping = this.isStrictRetrieveTyping(); strategy.appendField(locator, this, "strictRetrieveTyping", buffer, theStrictRetrieveTyping, (this.strictRetrieveTyping!= null)); } { String theDefaultContext; theDefaultContext = this.getDefaultContext(); strategy.appendField(locator, this, "defaultContext", buffer, theDefaultContext, (this.defaultContext!= null)); } return buffer; } public void setRequiredModelInfo(List value) { this.requiredModelInfo = value; } public void setTypeInfo(List value) { this.typeInfo = value; } public void setConversionInfo(List value) { this.conversionInfo = value; } public void setContextInfo(List value) { this.contextInfo = value; } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy