Please wait. This can take some minutes ...
Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance.
Project price only 1 $
You can buy this project and download/modify it how often you want.
org.cqframework.cql.elm.execution.Library Maven / Gradle / Ivy
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11
// See http://java.sun.com/xml/jaxb
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2018.04.13 at 05:43:32 PM 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.XmlElement;
import javax.xml.bind.annotation.XmlType;
import javax.xml.namespace.QName;
import org.jvnet.jaxb2_commons.lang.Equals;
import org.jvnet.jaxb2_commons.lang.EqualsStrategy;
import org.jvnet.jaxb2_commons.lang.HashCode;
import org.jvnet.jaxb2_commons.lang.HashCodeStrategy;
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.ToString;
import org.jvnet.jaxb2_commons.lang.ToStringStrategy;
import org.jvnet.jaxb2_commons.locator.ObjectLocator;
import org.jvnet.jaxb2_commons.locator.util.LocatorUtils;
/**
* A Library is an instance of a CQL-ELM library.
*
* Java class for Library complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="Library">
* <complexContent>
* <extension base="{urn:hl7-org:elm:r1}Element">
* <sequence>
* <element name="identifier" type="{urn:hl7-org:elm:r1}VersionedIdentifier"/>
* <element name="schemaIdentifier" type="{urn:hl7-org:elm:r1}VersionedIdentifier"/>
* <element name="usings" minOccurs="0">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="def" type="{urn:hl7-org:elm:r1}UsingDef" maxOccurs="unbounded"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* <element name="includes" minOccurs="0">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="def" type="{urn:hl7-org:elm:r1}IncludeDef" maxOccurs="unbounded"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* <element name="parameters" minOccurs="0">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="def" type="{urn:hl7-org:elm:r1}ParameterDef" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* <element name="codeSystems" minOccurs="0">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="def" type="{urn:hl7-org:elm:r1}CodeSystemDef" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* <element name="valueSets" minOccurs="0">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="def" type="{urn:hl7-org:elm:r1}ValueSetDef" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* <element name="codes" minOccurs="0">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="def" type="{urn:hl7-org:elm:r1}CodeDef" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* <element name="concepts" minOccurs="0">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="def" type="{urn:hl7-org:elm:r1}ConceptDef" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* <element name="statements" minOccurs="0">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="def" type="{urn:hl7-org:elm:r1}ExpressionDef" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "Library", namespace = "urn:hl7-org:elm:r1", propOrder = {
"identifier",
"schemaIdentifier",
"usings",
"includes",
"parameters",
"codeSystems",
"valueSets",
"codes",
"concepts",
"statements"
})
public class Library
extends Element
implements Equals, HashCode, ToString
{
@XmlElement(namespace = "urn:hl7-org:elm:r1", required = true)
protected VersionedIdentifier identifier;
@XmlElement(namespace = "urn:hl7-org:elm:r1", required = true)
protected VersionedIdentifier schemaIdentifier;
@XmlElement(namespace = "urn:hl7-org:elm:r1")
protected Library.Usings usings;
@XmlElement(namespace = "urn:hl7-org:elm:r1")
protected Library.Includes includes;
@XmlElement(namespace = "urn:hl7-org:elm:r1")
protected Library.Parameters parameters;
@XmlElement(namespace = "urn:hl7-org:elm:r1")
protected Library.CodeSystems codeSystems;
@XmlElement(namespace = "urn:hl7-org:elm:r1")
protected Library.ValueSets valueSets;
@XmlElement(namespace = "urn:hl7-org:elm:r1")
protected Library.Codes codes;
@XmlElement(namespace = "urn:hl7-org:elm:r1")
protected Library.Concepts concepts;
@XmlElement(namespace = "urn:hl7-org:elm:r1")
protected Library.Statements statements;
/**
* Gets the value of the identifier property.
*
* @return
* possible object is
* {@link VersionedIdentifier }
*
*/
public VersionedIdentifier getIdentifier() {
return identifier;
}
/**
* Sets the value of the identifier property.
*
* @param value
* allowed object is
* {@link VersionedIdentifier }
*
*/
public void setIdentifier(VersionedIdentifier value) {
this.identifier = value;
}
/**
* Gets the value of the schemaIdentifier property.
*
* @return
* possible object is
* {@link VersionedIdentifier }
*
*/
public VersionedIdentifier getSchemaIdentifier() {
return schemaIdentifier;
}
/**
* Sets the value of the schemaIdentifier property.
*
* @param value
* allowed object is
* {@link VersionedIdentifier }
*
*/
public void setSchemaIdentifier(VersionedIdentifier value) {
this.schemaIdentifier = value;
}
/**
* Gets the value of the usings property.
*
* @return
* possible object is
* {@link Library.Usings }
*
*/
public Library.Usings getUsings() {
return usings;
}
/**
* Sets the value of the usings property.
*
* @param value
* allowed object is
* {@link Library.Usings }
*
*/
public void setUsings(Library.Usings value) {
this.usings = value;
}
/**
* Gets the value of the includes property.
*
* @return
* possible object is
* {@link Library.Includes }
*
*/
public Library.Includes getIncludes() {
return includes;
}
/**
* Sets the value of the includes property.
*
* @param value
* allowed object is
* {@link Library.Includes }
*
*/
public void setIncludes(Library.Includes value) {
this.includes = value;
}
/**
* Gets the value of the parameters property.
*
* @return
* possible object is
* {@link Library.Parameters }
*
*/
public Library.Parameters getParameters() {
return parameters;
}
/**
* Sets the value of the parameters property.
*
* @param value
* allowed object is
* {@link Library.Parameters }
*
*/
public void setParameters(Library.Parameters value) {
this.parameters = value;
}
/**
* Gets the value of the codeSystems property.
*
* @return
* possible object is
* {@link Library.CodeSystems }
*
*/
public Library.CodeSystems getCodeSystems() {
return codeSystems;
}
/**
* Sets the value of the codeSystems property.
*
* @param value
* allowed object is
* {@link Library.CodeSystems }
*
*/
public void setCodeSystems(Library.CodeSystems value) {
this.codeSystems = value;
}
/**
* Gets the value of the valueSets property.
*
* @return
* possible object is
* {@link Library.ValueSets }
*
*/
public Library.ValueSets getValueSets() {
return valueSets;
}
/**
* Sets the value of the valueSets property.
*
* @param value
* allowed object is
* {@link Library.ValueSets }
*
*/
public void setValueSets(Library.ValueSets value) {
this.valueSets = value;
}
/**
* Gets the value of the codes property.
*
* @return
* possible object is
* {@link Library.Codes }
*
*/
public Library.Codes getCodes() {
return codes;
}
/**
* Sets the value of the codes property.
*
* @param value
* allowed object is
* {@link Library.Codes }
*
*/
public void setCodes(Library.Codes value) {
this.codes = value;
}
/**
* Gets the value of the concepts property.
*
* @return
* possible object is
* {@link Library.Concepts }
*
*/
public Library.Concepts getConcepts() {
return concepts;
}
/**
* Sets the value of the concepts property.
*
* @param value
* allowed object is
* {@link Library.Concepts }
*
*/
public void setConcepts(Library.Concepts value) {
this.concepts = value;
}
/**
* Gets the value of the statements property.
*
* @return
* possible object is
* {@link Library.Statements }
*
*/
public Library.Statements getStatements() {
return statements;
}
/**
* Sets the value of the statements property.
*
* @param value
* allowed object is
* {@link Library.Statements }
*
*/
public void setStatements(Library.Statements value) {
this.statements = value;
}
public Library withIdentifier(VersionedIdentifier value) {
setIdentifier(value);
return this;
}
public Library withSchemaIdentifier(VersionedIdentifier value) {
setSchemaIdentifier(value);
return this;
}
public Library withUsings(Library.Usings value) {
setUsings(value);
return this;
}
public Library withIncludes(Library.Includes value) {
setIncludes(value);
return this;
}
public Library withParameters(Library.Parameters value) {
setParameters(value);
return this;
}
public Library withCodeSystems(Library.CodeSystems value) {
setCodeSystems(value);
return this;
}
public Library withValueSets(Library.ValueSets value) {
setValueSets(value);
return this;
}
public Library withCodes(Library.Codes value) {
setCodes(value);
return this;
}
public Library withConcepts(Library.Concepts value) {
setConcepts(value);
return this;
}
public Library withStatements(Library.Statements value) {
setStatements(value);
return this;
}
@Override
public Library withAnnotation(Object... values) {
if (values!= null) {
for (Object value: values) {
getAnnotation().add(value);
}
}
return this;
}
@Override
public Library withAnnotation(Collection values) {
if (values!= null) {
getAnnotation().addAll(values);
}
return this;
}
@Override
public Library withResultTypeSpecifier(TypeSpecifier value) {
setResultTypeSpecifier(value);
return this;
}
@Override
public Library withLocalId(String value) {
setLocalId(value);
return this;
}
@Override
public Library withLocator(String value) {
setLocator(value);
return this;
}
@Override
public Library withResultTypeName(QName value) {
setResultTypeName(value);
return this;
}
public boolean equals(ObjectLocator thisLocator, ObjectLocator thatLocator, Object object, EqualsStrategy strategy) {
if (!(object instanceof Library)) {
return false;
}
if (this == object) {
return true;
}
if (!super.equals(thisLocator, thatLocator, object, strategy)) {
return false;
}
final Library that = ((Library) object);
{
VersionedIdentifier lhsIdentifier;
lhsIdentifier = this.getIdentifier();
VersionedIdentifier rhsIdentifier;
rhsIdentifier = that.getIdentifier();
if (!strategy.equals(LocatorUtils.property(thisLocator, "identifier", lhsIdentifier), LocatorUtils.property(thatLocator, "identifier", rhsIdentifier), lhsIdentifier, rhsIdentifier)) {
return false;
}
}
{
VersionedIdentifier lhsSchemaIdentifier;
lhsSchemaIdentifier = this.getSchemaIdentifier();
VersionedIdentifier rhsSchemaIdentifier;
rhsSchemaIdentifier = that.getSchemaIdentifier();
if (!strategy.equals(LocatorUtils.property(thisLocator, "schemaIdentifier", lhsSchemaIdentifier), LocatorUtils.property(thatLocator, "schemaIdentifier", rhsSchemaIdentifier), lhsSchemaIdentifier, rhsSchemaIdentifier)) {
return false;
}
}
{
Library.Usings lhsUsings;
lhsUsings = this.getUsings();
Library.Usings rhsUsings;
rhsUsings = that.getUsings();
if (!strategy.equals(LocatorUtils.property(thisLocator, "usings", lhsUsings), LocatorUtils.property(thatLocator, "usings", rhsUsings), lhsUsings, rhsUsings)) {
return false;
}
}
{
Library.Includes lhsIncludes;
lhsIncludes = this.getIncludes();
Library.Includes rhsIncludes;
rhsIncludes = that.getIncludes();
if (!strategy.equals(LocatorUtils.property(thisLocator, "includes", lhsIncludes), LocatorUtils.property(thatLocator, "includes", rhsIncludes), lhsIncludes, rhsIncludes)) {
return false;
}
}
{
Library.Parameters lhsParameters;
lhsParameters = this.getParameters();
Library.Parameters rhsParameters;
rhsParameters = that.getParameters();
if (!strategy.equals(LocatorUtils.property(thisLocator, "parameters", lhsParameters), LocatorUtils.property(thatLocator, "parameters", rhsParameters), lhsParameters, rhsParameters)) {
return false;
}
}
{
Library.CodeSystems lhsCodeSystems;
lhsCodeSystems = this.getCodeSystems();
Library.CodeSystems rhsCodeSystems;
rhsCodeSystems = that.getCodeSystems();
if (!strategy.equals(LocatorUtils.property(thisLocator, "codeSystems", lhsCodeSystems), LocatorUtils.property(thatLocator, "codeSystems", rhsCodeSystems), lhsCodeSystems, rhsCodeSystems)) {
return false;
}
}
{
Library.ValueSets lhsValueSets;
lhsValueSets = this.getValueSets();
Library.ValueSets rhsValueSets;
rhsValueSets = that.getValueSets();
if (!strategy.equals(LocatorUtils.property(thisLocator, "valueSets", lhsValueSets), LocatorUtils.property(thatLocator, "valueSets", rhsValueSets), lhsValueSets, rhsValueSets)) {
return false;
}
}
{
Library.Codes lhsCodes;
lhsCodes = this.getCodes();
Library.Codes rhsCodes;
rhsCodes = that.getCodes();
if (!strategy.equals(LocatorUtils.property(thisLocator, "codes", lhsCodes), LocatorUtils.property(thatLocator, "codes", rhsCodes), lhsCodes, rhsCodes)) {
return false;
}
}
{
Library.Concepts lhsConcepts;
lhsConcepts = this.getConcepts();
Library.Concepts rhsConcepts;
rhsConcepts = that.getConcepts();
if (!strategy.equals(LocatorUtils.property(thisLocator, "concepts", lhsConcepts), LocatorUtils.property(thatLocator, "concepts", rhsConcepts), lhsConcepts, rhsConcepts)) {
return false;
}
}
{
Library.Statements lhsStatements;
lhsStatements = this.getStatements();
Library.Statements rhsStatements;
rhsStatements = that.getStatements();
if (!strategy.equals(LocatorUtils.property(thisLocator, "statements", lhsStatements), LocatorUtils.property(thatLocator, "statements", rhsStatements), lhsStatements, rhsStatements)) {
return false;
}
}
return true;
}
public boolean equals(Object object) {
final EqualsStrategy strategy = JAXBEqualsStrategy.INSTANCE;
return equals(null, null, object, strategy);
}
public int hashCode(ObjectLocator locator, HashCodeStrategy strategy) {
int currentHashCode = super.hashCode(locator, strategy);
{
VersionedIdentifier theIdentifier;
theIdentifier = this.getIdentifier();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "identifier", theIdentifier), currentHashCode, theIdentifier);
}
{
VersionedIdentifier theSchemaIdentifier;
theSchemaIdentifier = this.getSchemaIdentifier();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "schemaIdentifier", theSchemaIdentifier), currentHashCode, theSchemaIdentifier);
}
{
Library.Usings theUsings;
theUsings = this.getUsings();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "usings", theUsings), currentHashCode, theUsings);
}
{
Library.Includes theIncludes;
theIncludes = this.getIncludes();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "includes", theIncludes), currentHashCode, theIncludes);
}
{
Library.Parameters theParameters;
theParameters = this.getParameters();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "parameters", theParameters), currentHashCode, theParameters);
}
{
Library.CodeSystems theCodeSystems;
theCodeSystems = this.getCodeSystems();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "codeSystems", theCodeSystems), currentHashCode, theCodeSystems);
}
{
Library.ValueSets theValueSets;
theValueSets = this.getValueSets();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "valueSets", theValueSets), currentHashCode, theValueSets);
}
{
Library.Codes theCodes;
theCodes = this.getCodes();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "codes", theCodes), currentHashCode, theCodes);
}
{
Library.Concepts theConcepts;
theConcepts = this.getConcepts();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "concepts", theConcepts), currentHashCode, theConcepts);
}
{
Library.Statements theStatements;
theStatements = this.getStatements();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "statements", theStatements), currentHashCode, theStatements);
}
return currentHashCode;
}
public int hashCode() {
final HashCodeStrategy strategy = JAXBHashCodeStrategy.INSTANCE;
return this.hashCode(null, strategy);
}
public String toString() {
final ToStringStrategy strategy = JAXBToStringStrategy.INSTANCE;
final StringBuilder buffer = new StringBuilder();
append(null, buffer, strategy);
return buffer.toString();
}
public StringBuilder append(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) {
strategy.appendStart(locator, this, buffer);
appendFields(locator, buffer, strategy);
strategy.appendEnd(locator, this, buffer);
return buffer;
}
public StringBuilder appendFields(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) {
super.appendFields(locator, buffer, strategy);
{
VersionedIdentifier theIdentifier;
theIdentifier = this.getIdentifier();
strategy.appendField(locator, this, "identifier", buffer, theIdentifier);
}
{
VersionedIdentifier theSchemaIdentifier;
theSchemaIdentifier = this.getSchemaIdentifier();
strategy.appendField(locator, this, "schemaIdentifier", buffer, theSchemaIdentifier);
}
{
Library.Usings theUsings;
theUsings = this.getUsings();
strategy.appendField(locator, this, "usings", buffer, theUsings);
}
{
Library.Includes theIncludes;
theIncludes = this.getIncludes();
strategy.appendField(locator, this, "includes", buffer, theIncludes);
}
{
Library.Parameters theParameters;
theParameters = this.getParameters();
strategy.appendField(locator, this, "parameters", buffer, theParameters);
}
{
Library.CodeSystems theCodeSystems;
theCodeSystems = this.getCodeSystems();
strategy.appendField(locator, this, "codeSystems", buffer, theCodeSystems);
}
{
Library.ValueSets theValueSets;
theValueSets = this.getValueSets();
strategy.appendField(locator, this, "valueSets", buffer, theValueSets);
}
{
Library.Codes theCodes;
theCodes = this.getCodes();
strategy.appendField(locator, this, "codes", buffer, theCodes);
}
{
Library.Concepts theConcepts;
theConcepts = this.getConcepts();
strategy.appendField(locator, this, "concepts", buffer, theConcepts);
}
{
Library.Statements theStatements;
theStatements = this.getStatements();
strategy.appendField(locator, this, "statements", buffer, theStatements);
}
return buffer;
}
/**
* Java class for anonymous complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="def" type="{urn:hl7-org:elm:r1}CodeDef" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"def"
})
public static class Codes
extends org.opencds.cqf.cql.elm.execution.Executable
implements Equals, HashCode, ToString
{
@XmlElement(namespace = "urn:hl7-org:elm:r1")
protected List def;
/**
* Gets the value of the def 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 def property.
*
*
* For example, to add a new item, do as follows:
*
* getDef().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link CodeDef }
*
*
*/
public List getDef() {
if (def == null) {
def = new ArrayList();
}
return this.def;
}
public Library.Codes withDef(CodeDef... values) {
if (values!= null) {
for (CodeDef value: values) {
getDef().add(value);
}
}
return this;
}
public Library.Codes withDef(Collection values) {
if (values!= null) {
getDef().addAll(values);
}
return this;
}
public boolean equals(ObjectLocator thisLocator, ObjectLocator thatLocator, Object object, EqualsStrategy strategy) {
if (!(object instanceof Library.Codes)) {
return false;
}
if (this == object) {
return true;
}
final Library.Codes that = ((Library.Codes) object);
{
List lhsDef;
lhsDef = (((this.def!= null)&&(!this.def.isEmpty()))?this.getDef():null);
List rhsDef;
rhsDef = (((that.def!= null)&&(!that.def.isEmpty()))?that.getDef():null);
if (!strategy.equals(LocatorUtils.property(thisLocator, "def", lhsDef), LocatorUtils.property(thatLocator, "def", rhsDef), lhsDef, rhsDef)) {
return false;
}
}
return true;
}
public boolean equals(Object object) {
final EqualsStrategy strategy = JAXBEqualsStrategy.INSTANCE;
return equals(null, null, object, strategy);
}
public int hashCode(ObjectLocator locator, HashCodeStrategy strategy) {
int currentHashCode = 1;
{
List theDef;
theDef = (((this.def!= null)&&(!this.def.isEmpty()))?this.getDef():null);
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "def", theDef), currentHashCode, theDef);
}
return currentHashCode;
}
public int hashCode() {
final HashCodeStrategy strategy = JAXBHashCodeStrategy.INSTANCE;
return this.hashCode(null, strategy);
}
public String toString() {
final ToStringStrategy strategy = JAXBToStringStrategy.INSTANCE;
final StringBuilder buffer = new StringBuilder();
append(null, buffer, strategy);
return buffer.toString();
}
public StringBuilder append(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) {
strategy.appendStart(locator, this, buffer);
appendFields(locator, buffer, strategy);
strategy.appendEnd(locator, this, buffer);
return buffer;
}
public StringBuilder appendFields(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) {
{
List theDef;
theDef = (((this.def!= null)&&(!this.def.isEmpty()))?this.getDef():null);
strategy.appendField(locator, this, "def", buffer, theDef);
}
return buffer;
}
}
/**
* Java class for anonymous complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="def" type="{urn:hl7-org:elm:r1}CodeSystemDef" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"def"
})
public static class CodeSystems
extends org.opencds.cqf.cql.elm.execution.Executable
implements Equals, HashCode, ToString
{
@XmlElement(namespace = "urn:hl7-org:elm:r1")
protected List def;
/**
* Gets the value of the def 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 def property.
*
*
* For example, to add a new item, do as follows:
*
* getDef().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link CodeSystemDef }
*
*
*/
public List getDef() {
if (def == null) {
def = new ArrayList();
}
return this.def;
}
public Library.CodeSystems withDef(CodeSystemDef... values) {
if (values!= null) {
for (CodeSystemDef value: values) {
getDef().add(value);
}
}
return this;
}
public Library.CodeSystems withDef(Collection values) {
if (values!= null) {
getDef().addAll(values);
}
return this;
}
public boolean equals(ObjectLocator thisLocator, ObjectLocator thatLocator, Object object, EqualsStrategy strategy) {
if (!(object instanceof Library.CodeSystems)) {
return false;
}
if (this == object) {
return true;
}
final Library.CodeSystems that = ((Library.CodeSystems) object);
{
List lhsDef;
lhsDef = (((this.def!= null)&&(!this.def.isEmpty()))?this.getDef():null);
List rhsDef;
rhsDef = (((that.def!= null)&&(!that.def.isEmpty()))?that.getDef():null);
if (!strategy.equals(LocatorUtils.property(thisLocator, "def", lhsDef), LocatorUtils.property(thatLocator, "def", rhsDef), lhsDef, rhsDef)) {
return false;
}
}
return true;
}
public boolean equals(Object object) {
final EqualsStrategy strategy = JAXBEqualsStrategy.INSTANCE;
return equals(null, null, object, strategy);
}
public int hashCode(ObjectLocator locator, HashCodeStrategy strategy) {
int currentHashCode = 1;
{
List theDef;
theDef = (((this.def!= null)&&(!this.def.isEmpty()))?this.getDef():null);
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "def", theDef), currentHashCode, theDef);
}
return currentHashCode;
}
public int hashCode() {
final HashCodeStrategy strategy = JAXBHashCodeStrategy.INSTANCE;
return this.hashCode(null, strategy);
}
public String toString() {
final ToStringStrategy strategy = JAXBToStringStrategy.INSTANCE;
final StringBuilder buffer = new StringBuilder();
append(null, buffer, strategy);
return buffer.toString();
}
public StringBuilder append(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) {
strategy.appendStart(locator, this, buffer);
appendFields(locator, buffer, strategy);
strategy.appendEnd(locator, this, buffer);
return buffer;
}
public StringBuilder appendFields(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) {
{
List theDef;
theDef = (((this.def!= null)&&(!this.def.isEmpty()))?this.getDef():null);
strategy.appendField(locator, this, "def", buffer, theDef);
}
return buffer;
}
}
/**
* Java class for anonymous complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="def" type="{urn:hl7-org:elm:r1}ConceptDef" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"def"
})
public static class Concepts
extends org.opencds.cqf.cql.elm.execution.Executable
implements Equals, HashCode, ToString
{
@XmlElement(namespace = "urn:hl7-org:elm:r1")
protected List def;
/**
* Gets the value of the def 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 def property.
*
*
* For example, to add a new item, do as follows:
*
* getDef().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link ConceptDef }
*
*
*/
public List getDef() {
if (def == null) {
def = new ArrayList();
}
return this.def;
}
public Library.Concepts withDef(ConceptDef... values) {
if (values!= null) {
for (ConceptDef value: values) {
getDef().add(value);
}
}
return this;
}
public Library.Concepts withDef(Collection values) {
if (values!= null) {
getDef().addAll(values);
}
return this;
}
public boolean equals(ObjectLocator thisLocator, ObjectLocator thatLocator, Object object, EqualsStrategy strategy) {
if (!(object instanceof Library.Concepts)) {
return false;
}
if (this == object) {
return true;
}
final Library.Concepts that = ((Library.Concepts) object);
{
List lhsDef;
lhsDef = (((this.def!= null)&&(!this.def.isEmpty()))?this.getDef():null);
List rhsDef;
rhsDef = (((that.def!= null)&&(!that.def.isEmpty()))?that.getDef():null);
if (!strategy.equals(LocatorUtils.property(thisLocator, "def", lhsDef), LocatorUtils.property(thatLocator, "def", rhsDef), lhsDef, rhsDef)) {
return false;
}
}
return true;
}
public boolean equals(Object object) {
final EqualsStrategy strategy = JAXBEqualsStrategy.INSTANCE;
return equals(null, null, object, strategy);
}
public int hashCode(ObjectLocator locator, HashCodeStrategy strategy) {
int currentHashCode = 1;
{
List theDef;
theDef = (((this.def!= null)&&(!this.def.isEmpty()))?this.getDef():null);
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "def", theDef), currentHashCode, theDef);
}
return currentHashCode;
}
public int hashCode() {
final HashCodeStrategy strategy = JAXBHashCodeStrategy.INSTANCE;
return this.hashCode(null, strategy);
}
public String toString() {
final ToStringStrategy strategy = JAXBToStringStrategy.INSTANCE;
final StringBuilder buffer = new StringBuilder();
append(null, buffer, strategy);
return buffer.toString();
}
public StringBuilder append(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) {
strategy.appendStart(locator, this, buffer);
appendFields(locator, buffer, strategy);
strategy.appendEnd(locator, this, buffer);
return buffer;
}
public StringBuilder appendFields(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) {
{
List theDef;
theDef = (((this.def!= null)&&(!this.def.isEmpty()))?this.getDef():null);
strategy.appendField(locator, this, "def", buffer, theDef);
}
return buffer;
}
}
/**
* Java class for anonymous complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="def" type="{urn:hl7-org:elm:r1}IncludeDef" maxOccurs="unbounded"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"def"
})
public static class Includes
extends org.opencds.cqf.cql.elm.execution.Executable
implements Equals, HashCode, ToString
{
@XmlElement(namespace = "urn:hl7-org:elm:r1", required = true)
protected List def;
/**
* Gets the value of the def 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 def property.
*
*
* For example, to add a new item, do as follows:
*
* getDef().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link IncludeDef }
*
*
*/
public List getDef() {
if (def == null) {
def = new ArrayList();
}
return this.def;
}
public Library.Includes withDef(IncludeDef... values) {
if (values!= null) {
for (IncludeDef value: values) {
getDef().add(value);
}
}
return this;
}
public Library.Includes withDef(Collection values) {
if (values!= null) {
getDef().addAll(values);
}
return this;
}
public boolean equals(ObjectLocator thisLocator, ObjectLocator thatLocator, Object object, EqualsStrategy strategy) {
if (!(object instanceof Library.Includes)) {
return false;
}
if (this == object) {
return true;
}
final Library.Includes that = ((Library.Includes) object);
{
List lhsDef;
lhsDef = (((this.def!= null)&&(!this.def.isEmpty()))?this.getDef():null);
List rhsDef;
rhsDef = (((that.def!= null)&&(!that.def.isEmpty()))?that.getDef():null);
if (!strategy.equals(LocatorUtils.property(thisLocator, "def", lhsDef), LocatorUtils.property(thatLocator, "def", rhsDef), lhsDef, rhsDef)) {
return false;
}
}
return true;
}
public boolean equals(Object object) {
final EqualsStrategy strategy = JAXBEqualsStrategy.INSTANCE;
return equals(null, null, object, strategy);
}
public int hashCode(ObjectLocator locator, HashCodeStrategy strategy) {
int currentHashCode = 1;
{
List theDef;
theDef = (((this.def!= null)&&(!this.def.isEmpty()))?this.getDef():null);
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "def", theDef), currentHashCode, theDef);
}
return currentHashCode;
}
public int hashCode() {
final HashCodeStrategy strategy = JAXBHashCodeStrategy.INSTANCE;
return this.hashCode(null, strategy);
}
public String toString() {
final ToStringStrategy strategy = JAXBToStringStrategy.INSTANCE;
final StringBuilder buffer = new StringBuilder();
append(null, buffer, strategy);
return buffer.toString();
}
public StringBuilder append(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) {
strategy.appendStart(locator, this, buffer);
appendFields(locator, buffer, strategy);
strategy.appendEnd(locator, this, buffer);
return buffer;
}
public StringBuilder appendFields(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) {
{
List theDef;
theDef = (((this.def!= null)&&(!this.def.isEmpty()))?this.getDef():null);
strategy.appendField(locator, this, "def", buffer, theDef);
}
return buffer;
}
}
/**
* Java class for anonymous complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="def" type="{urn:hl7-org:elm:r1}ParameterDef" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"def"
})
public static class Parameters
extends org.opencds.cqf.cql.elm.execution.Executable
implements Equals, HashCode, ToString
{
@XmlElement(namespace = "urn:hl7-org:elm:r1")
protected List def;
/**
* Gets the value of the def 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 def property.
*
*
* For example, to add a new item, do as follows:
*
* getDef().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link ParameterDef }
*
*
*/
public List getDef() {
if (def == null) {
def = new ArrayList();
}
return this.def;
}
public Library.Parameters withDef(ParameterDef... values) {
if (values!= null) {
for (ParameterDef value: values) {
getDef().add(value);
}
}
return this;
}
public Library.Parameters withDef(Collection values) {
if (values!= null) {
getDef().addAll(values);
}
return this;
}
public boolean equals(ObjectLocator thisLocator, ObjectLocator thatLocator, Object object, EqualsStrategy strategy) {
if (!(object instanceof Library.Parameters)) {
return false;
}
if (this == object) {
return true;
}
final Library.Parameters that = ((Library.Parameters) object);
{
List lhsDef;
lhsDef = (((this.def!= null)&&(!this.def.isEmpty()))?this.getDef():null);
List rhsDef;
rhsDef = (((that.def!= null)&&(!that.def.isEmpty()))?that.getDef():null);
if (!strategy.equals(LocatorUtils.property(thisLocator, "def", lhsDef), LocatorUtils.property(thatLocator, "def", rhsDef), lhsDef, rhsDef)) {
return false;
}
}
return true;
}
public boolean equals(Object object) {
final EqualsStrategy strategy = JAXBEqualsStrategy.INSTANCE;
return equals(null, null, object, strategy);
}
public int hashCode(ObjectLocator locator, HashCodeStrategy strategy) {
int currentHashCode = 1;
{
List theDef;
theDef = (((this.def!= null)&&(!this.def.isEmpty()))?this.getDef():null);
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "def", theDef), currentHashCode, theDef);
}
return currentHashCode;
}
public int hashCode() {
final HashCodeStrategy strategy = JAXBHashCodeStrategy.INSTANCE;
return this.hashCode(null, strategy);
}
public String toString() {
final ToStringStrategy strategy = JAXBToStringStrategy.INSTANCE;
final StringBuilder buffer = new StringBuilder();
append(null, buffer, strategy);
return buffer.toString();
}
public StringBuilder append(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) {
strategy.appendStart(locator, this, buffer);
appendFields(locator, buffer, strategy);
strategy.appendEnd(locator, this, buffer);
return buffer;
}
public StringBuilder appendFields(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) {
{
List theDef;
theDef = (((this.def!= null)&&(!this.def.isEmpty()))?this.getDef():null);
strategy.appendField(locator, this, "def", buffer, theDef);
}
return buffer;
}
}
/**
* Java class for anonymous complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="def" type="{urn:hl7-org:elm:r1}ExpressionDef" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"def"
})
public static class Statements
extends org.opencds.cqf.cql.elm.execution.Executable
implements Equals, HashCode, ToString
{
@XmlElement(namespace = "urn:hl7-org:elm:r1")
protected List def;
/**
* Gets the value of the def 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 def property.
*
*
* For example, to add a new item, do as follows:
*
* getDef().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link ExpressionDef }
*
*
*/
public List getDef() {
if (def == null) {
def = new ArrayList();
}
return this.def;
}
public Library.Statements withDef(ExpressionDef... values) {
if (values!= null) {
for (ExpressionDef value: values) {
getDef().add(value);
}
}
return this;
}
public Library.Statements withDef(Collection values) {
if (values!= null) {
getDef().addAll(values);
}
return this;
}
public boolean equals(ObjectLocator thisLocator, ObjectLocator thatLocator, Object object, EqualsStrategy strategy) {
if (!(object instanceof Library.Statements)) {
return false;
}
if (this == object) {
return true;
}
final Library.Statements that = ((Library.Statements) object);
{
List lhsDef;
lhsDef = (((this.def!= null)&&(!this.def.isEmpty()))?this.getDef():null);
List rhsDef;
rhsDef = (((that.def!= null)&&(!that.def.isEmpty()))?that.getDef():null);
if (!strategy.equals(LocatorUtils.property(thisLocator, "def", lhsDef), LocatorUtils.property(thatLocator, "def", rhsDef), lhsDef, rhsDef)) {
return false;
}
}
return true;
}
public boolean equals(Object object) {
final EqualsStrategy strategy = JAXBEqualsStrategy.INSTANCE;
return equals(null, null, object, strategy);
}
public int hashCode(ObjectLocator locator, HashCodeStrategy strategy) {
int currentHashCode = 1;
{
List theDef;
theDef = (((this.def!= null)&&(!this.def.isEmpty()))?this.getDef():null);
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "def", theDef), currentHashCode, theDef);
}
return currentHashCode;
}
public int hashCode() {
final HashCodeStrategy strategy = JAXBHashCodeStrategy.INSTANCE;
return this.hashCode(null, strategy);
}
public String toString() {
final ToStringStrategy strategy = JAXBToStringStrategy.INSTANCE;
final StringBuilder buffer = new StringBuilder();
append(null, buffer, strategy);
return buffer.toString();
}
public StringBuilder append(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) {
strategy.appendStart(locator, this, buffer);
appendFields(locator, buffer, strategy);
strategy.appendEnd(locator, this, buffer);
return buffer;
}
public StringBuilder appendFields(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) {
{
List theDef;
theDef = (((this.def!= null)&&(!this.def.isEmpty()))?this.getDef():null);
strategy.appendField(locator, this, "def", buffer, theDef);
}
return buffer;
}
}
/**
* Java class for anonymous complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="def" type="{urn:hl7-org:elm:r1}UsingDef" maxOccurs="unbounded"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"def"
})
public static class Usings
extends org.opencds.cqf.cql.elm.execution.Executable
implements Equals, HashCode, ToString
{
@XmlElement(namespace = "urn:hl7-org:elm:r1", required = true)
protected List def;
/**
* Gets the value of the def 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 def property.
*
*
* For example, to add a new item, do as follows:
*
* getDef().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link UsingDef }
*
*
*/
public List getDef() {
if (def == null) {
def = new ArrayList();
}
return this.def;
}
public Library.Usings withDef(UsingDef... values) {
if (values!= null) {
for (UsingDef value: values) {
getDef().add(value);
}
}
return this;
}
public Library.Usings withDef(Collection values) {
if (values!= null) {
getDef().addAll(values);
}
return this;
}
public boolean equals(ObjectLocator thisLocator, ObjectLocator thatLocator, Object object, EqualsStrategy strategy) {
if (!(object instanceof Library.Usings)) {
return false;
}
if (this == object) {
return true;
}
final Library.Usings that = ((Library.Usings) object);
{
List lhsDef;
lhsDef = (((this.def!= null)&&(!this.def.isEmpty()))?this.getDef():null);
List rhsDef;
rhsDef = (((that.def!= null)&&(!that.def.isEmpty()))?that.getDef():null);
if (!strategy.equals(LocatorUtils.property(thisLocator, "def", lhsDef), LocatorUtils.property(thatLocator, "def", rhsDef), lhsDef, rhsDef)) {
return false;
}
}
return true;
}
public boolean equals(Object object) {
final EqualsStrategy strategy = JAXBEqualsStrategy.INSTANCE;
return equals(null, null, object, strategy);
}
public int hashCode(ObjectLocator locator, HashCodeStrategy strategy) {
int currentHashCode = 1;
{
List theDef;
theDef = (((this.def!= null)&&(!this.def.isEmpty()))?this.getDef():null);
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "def", theDef), currentHashCode, theDef);
}
return currentHashCode;
}
public int hashCode() {
final HashCodeStrategy strategy = JAXBHashCodeStrategy.INSTANCE;
return this.hashCode(null, strategy);
}
public String toString() {
final ToStringStrategy strategy = JAXBToStringStrategy.INSTANCE;
final StringBuilder buffer = new StringBuilder();
append(null, buffer, strategy);
return buffer.toString();
}
public StringBuilder append(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) {
strategy.appendStart(locator, this, buffer);
appendFields(locator, buffer, strategy);
strategy.appendEnd(locator, this, buffer);
return buffer;
}
public StringBuilder appendFields(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) {
{
List theDef;
theDef = (((this.def!= null)&&(!this.def.isEmpty()))?this.getDef():null);
strategy.appendField(locator, this, "def", buffer, theDef);
}
return buffer;
}
}
/**
* Java class for anonymous complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="def" type="{urn:hl7-org:elm:r1}ValueSetDef" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"def"
})
public static class ValueSets
extends org.opencds.cqf.cql.elm.execution.Executable
implements Equals, HashCode, ToString
{
@XmlElement(namespace = "urn:hl7-org:elm:r1")
protected List def;
/**
* Gets the value of the def 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 def property.
*
*
* For example, to add a new item, do as follows:
*
* getDef().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link ValueSetDef }
*
*
*/
public List getDef() {
if (def == null) {
def = new ArrayList();
}
return this.def;
}
public Library.ValueSets withDef(ValueSetDef... values) {
if (values!= null) {
for (ValueSetDef value: values) {
getDef().add(value);
}
}
return this;
}
public Library.ValueSets withDef(Collection values) {
if (values!= null) {
getDef().addAll(values);
}
return this;
}
public boolean equals(ObjectLocator thisLocator, ObjectLocator thatLocator, Object object, EqualsStrategy strategy) {
if (!(object instanceof Library.ValueSets)) {
return false;
}
if (this == object) {
return true;
}
final Library.ValueSets that = ((Library.ValueSets) object);
{
List lhsDef;
lhsDef = (((this.def!= null)&&(!this.def.isEmpty()))?this.getDef():null);
List rhsDef;
rhsDef = (((that.def!= null)&&(!that.def.isEmpty()))?that.getDef():null);
if (!strategy.equals(LocatorUtils.property(thisLocator, "def", lhsDef), LocatorUtils.property(thatLocator, "def", rhsDef), lhsDef, rhsDef)) {
return false;
}
}
return true;
}
public boolean equals(Object object) {
final EqualsStrategy strategy = JAXBEqualsStrategy.INSTANCE;
return equals(null, null, object, strategy);
}
public int hashCode(ObjectLocator locator, HashCodeStrategy strategy) {
int currentHashCode = 1;
{
List theDef;
theDef = (((this.def!= null)&&(!this.def.isEmpty()))?this.getDef():null);
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "def", theDef), currentHashCode, theDef);
}
return currentHashCode;
}
public int hashCode() {
final HashCodeStrategy strategy = JAXBHashCodeStrategy.INSTANCE;
return this.hashCode(null, strategy);
}
public String toString() {
final ToStringStrategy strategy = JAXBToStringStrategy.INSTANCE;
final StringBuilder buffer = new StringBuilder();
append(null, buffer, strategy);
return buffer.toString();
}
public StringBuilder append(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) {
strategy.appendStart(locator, this, buffer);
appendFields(locator, buffer, strategy);
strategy.appendEnd(locator, this, buffer);
return buffer;
}
public StringBuilder appendFields(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) {
{
List theDef;
theDef = (((this.def!= null)&&(!this.def.isEmpty()))?this.getDef():null);
strategy.appendField(locator, this, "def", buffer, theDef);
}
return buffer;
}
}
}