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

org.hl7.fhir.OperationDefinition Maven / Gradle / Ivy

Go to download

The quick library for the Clinical Quality Language Java reference implementation

There is a newer version: 3.22.0
Show newest version
//
// 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.01.12 at 11:04:27 AM MST 
//


package org.hl7.fhir;

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 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;


/**
 * If the element is present, it must have either a @value, an @id, or extensions
 * 
 * 

Java class for OperationDefinition complex type. * *

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

 * <complexType name="OperationDefinition">
 *   <complexContent>
 *     <extension base="{http://hl7.org/fhir}DomainResource">
 *       <sequence>
 *         <element name="url" type="{http://hl7.org/fhir}uri" minOccurs="0"/>
 *         <element name="version" type="{http://hl7.org/fhir}string" minOccurs="0"/>
 *         <element name="name" type="{http://hl7.org/fhir}string"/>
 *         <element name="status" type="{http://hl7.org/fhir}ConformanceResourceStatus"/>
 *         <element name="kind" type="{http://hl7.org/fhir}OperationKind"/>
 *         <element name="experimental" type="{http://hl7.org/fhir}boolean" minOccurs="0"/>
 *         <element name="date" type="{http://hl7.org/fhir}dateTime" minOccurs="0"/>
 *         <element name="publisher" type="{http://hl7.org/fhir}string" minOccurs="0"/>
 *         <element name="contact" type="{http://hl7.org/fhir}OperationDefinition.Contact" maxOccurs="unbounded" minOccurs="0"/>
 *         <element name="description" type="{http://hl7.org/fhir}string" minOccurs="0"/>
 *         <element name="useContext" type="{http://hl7.org/fhir}CodeableConcept" maxOccurs="unbounded" minOccurs="0"/>
 *         <element name="requirements" type="{http://hl7.org/fhir}string" minOccurs="0"/>
 *         <element name="idempotent" type="{http://hl7.org/fhir}boolean" minOccurs="0"/>
 *         <element name="code" type="{http://hl7.org/fhir}code"/>
 *         <element name="comment" type="{http://hl7.org/fhir}string" minOccurs="0"/>
 *         <element name="base" type="{http://hl7.org/fhir}Reference" minOccurs="0"/>
 *         <element name="system" type="{http://hl7.org/fhir}boolean"/>
 *         <element name="type" type="{http://hl7.org/fhir}code" maxOccurs="unbounded" minOccurs="0"/>
 *         <element name="instance" type="{http://hl7.org/fhir}boolean"/>
 *         <element name="parameter" type="{http://hl7.org/fhir}OperationDefinition.Parameter" maxOccurs="unbounded" minOccurs="0"/>
 *       </sequence>
 *     </extension>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "OperationDefinition", propOrder = { "url", "version", "name", "status", "kind", "experimental", "date", "publisher", "contact", "description", "useContext", "requirements", "idempotent", "code", "comment", "base", "system", "type", "instance", "parameter" }) public class OperationDefinition extends DomainResource implements Equals, HashCode, ToString { protected Uri url; protected org.hl7.fhir.String version; @XmlElement(required = true) protected org.hl7.fhir.String name; @XmlElement(required = true) protected ConformanceResourceStatus status; @XmlElement(required = true) protected OperationKind kind; protected Boolean experimental; protected DateTime date; protected org.hl7.fhir.String publisher; protected List contact; protected org.hl7.fhir.String description; protected List useContext; protected org.hl7.fhir.String requirements; protected Boolean idempotent; @XmlElement(required = true) protected Code code; protected org.hl7.fhir.String comment; protected Reference base; @XmlElement(required = true) protected Boolean system; protected List type; @XmlElement(required = true) protected Boolean instance; protected List parameter; /** * Gets the value of the url property. * * @return * possible object is * {@link Uri } * */ public Uri getUrl() { return url; } /** * Sets the value of the url property. * * @param value * allowed object is * {@link Uri } * */ public void setUrl(Uri value) { this.url = value; } /** * Gets the value of the version property. * * @return * possible object is * {@link org.hl7.fhir.String } * */ public org.hl7.fhir.String getVersion() { return version; } /** * Sets the value of the version property. * * @param value * allowed object is * {@link org.hl7.fhir.String } * */ public void setVersion(org.hl7.fhir.String value) { this.version = value; } /** * Gets the value of the name property. * * @return * possible object is * {@link org.hl7.fhir.String } * */ public org.hl7.fhir.String getName() { return name; } /** * Sets the value of the name property. * * @param value * allowed object is * {@link org.hl7.fhir.String } * */ public void setName(org.hl7.fhir.String value) { this.name = value; } /** * Gets the value of the status property. * * @return * possible object is * {@link ConformanceResourceStatus } * */ public ConformanceResourceStatus getStatus() { return status; } /** * Sets the value of the status property. * * @param value * allowed object is * {@link ConformanceResourceStatus } * */ public void setStatus(ConformanceResourceStatus value) { this.status = value; } /** * Gets the value of the kind property. * * @return * possible object is * {@link OperationKind } * */ public OperationKind getKind() { return kind; } /** * Sets the value of the kind property. * * @param value * allowed object is * {@link OperationKind } * */ public void setKind(OperationKind value) { this.kind = value; } /** * Gets the value of the experimental property. * * @return * possible object is * {@link Boolean } * */ public Boolean getExperimental() { return experimental; } /** * Sets the value of the experimental property. * * @param value * allowed object is * {@link Boolean } * */ public void setExperimental(Boolean value) { this.experimental = value; } /** * Gets the value of the date property. * * @return * possible object is * {@link DateTime } * */ public DateTime getDate() { return date; } /** * Sets the value of the date property. * * @param value * allowed object is * {@link DateTime } * */ public void setDate(DateTime value) { this.date = value; } /** * Gets the value of the publisher property. * * @return * possible object is * {@link org.hl7.fhir.String } * */ public org.hl7.fhir.String getPublisher() { return publisher; } /** * Sets the value of the publisher property. * * @param value * allowed object is * {@link org.hl7.fhir.String } * */ public void setPublisher(org.hl7.fhir.String value) { this.publisher = value; } /** * Gets the value of the contact 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 contact property. * *

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

     *    getContact().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link OperationDefinitionContact } * * */ public List getContact() { if (contact == null) { contact = new ArrayList(); } return this.contact; } /** * Gets the value of the description property. * * @return * possible object is * {@link org.hl7.fhir.String } * */ public org.hl7.fhir.String getDescription() { return description; } /** * Sets the value of the description property. * * @param value * allowed object is * {@link org.hl7.fhir.String } * */ public void setDescription(org.hl7.fhir.String value) { this.description = value; } /** * Gets the value of the useContext 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 useContext property. * *

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

     *    getUseContext().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link CodeableConcept } * * */ public List getUseContext() { if (useContext == null) { useContext = new ArrayList(); } return this.useContext; } /** * Gets the value of the requirements property. * * @return * possible object is * {@link org.hl7.fhir.String } * */ public org.hl7.fhir.String getRequirements() { return requirements; } /** * Sets the value of the requirements property. * * @param value * allowed object is * {@link org.hl7.fhir.String } * */ public void setRequirements(org.hl7.fhir.String value) { this.requirements = value; } /** * Gets the value of the idempotent property. * * @return * possible object is * {@link Boolean } * */ public Boolean getIdempotent() { return idempotent; } /** * Sets the value of the idempotent property. * * @param value * allowed object is * {@link Boolean } * */ public void setIdempotent(Boolean value) { this.idempotent = value; } /** * Gets the value of the code property. * * @return * possible object is * {@link Code } * */ public Code getCode() { return code; } /** * Sets the value of the code property. * * @param value * allowed object is * {@link Code } * */ public void setCode(Code value) { this.code = value; } /** * Gets the value of the comment property. * * @return * possible object is * {@link org.hl7.fhir.String } * */ public org.hl7.fhir.String getComment() { return comment; } /** * Sets the value of the comment property. * * @param value * allowed object is * {@link org.hl7.fhir.String } * */ public void setComment(org.hl7.fhir.String value) { this.comment = value; } /** * Gets the value of the base property. * * @return * possible object is * {@link Reference } * */ public Reference getBase() { return base; } /** * Sets the value of the base property. * * @param value * allowed object is * {@link Reference } * */ public void setBase(Reference value) { this.base = value; } /** * Gets the value of the system property. * * @return * possible object is * {@link Boolean } * */ public Boolean getSystem() { return system; } /** * Sets the value of the system property. * * @param value * allowed object is * {@link Boolean } * */ public void setSystem(Boolean value) { this.system = value; } /** * Gets the value of the type 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 type property. * *

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

     *    getType().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link Code } * * */ public List getType() { if (type == null) { type = new ArrayList(); } return this.type; } /** * Gets the value of the instance property. * * @return * possible object is * {@link Boolean } * */ public Boolean getInstance() { return instance; } /** * Sets the value of the instance property. * * @param value * allowed object is * {@link Boolean } * */ public void setInstance(Boolean value) { this.instance = value; } /** * Gets the value of the parameter 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 parameter property. * *

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

     *    getParameter().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link OperationDefinitionParameter } * * */ public List getParameter() { if (parameter == null) { parameter = new ArrayList(); } return this.parameter; } public OperationDefinition withUrl(Uri value) { setUrl(value); return this; } public OperationDefinition withVersion(org.hl7.fhir.String value) { setVersion(value); return this; } public OperationDefinition withName(org.hl7.fhir.String value) { setName(value); return this; } public OperationDefinition withStatus(ConformanceResourceStatus value) { setStatus(value); return this; } public OperationDefinition withKind(OperationKind value) { setKind(value); return this; } public OperationDefinition withExperimental(Boolean value) { setExperimental(value); return this; } public OperationDefinition withDate(DateTime value) { setDate(value); return this; } public OperationDefinition withPublisher(org.hl7.fhir.String value) { setPublisher(value); return this; } public OperationDefinition withContact(OperationDefinitionContact... values) { if (values!= null) { for (OperationDefinitionContact value: values) { getContact().add(value); } } return this; } public OperationDefinition withContact(Collection values) { if (values!= null) { getContact().addAll(values); } return this; } public OperationDefinition withDescription(org.hl7.fhir.String value) { setDescription(value); return this; } public OperationDefinition withUseContext(CodeableConcept... values) { if (values!= null) { for (CodeableConcept value: values) { getUseContext().add(value); } } return this; } public OperationDefinition withUseContext(Collection values) { if (values!= null) { getUseContext().addAll(values); } return this; } public OperationDefinition withRequirements(org.hl7.fhir.String value) { setRequirements(value); return this; } public OperationDefinition withIdempotent(Boolean value) { setIdempotent(value); return this; } public OperationDefinition withCode(Code value) { setCode(value); return this; } public OperationDefinition withComment(org.hl7.fhir.String value) { setComment(value); return this; } public OperationDefinition withBase(Reference value) { setBase(value); return this; } public OperationDefinition withSystem(Boolean value) { setSystem(value); return this; } public OperationDefinition withType(Code... values) { if (values!= null) { for (Code value: values) { getType().add(value); } } return this; } public OperationDefinition withType(Collection values) { if (values!= null) { getType().addAll(values); } return this; } public OperationDefinition withInstance(Boolean value) { setInstance(value); return this; } public OperationDefinition withParameter(OperationDefinitionParameter... values) { if (values!= null) { for (OperationDefinitionParameter value: values) { getParameter().add(value); } } return this; } public OperationDefinition withParameter(Collection values) { if (values!= null) { getParameter().addAll(values); } return this; } @Override public OperationDefinition withText(Narrative value) { setText(value); return this; } @Override public OperationDefinition withContained(ResourceContainer... values) { if (values!= null) { for (ResourceContainer value: values) { getContained().add(value); } } return this; } @Override public OperationDefinition withContained(Collection values) { if (values!= null) { getContained().addAll(values); } return this; } @Override public OperationDefinition withExtension(Extension... values) { if (values!= null) { for (Extension value: values) { getExtension().add(value); } } return this; } @Override public OperationDefinition withExtension(Collection values) { if (values!= null) { getExtension().addAll(values); } return this; } @Override public OperationDefinition withModifierExtension(Extension... values) { if (values!= null) { for (Extension value: values) { getModifierExtension().add(value); } } return this; } @Override public OperationDefinition withModifierExtension(Collection values) { if (values!= null) { getModifierExtension().addAll(values); } return this; } @Override public OperationDefinition withId(Id value) { setId(value); return this; } @Override public OperationDefinition withMeta(Meta value) { setMeta(value); return this; } @Override public OperationDefinition withImplicitRules(Uri value) { setImplicitRules(value); return this; } @Override public OperationDefinition withLanguage(Code value) { setLanguage(value); return this; } public boolean equals(ObjectLocator thisLocator, ObjectLocator thatLocator, Object object, EqualsStrategy strategy) { if (!(object instanceof OperationDefinition)) { return false; } if (this == object) { return true; } if (!super.equals(thisLocator, thatLocator, object, strategy)) { return false; } final OperationDefinition that = ((OperationDefinition) object); { Uri lhsUrl; lhsUrl = this.getUrl(); Uri rhsUrl; rhsUrl = that.getUrl(); if (!strategy.equals(LocatorUtils.property(thisLocator, "url", lhsUrl), LocatorUtils.property(thatLocator, "url", rhsUrl), lhsUrl, rhsUrl)) { return false; } } { org.hl7.fhir.String lhsVersion; lhsVersion = this.getVersion(); org.hl7.fhir.String rhsVersion; rhsVersion = that.getVersion(); if (!strategy.equals(LocatorUtils.property(thisLocator, "version", lhsVersion), LocatorUtils.property(thatLocator, "version", rhsVersion), lhsVersion, rhsVersion)) { return false; } } { org.hl7.fhir.String lhsName; lhsName = this.getName(); org.hl7.fhir.String rhsName; rhsName = that.getName(); if (!strategy.equals(LocatorUtils.property(thisLocator, "name", lhsName), LocatorUtils.property(thatLocator, "name", rhsName), lhsName, rhsName)) { return false; } } { ConformanceResourceStatus lhsStatus; lhsStatus = this.getStatus(); ConformanceResourceStatus rhsStatus; rhsStatus = that.getStatus(); if (!strategy.equals(LocatorUtils.property(thisLocator, "status", lhsStatus), LocatorUtils.property(thatLocator, "status", rhsStatus), lhsStatus, rhsStatus)) { return false; } } { OperationKind lhsKind; lhsKind = this.getKind(); OperationKind rhsKind; rhsKind = that.getKind(); if (!strategy.equals(LocatorUtils.property(thisLocator, "kind", lhsKind), LocatorUtils.property(thatLocator, "kind", rhsKind), lhsKind, rhsKind)) { return false; } } { Boolean lhsExperimental; lhsExperimental = this.getExperimental(); Boolean rhsExperimental; rhsExperimental = that.getExperimental(); if (!strategy.equals(LocatorUtils.property(thisLocator, "experimental", lhsExperimental), LocatorUtils.property(thatLocator, "experimental", rhsExperimental), lhsExperimental, rhsExperimental)) { return false; } } { DateTime lhsDate; lhsDate = this.getDate(); DateTime rhsDate; rhsDate = that.getDate(); if (!strategy.equals(LocatorUtils.property(thisLocator, "date", lhsDate), LocatorUtils.property(thatLocator, "date", rhsDate), lhsDate, rhsDate)) { return false; } } { org.hl7.fhir.String lhsPublisher; lhsPublisher = this.getPublisher(); org.hl7.fhir.String rhsPublisher; rhsPublisher = that.getPublisher(); if (!strategy.equals(LocatorUtils.property(thisLocator, "publisher", lhsPublisher), LocatorUtils.property(thatLocator, "publisher", rhsPublisher), lhsPublisher, rhsPublisher)) { return false; } } { List lhsContact; lhsContact = (((this.contact!= null)&&(!this.contact.isEmpty()))?this.getContact():null); List rhsContact; rhsContact = (((that.contact!= null)&&(!that.contact.isEmpty()))?that.getContact():null); if (!strategy.equals(LocatorUtils.property(thisLocator, "contact", lhsContact), LocatorUtils.property(thatLocator, "contact", rhsContact), lhsContact, rhsContact)) { return false; } } { org.hl7.fhir.String lhsDescription; lhsDescription = this.getDescription(); org.hl7.fhir.String rhsDescription; rhsDescription = that.getDescription(); if (!strategy.equals(LocatorUtils.property(thisLocator, "description", lhsDescription), LocatorUtils.property(thatLocator, "description", rhsDescription), lhsDescription, rhsDescription)) { return false; } } { List lhsUseContext; lhsUseContext = (((this.useContext!= null)&&(!this.useContext.isEmpty()))?this.getUseContext():null); List rhsUseContext; rhsUseContext = (((that.useContext!= null)&&(!that.useContext.isEmpty()))?that.getUseContext():null); if (!strategy.equals(LocatorUtils.property(thisLocator, "useContext", lhsUseContext), LocatorUtils.property(thatLocator, "useContext", rhsUseContext), lhsUseContext, rhsUseContext)) { return false; } } { org.hl7.fhir.String lhsRequirements; lhsRequirements = this.getRequirements(); org.hl7.fhir.String rhsRequirements; rhsRequirements = that.getRequirements(); if (!strategy.equals(LocatorUtils.property(thisLocator, "requirements", lhsRequirements), LocatorUtils.property(thatLocator, "requirements", rhsRequirements), lhsRequirements, rhsRequirements)) { return false; } } { Boolean lhsIdempotent; lhsIdempotent = this.getIdempotent(); Boolean rhsIdempotent; rhsIdempotent = that.getIdempotent(); if (!strategy.equals(LocatorUtils.property(thisLocator, "idempotent", lhsIdempotent), LocatorUtils.property(thatLocator, "idempotent", rhsIdempotent), lhsIdempotent, rhsIdempotent)) { return false; } } { Code lhsCode; lhsCode = this.getCode(); Code rhsCode; rhsCode = that.getCode(); if (!strategy.equals(LocatorUtils.property(thisLocator, "code", lhsCode), LocatorUtils.property(thatLocator, "code", rhsCode), lhsCode, rhsCode)) { return false; } } { org.hl7.fhir.String lhsComment; lhsComment = this.getComment(); org.hl7.fhir.String rhsComment; rhsComment = that.getComment(); if (!strategy.equals(LocatorUtils.property(thisLocator, "comment", lhsComment), LocatorUtils.property(thatLocator, "comment", rhsComment), lhsComment, rhsComment)) { return false; } } { Reference lhsBase; lhsBase = this.getBase(); Reference rhsBase; rhsBase = that.getBase(); if (!strategy.equals(LocatorUtils.property(thisLocator, "base", lhsBase), LocatorUtils.property(thatLocator, "base", rhsBase), lhsBase, rhsBase)) { return false; } } { Boolean lhsSystem; lhsSystem = this.getSystem(); Boolean rhsSystem; rhsSystem = that.getSystem(); if (!strategy.equals(LocatorUtils.property(thisLocator, "system", lhsSystem), LocatorUtils.property(thatLocator, "system", rhsSystem), lhsSystem, rhsSystem)) { return false; } } { List lhsType; lhsType = (((this.type!= null)&&(!this.type.isEmpty()))?this.getType():null); List rhsType; rhsType = (((that.type!= null)&&(!that.type.isEmpty()))?that.getType():null); if (!strategy.equals(LocatorUtils.property(thisLocator, "type", lhsType), LocatorUtils.property(thatLocator, "type", rhsType), lhsType, rhsType)) { return false; } } { Boolean lhsInstance; lhsInstance = this.getInstance(); Boolean rhsInstance; rhsInstance = that.getInstance(); if (!strategy.equals(LocatorUtils.property(thisLocator, "instance", lhsInstance), LocatorUtils.property(thatLocator, "instance", rhsInstance), lhsInstance, rhsInstance)) { return false; } } { List lhsParameter; lhsParameter = (((this.parameter!= null)&&(!this.parameter.isEmpty()))?this.getParameter():null); List rhsParameter; rhsParameter = (((that.parameter!= null)&&(!that.parameter.isEmpty()))?that.getParameter():null); if (!strategy.equals(LocatorUtils.property(thisLocator, "parameter", lhsParameter), LocatorUtils.property(thatLocator, "parameter", rhsParameter), lhsParameter, rhsParameter)) { 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); { Uri theUrl; theUrl = this.getUrl(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "url", theUrl), currentHashCode, theUrl); } { org.hl7.fhir.String theVersion; theVersion = this.getVersion(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "version", theVersion), currentHashCode, theVersion); } { org.hl7.fhir.String theName; theName = this.getName(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "name", theName), currentHashCode, theName); } { ConformanceResourceStatus theStatus; theStatus = this.getStatus(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "status", theStatus), currentHashCode, theStatus); } { OperationKind theKind; theKind = this.getKind(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "kind", theKind), currentHashCode, theKind); } { Boolean theExperimental; theExperimental = this.getExperimental(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "experimental", theExperimental), currentHashCode, theExperimental); } { DateTime theDate; theDate = this.getDate(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "date", theDate), currentHashCode, theDate); } { org.hl7.fhir.String thePublisher; thePublisher = this.getPublisher(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "publisher", thePublisher), currentHashCode, thePublisher); } { List theContact; theContact = (((this.contact!= null)&&(!this.contact.isEmpty()))?this.getContact():null); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "contact", theContact), currentHashCode, theContact); } { org.hl7.fhir.String theDescription; theDescription = this.getDescription(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "description", theDescription), currentHashCode, theDescription); } { List theUseContext; theUseContext = (((this.useContext!= null)&&(!this.useContext.isEmpty()))?this.getUseContext():null); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "useContext", theUseContext), currentHashCode, theUseContext); } { org.hl7.fhir.String theRequirements; theRequirements = this.getRequirements(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "requirements", theRequirements), currentHashCode, theRequirements); } { Boolean theIdempotent; theIdempotent = this.getIdempotent(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "idempotent", theIdempotent), currentHashCode, theIdempotent); } { Code theCode; theCode = this.getCode(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "code", theCode), currentHashCode, theCode); } { org.hl7.fhir.String theComment; theComment = this.getComment(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "comment", theComment), currentHashCode, theComment); } { Reference theBase; theBase = this.getBase(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "base", theBase), currentHashCode, theBase); } { Boolean theSystem; theSystem = this.getSystem(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "system", theSystem), currentHashCode, theSystem); } { List theType; theType = (((this.type!= null)&&(!this.type.isEmpty()))?this.getType():null); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "type", theType), currentHashCode, theType); } { Boolean theInstance; theInstance = this.getInstance(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "instance", theInstance), currentHashCode, theInstance); } { List theParameter; theParameter = (((this.parameter!= null)&&(!this.parameter.isEmpty()))?this.getParameter():null); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "parameter", theParameter), currentHashCode, theParameter); } return currentHashCode; } public int hashCode() { final HashCodeStrategy strategy = JAXBHashCodeStrategy.INSTANCE; return this.hashCode(null, strategy); } public java.lang.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); { Uri theUrl; theUrl = this.getUrl(); strategy.appendField(locator, this, "url", buffer, theUrl); } { org.hl7.fhir.String theVersion; theVersion = this.getVersion(); strategy.appendField(locator, this, "version", buffer, theVersion); } { org.hl7.fhir.String theName; theName = this.getName(); strategy.appendField(locator, this, "name", buffer, theName); } { ConformanceResourceStatus theStatus; theStatus = this.getStatus(); strategy.appendField(locator, this, "status", buffer, theStatus); } { OperationKind theKind; theKind = this.getKind(); strategy.appendField(locator, this, "kind", buffer, theKind); } { Boolean theExperimental; theExperimental = this.getExperimental(); strategy.appendField(locator, this, "experimental", buffer, theExperimental); } { DateTime theDate; theDate = this.getDate(); strategy.appendField(locator, this, "date", buffer, theDate); } { org.hl7.fhir.String thePublisher; thePublisher = this.getPublisher(); strategy.appendField(locator, this, "publisher", buffer, thePublisher); } { List theContact; theContact = (((this.contact!= null)&&(!this.contact.isEmpty()))?this.getContact():null); strategy.appendField(locator, this, "contact", buffer, theContact); } { org.hl7.fhir.String theDescription; theDescription = this.getDescription(); strategy.appendField(locator, this, "description", buffer, theDescription); } { List theUseContext; theUseContext = (((this.useContext!= null)&&(!this.useContext.isEmpty()))?this.getUseContext():null); strategy.appendField(locator, this, "useContext", buffer, theUseContext); } { org.hl7.fhir.String theRequirements; theRequirements = this.getRequirements(); strategy.appendField(locator, this, "requirements", buffer, theRequirements); } { Boolean theIdempotent; theIdempotent = this.getIdempotent(); strategy.appendField(locator, this, "idempotent", buffer, theIdempotent); } { Code theCode; theCode = this.getCode(); strategy.appendField(locator, this, "code", buffer, theCode); } { org.hl7.fhir.String theComment; theComment = this.getComment(); strategy.appendField(locator, this, "comment", buffer, theComment); } { Reference theBase; theBase = this.getBase(); strategy.appendField(locator, this, "base", buffer, theBase); } { Boolean theSystem; theSystem = this.getSystem(); strategy.appendField(locator, this, "system", buffer, theSystem); } { List theType; theType = (((this.type!= null)&&(!this.type.isEmpty()))?this.getType():null); strategy.appendField(locator, this, "type", buffer, theType); } { Boolean theInstance; theInstance = this.getInstance(); strategy.appendField(locator, this, "instance", buffer, theInstance); } { List theParameter; theParameter = (((this.parameter!= null)&&(!this.parameter.isEmpty()))?this.getParameter():null); strategy.appendField(locator, this, "parameter", buffer, theParameter); } return buffer; } }