org.hl7.fhir.PaymentNotice Maven / Gradle / Ivy
Show all versions of quick Show documentation
//
// 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.03.21 at 12:42:34 PM MDT
//
package org.hl7.fhir;
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.XmlElement;
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;
/**
* If the element is present, it must have either a @value, an @id, or extensions
*
* Java class for PaymentNotice complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="PaymentNotice">
* <complexContent>
* <extension base="{http://hl7.org/fhir}DomainResource">
* <sequence>
* <element name="identifier" type="{http://hl7.org/fhir}Identifier" maxOccurs="unbounded" minOccurs="0"/>
* <element name="ruleset" type="{http://hl7.org/fhir}Coding" minOccurs="0"/>
* <element name="originalRuleset" type="{http://hl7.org/fhir}Coding" minOccurs="0"/>
* <element name="created" type="{http://hl7.org/fhir}dateTime" minOccurs="0"/>
* <choice minOccurs="0">
* <element name="targetIdentifier" type="{http://hl7.org/fhir}Identifier"/>
* <element name="targetReference" type="{http://hl7.org/fhir}Reference"/>
* </choice>
* <choice minOccurs="0">
* <element name="providerIdentifier" type="{http://hl7.org/fhir}Identifier"/>
* <element name="providerReference" type="{http://hl7.org/fhir}Reference"/>
* </choice>
* <choice minOccurs="0">
* <element name="organizationIdentifier" type="{http://hl7.org/fhir}Identifier"/>
* <element name="organizationReference" type="{http://hl7.org/fhir}Reference"/>
* </choice>
* <choice minOccurs="0">
* <element name="requestIdentifier" type="{http://hl7.org/fhir}Identifier"/>
* <element name="requestReference" type="{http://hl7.org/fhir}Reference"/>
* </choice>
* <choice minOccurs="0">
* <element name="responseIdentifier" type="{http://hl7.org/fhir}Identifier"/>
* <element name="responseReference" type="{http://hl7.org/fhir}Reference"/>
* </choice>
* <element name="paymentStatus" type="{http://hl7.org/fhir}Coding"/>
* <element name="statusDate" type="{http://hl7.org/fhir}date" minOccurs="0"/>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "PaymentNotice", propOrder = {
"identifier",
"ruleset",
"originalRuleset",
"created",
"targetIdentifier",
"targetReference",
"providerIdentifier",
"providerReference",
"organizationIdentifier",
"organizationReference",
"requestIdentifier",
"requestReference",
"responseIdentifier",
"responseReference",
"paymentStatus",
"statusDate"
})
public class PaymentNotice
extends DomainResource
implements Equals2, HashCode2, ToString2
{
protected List identifier;
protected Coding ruleset;
protected Coding originalRuleset;
protected DateTime created;
protected Identifier targetIdentifier;
protected Reference targetReference;
protected Identifier providerIdentifier;
protected Reference providerReference;
protected Identifier organizationIdentifier;
protected Reference organizationReference;
protected Identifier requestIdentifier;
protected Reference requestReference;
protected Identifier responseIdentifier;
protected Reference responseReference;
@XmlElement(required = true)
protected Coding paymentStatus;
protected Date statusDate;
/**
* Gets the value of the identifier 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 identifier property.
*
*
* For example, to add a new item, do as follows:
*
* getIdentifier().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link Identifier }
*
*
*/
public List getIdentifier() {
if (identifier == null) {
identifier = new ArrayList();
}
return this.identifier;
}
/**
* Gets the value of the ruleset property.
*
* @return
* possible object is
* {@link Coding }
*
*/
public Coding getRuleset() {
return ruleset;
}
/**
* Sets the value of the ruleset property.
*
* @param value
* allowed object is
* {@link Coding }
*
*/
public void setRuleset(Coding value) {
this.ruleset = value;
}
/**
* Gets the value of the originalRuleset property.
*
* @return
* possible object is
* {@link Coding }
*
*/
public Coding getOriginalRuleset() {
return originalRuleset;
}
/**
* Sets the value of the originalRuleset property.
*
* @param value
* allowed object is
* {@link Coding }
*
*/
public void setOriginalRuleset(Coding value) {
this.originalRuleset = value;
}
/**
* Gets the value of the created property.
*
* @return
* possible object is
* {@link DateTime }
*
*/
public DateTime getCreated() {
return created;
}
/**
* Sets the value of the created property.
*
* @param value
* allowed object is
* {@link DateTime }
*
*/
public void setCreated(DateTime value) {
this.created = value;
}
/**
* Gets the value of the targetIdentifier property.
*
* @return
* possible object is
* {@link Identifier }
*
*/
public Identifier getTargetIdentifier() {
return targetIdentifier;
}
/**
* Sets the value of the targetIdentifier property.
*
* @param value
* allowed object is
* {@link Identifier }
*
*/
public void setTargetIdentifier(Identifier value) {
this.targetIdentifier = value;
}
/**
* Gets the value of the targetReference property.
*
* @return
* possible object is
* {@link Reference }
*
*/
public Reference getTargetReference() {
return targetReference;
}
/**
* Sets the value of the targetReference property.
*
* @param value
* allowed object is
* {@link Reference }
*
*/
public void setTargetReference(Reference value) {
this.targetReference = value;
}
/**
* Gets the value of the providerIdentifier property.
*
* @return
* possible object is
* {@link Identifier }
*
*/
public Identifier getProviderIdentifier() {
return providerIdentifier;
}
/**
* Sets the value of the providerIdentifier property.
*
* @param value
* allowed object is
* {@link Identifier }
*
*/
public void setProviderIdentifier(Identifier value) {
this.providerIdentifier = value;
}
/**
* Gets the value of the providerReference property.
*
* @return
* possible object is
* {@link Reference }
*
*/
public Reference getProviderReference() {
return providerReference;
}
/**
* Sets the value of the providerReference property.
*
* @param value
* allowed object is
* {@link Reference }
*
*/
public void setProviderReference(Reference value) {
this.providerReference = value;
}
/**
* Gets the value of the organizationIdentifier property.
*
* @return
* possible object is
* {@link Identifier }
*
*/
public Identifier getOrganizationIdentifier() {
return organizationIdentifier;
}
/**
* Sets the value of the organizationIdentifier property.
*
* @param value
* allowed object is
* {@link Identifier }
*
*/
public void setOrganizationIdentifier(Identifier value) {
this.organizationIdentifier = value;
}
/**
* Gets the value of the organizationReference property.
*
* @return
* possible object is
* {@link Reference }
*
*/
public Reference getOrganizationReference() {
return organizationReference;
}
/**
* Sets the value of the organizationReference property.
*
* @param value
* allowed object is
* {@link Reference }
*
*/
public void setOrganizationReference(Reference value) {
this.organizationReference = value;
}
/**
* Gets the value of the requestIdentifier property.
*
* @return
* possible object is
* {@link Identifier }
*
*/
public Identifier getRequestIdentifier() {
return requestIdentifier;
}
/**
* Sets the value of the requestIdentifier property.
*
* @param value
* allowed object is
* {@link Identifier }
*
*/
public void setRequestIdentifier(Identifier value) {
this.requestIdentifier = value;
}
/**
* Gets the value of the requestReference property.
*
* @return
* possible object is
* {@link Reference }
*
*/
public Reference getRequestReference() {
return requestReference;
}
/**
* Sets the value of the requestReference property.
*
* @param value
* allowed object is
* {@link Reference }
*
*/
public void setRequestReference(Reference value) {
this.requestReference = value;
}
/**
* Gets the value of the responseIdentifier property.
*
* @return
* possible object is
* {@link Identifier }
*
*/
public Identifier getResponseIdentifier() {
return responseIdentifier;
}
/**
* Sets the value of the responseIdentifier property.
*
* @param value
* allowed object is
* {@link Identifier }
*
*/
public void setResponseIdentifier(Identifier value) {
this.responseIdentifier = value;
}
/**
* Gets the value of the responseReference property.
*
* @return
* possible object is
* {@link Reference }
*
*/
public Reference getResponseReference() {
return responseReference;
}
/**
* Sets the value of the responseReference property.
*
* @param value
* allowed object is
* {@link Reference }
*
*/
public void setResponseReference(Reference value) {
this.responseReference = value;
}
/**
* Gets the value of the paymentStatus property.
*
* @return
* possible object is
* {@link Coding }
*
*/
public Coding getPaymentStatus() {
return paymentStatus;
}
/**
* Sets the value of the paymentStatus property.
*
* @param value
* allowed object is
* {@link Coding }
*
*/
public void setPaymentStatus(Coding value) {
this.paymentStatus = value;
}
/**
* Gets the value of the statusDate property.
*
* @return
* possible object is
* {@link Date }
*
*/
public Date getStatusDate() {
return statusDate;
}
/**
* Sets the value of the statusDate property.
*
* @param value
* allowed object is
* {@link Date }
*
*/
public void setStatusDate(Date value) {
this.statusDate = value;
}
public PaymentNotice withIdentifier(Identifier... values) {
if (values!= null) {
for (Identifier value: values) {
getIdentifier().add(value);
}
}
return this;
}
public PaymentNotice withIdentifier(Collection values) {
if (values!= null) {
getIdentifier().addAll(values);
}
return this;
}
public PaymentNotice withRuleset(Coding value) {
setRuleset(value);
return this;
}
public PaymentNotice withOriginalRuleset(Coding value) {
setOriginalRuleset(value);
return this;
}
public PaymentNotice withCreated(DateTime value) {
setCreated(value);
return this;
}
public PaymentNotice withTargetIdentifier(Identifier value) {
setTargetIdentifier(value);
return this;
}
public PaymentNotice withTargetReference(Reference value) {
setTargetReference(value);
return this;
}
public PaymentNotice withProviderIdentifier(Identifier value) {
setProviderIdentifier(value);
return this;
}
public PaymentNotice withProviderReference(Reference value) {
setProviderReference(value);
return this;
}
public PaymentNotice withOrganizationIdentifier(Identifier value) {
setOrganizationIdentifier(value);
return this;
}
public PaymentNotice withOrganizationReference(Reference value) {
setOrganizationReference(value);
return this;
}
public PaymentNotice withRequestIdentifier(Identifier value) {
setRequestIdentifier(value);
return this;
}
public PaymentNotice withRequestReference(Reference value) {
setRequestReference(value);
return this;
}
public PaymentNotice withResponseIdentifier(Identifier value) {
setResponseIdentifier(value);
return this;
}
public PaymentNotice withResponseReference(Reference value) {
setResponseReference(value);
return this;
}
public PaymentNotice withPaymentStatus(Coding value) {
setPaymentStatus(value);
return this;
}
public PaymentNotice withStatusDate(Date value) {
setStatusDate(value);
return this;
}
@Override
public PaymentNotice withText(Narrative value) {
setText(value);
return this;
}
@Override
public PaymentNotice withContained(ResourceContainer... values) {
if (values!= null) {
for (ResourceContainer value: values) {
getContained().add(value);
}
}
return this;
}
@Override
public PaymentNotice withContained(Collection values) {
if (values!= null) {
getContained().addAll(values);
}
return this;
}
@Override
public PaymentNotice withExtension(Extension... values) {
if (values!= null) {
for (Extension value: values) {
getExtension().add(value);
}
}
return this;
}
@Override
public PaymentNotice withExtension(Collection values) {
if (values!= null) {
getExtension().addAll(values);
}
return this;
}
@Override
public PaymentNotice withModifierExtension(Extension... values) {
if (values!= null) {
for (Extension value: values) {
getModifierExtension().add(value);
}
}
return this;
}
@Override
public PaymentNotice withModifierExtension(Collection values) {
if (values!= null) {
getModifierExtension().addAll(values);
}
return this;
}
@Override
public PaymentNotice withId(Id value) {
setId(value);
return this;
}
@Override
public PaymentNotice withMeta(Meta value) {
setMeta(value);
return this;
}
@Override
public PaymentNotice withImplicitRules(Uri value) {
setImplicitRules(value);
return this;
}
@Override
public PaymentNotice withLanguage(Code value) {
setLanguage(value);
return this;
}
@Override
public boolean equals(ObjectLocator thisLocator, ObjectLocator thatLocator, Object object, EqualsStrategy2 strategy) {
if ((object == null)||(this.getClass()!= object.getClass())) {
return false;
}
if (this == object) {
return true;
}
if (!super.equals(thisLocator, thatLocator, object, strategy)) {
return false;
}
final PaymentNotice that = ((PaymentNotice) object);
{
List lhsIdentifier;
lhsIdentifier = (((this.identifier!= null)&&(!this.identifier.isEmpty()))?this.getIdentifier():null);
List rhsIdentifier;
rhsIdentifier = (((that.identifier!= null)&&(!that.identifier.isEmpty()))?that.getIdentifier():null);
if (!strategy.equals(LocatorUtils.property(thisLocator, "identifier", lhsIdentifier), LocatorUtils.property(thatLocator, "identifier", rhsIdentifier), lhsIdentifier, rhsIdentifier, ((this.identifier!= null)&&(!this.identifier.isEmpty())), ((that.identifier!= null)&&(!that.identifier.isEmpty())))) {
return false;
}
}
{
Coding lhsRuleset;
lhsRuleset = this.getRuleset();
Coding rhsRuleset;
rhsRuleset = that.getRuleset();
if (!strategy.equals(LocatorUtils.property(thisLocator, "ruleset", lhsRuleset), LocatorUtils.property(thatLocator, "ruleset", rhsRuleset), lhsRuleset, rhsRuleset, (this.ruleset!= null), (that.ruleset!= null))) {
return false;
}
}
{
Coding lhsOriginalRuleset;
lhsOriginalRuleset = this.getOriginalRuleset();
Coding rhsOriginalRuleset;
rhsOriginalRuleset = that.getOriginalRuleset();
if (!strategy.equals(LocatorUtils.property(thisLocator, "originalRuleset", lhsOriginalRuleset), LocatorUtils.property(thatLocator, "originalRuleset", rhsOriginalRuleset), lhsOriginalRuleset, rhsOriginalRuleset, (this.originalRuleset!= null), (that.originalRuleset!= null))) {
return false;
}
}
{
DateTime lhsCreated;
lhsCreated = this.getCreated();
DateTime rhsCreated;
rhsCreated = that.getCreated();
if (!strategy.equals(LocatorUtils.property(thisLocator, "created", lhsCreated), LocatorUtils.property(thatLocator, "created", rhsCreated), lhsCreated, rhsCreated, (this.created!= null), (that.created!= null))) {
return false;
}
}
{
Identifier lhsTargetIdentifier;
lhsTargetIdentifier = this.getTargetIdentifier();
Identifier rhsTargetIdentifier;
rhsTargetIdentifier = that.getTargetIdentifier();
if (!strategy.equals(LocatorUtils.property(thisLocator, "targetIdentifier", lhsTargetIdentifier), LocatorUtils.property(thatLocator, "targetIdentifier", rhsTargetIdentifier), lhsTargetIdentifier, rhsTargetIdentifier, (this.targetIdentifier!= null), (that.targetIdentifier!= null))) {
return false;
}
}
{
Reference lhsTargetReference;
lhsTargetReference = this.getTargetReference();
Reference rhsTargetReference;
rhsTargetReference = that.getTargetReference();
if (!strategy.equals(LocatorUtils.property(thisLocator, "targetReference", lhsTargetReference), LocatorUtils.property(thatLocator, "targetReference", rhsTargetReference), lhsTargetReference, rhsTargetReference, (this.targetReference!= null), (that.targetReference!= null))) {
return false;
}
}
{
Identifier lhsProviderIdentifier;
lhsProviderIdentifier = this.getProviderIdentifier();
Identifier rhsProviderIdentifier;
rhsProviderIdentifier = that.getProviderIdentifier();
if (!strategy.equals(LocatorUtils.property(thisLocator, "providerIdentifier", lhsProviderIdentifier), LocatorUtils.property(thatLocator, "providerIdentifier", rhsProviderIdentifier), lhsProviderIdentifier, rhsProviderIdentifier, (this.providerIdentifier!= null), (that.providerIdentifier!= null))) {
return false;
}
}
{
Reference lhsProviderReference;
lhsProviderReference = this.getProviderReference();
Reference rhsProviderReference;
rhsProviderReference = that.getProviderReference();
if (!strategy.equals(LocatorUtils.property(thisLocator, "providerReference", lhsProviderReference), LocatorUtils.property(thatLocator, "providerReference", rhsProviderReference), lhsProviderReference, rhsProviderReference, (this.providerReference!= null), (that.providerReference!= null))) {
return false;
}
}
{
Identifier lhsOrganizationIdentifier;
lhsOrganizationIdentifier = this.getOrganizationIdentifier();
Identifier rhsOrganizationIdentifier;
rhsOrganizationIdentifier = that.getOrganizationIdentifier();
if (!strategy.equals(LocatorUtils.property(thisLocator, "organizationIdentifier", lhsOrganizationIdentifier), LocatorUtils.property(thatLocator, "organizationIdentifier", rhsOrganizationIdentifier), lhsOrganizationIdentifier, rhsOrganizationIdentifier, (this.organizationIdentifier!= null), (that.organizationIdentifier!= null))) {
return false;
}
}
{
Reference lhsOrganizationReference;
lhsOrganizationReference = this.getOrganizationReference();
Reference rhsOrganizationReference;
rhsOrganizationReference = that.getOrganizationReference();
if (!strategy.equals(LocatorUtils.property(thisLocator, "organizationReference", lhsOrganizationReference), LocatorUtils.property(thatLocator, "organizationReference", rhsOrganizationReference), lhsOrganizationReference, rhsOrganizationReference, (this.organizationReference!= null), (that.organizationReference!= null))) {
return false;
}
}
{
Identifier lhsRequestIdentifier;
lhsRequestIdentifier = this.getRequestIdentifier();
Identifier rhsRequestIdentifier;
rhsRequestIdentifier = that.getRequestIdentifier();
if (!strategy.equals(LocatorUtils.property(thisLocator, "requestIdentifier", lhsRequestIdentifier), LocatorUtils.property(thatLocator, "requestIdentifier", rhsRequestIdentifier), lhsRequestIdentifier, rhsRequestIdentifier, (this.requestIdentifier!= null), (that.requestIdentifier!= null))) {
return false;
}
}
{
Reference lhsRequestReference;
lhsRequestReference = this.getRequestReference();
Reference rhsRequestReference;
rhsRequestReference = that.getRequestReference();
if (!strategy.equals(LocatorUtils.property(thisLocator, "requestReference", lhsRequestReference), LocatorUtils.property(thatLocator, "requestReference", rhsRequestReference), lhsRequestReference, rhsRequestReference, (this.requestReference!= null), (that.requestReference!= null))) {
return false;
}
}
{
Identifier lhsResponseIdentifier;
lhsResponseIdentifier = this.getResponseIdentifier();
Identifier rhsResponseIdentifier;
rhsResponseIdentifier = that.getResponseIdentifier();
if (!strategy.equals(LocatorUtils.property(thisLocator, "responseIdentifier", lhsResponseIdentifier), LocatorUtils.property(thatLocator, "responseIdentifier", rhsResponseIdentifier), lhsResponseIdentifier, rhsResponseIdentifier, (this.responseIdentifier!= null), (that.responseIdentifier!= null))) {
return false;
}
}
{
Reference lhsResponseReference;
lhsResponseReference = this.getResponseReference();
Reference rhsResponseReference;
rhsResponseReference = that.getResponseReference();
if (!strategy.equals(LocatorUtils.property(thisLocator, "responseReference", lhsResponseReference), LocatorUtils.property(thatLocator, "responseReference", rhsResponseReference), lhsResponseReference, rhsResponseReference, (this.responseReference!= null), (that.responseReference!= null))) {
return false;
}
}
{
Coding lhsPaymentStatus;
lhsPaymentStatus = this.getPaymentStatus();
Coding rhsPaymentStatus;
rhsPaymentStatus = that.getPaymentStatus();
if (!strategy.equals(LocatorUtils.property(thisLocator, "paymentStatus", lhsPaymentStatus), LocatorUtils.property(thatLocator, "paymentStatus", rhsPaymentStatus), lhsPaymentStatus, rhsPaymentStatus, (this.paymentStatus!= null), (that.paymentStatus!= null))) {
return false;
}
}
{
Date lhsStatusDate;
lhsStatusDate = this.getStatusDate();
Date rhsStatusDate;
rhsStatusDate = that.getStatusDate();
if (!strategy.equals(LocatorUtils.property(thisLocator, "statusDate", lhsStatusDate), LocatorUtils.property(thatLocator, "statusDate", rhsStatusDate), lhsStatusDate, rhsStatusDate, (this.statusDate!= null), (that.statusDate!= null))) {
return false;
}
}
return true;
}
@Override
public boolean equals(Object object) {
final EqualsStrategy2 strategy = JAXBEqualsStrategy.getInstance();
return equals(null, null, object, strategy);
}
@Override
public int hashCode(ObjectLocator locator, HashCodeStrategy2 strategy) {
int currentHashCode = super.hashCode(locator, strategy);
{
List theIdentifier;
theIdentifier = (((this.identifier!= null)&&(!this.identifier.isEmpty()))?this.getIdentifier():null);
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "identifier", theIdentifier), currentHashCode, theIdentifier, ((this.identifier!= null)&&(!this.identifier.isEmpty())));
}
{
Coding theRuleset;
theRuleset = this.getRuleset();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "ruleset", theRuleset), currentHashCode, theRuleset, (this.ruleset!= null));
}
{
Coding theOriginalRuleset;
theOriginalRuleset = this.getOriginalRuleset();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "originalRuleset", theOriginalRuleset), currentHashCode, theOriginalRuleset, (this.originalRuleset!= null));
}
{
DateTime theCreated;
theCreated = this.getCreated();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "created", theCreated), currentHashCode, theCreated, (this.created!= null));
}
{
Identifier theTargetIdentifier;
theTargetIdentifier = this.getTargetIdentifier();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "targetIdentifier", theTargetIdentifier), currentHashCode, theTargetIdentifier, (this.targetIdentifier!= null));
}
{
Reference theTargetReference;
theTargetReference = this.getTargetReference();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "targetReference", theTargetReference), currentHashCode, theTargetReference, (this.targetReference!= null));
}
{
Identifier theProviderIdentifier;
theProviderIdentifier = this.getProviderIdentifier();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "providerIdentifier", theProviderIdentifier), currentHashCode, theProviderIdentifier, (this.providerIdentifier!= null));
}
{
Reference theProviderReference;
theProviderReference = this.getProviderReference();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "providerReference", theProviderReference), currentHashCode, theProviderReference, (this.providerReference!= null));
}
{
Identifier theOrganizationIdentifier;
theOrganizationIdentifier = this.getOrganizationIdentifier();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "organizationIdentifier", theOrganizationIdentifier), currentHashCode, theOrganizationIdentifier, (this.organizationIdentifier!= null));
}
{
Reference theOrganizationReference;
theOrganizationReference = this.getOrganizationReference();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "organizationReference", theOrganizationReference), currentHashCode, theOrganizationReference, (this.organizationReference!= null));
}
{
Identifier theRequestIdentifier;
theRequestIdentifier = this.getRequestIdentifier();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "requestIdentifier", theRequestIdentifier), currentHashCode, theRequestIdentifier, (this.requestIdentifier!= null));
}
{
Reference theRequestReference;
theRequestReference = this.getRequestReference();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "requestReference", theRequestReference), currentHashCode, theRequestReference, (this.requestReference!= null));
}
{
Identifier theResponseIdentifier;
theResponseIdentifier = this.getResponseIdentifier();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "responseIdentifier", theResponseIdentifier), currentHashCode, theResponseIdentifier, (this.responseIdentifier!= null));
}
{
Reference theResponseReference;
theResponseReference = this.getResponseReference();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "responseReference", theResponseReference), currentHashCode, theResponseReference, (this.responseReference!= null));
}
{
Coding thePaymentStatus;
thePaymentStatus = this.getPaymentStatus();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "paymentStatus", thePaymentStatus), currentHashCode, thePaymentStatus, (this.paymentStatus!= null));
}
{
Date theStatusDate;
theStatusDate = this.getStatusDate();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "statusDate", theStatusDate), currentHashCode, theStatusDate, (this.statusDate!= null));
}
return currentHashCode;
}
@Override
public int hashCode() {
final HashCodeStrategy2 strategy = JAXBHashCodeStrategy.getInstance();
return this.hashCode(null, strategy);
}
@Override
public java.lang.String toString() {
final ToStringStrategy2 strategy = JAXBToStringStrategy.getInstance();
final StringBuilder buffer = new StringBuilder();
append(null, buffer, strategy);
return buffer.toString();
}
@Override
public StringBuilder append(ObjectLocator locator, StringBuilder buffer, ToStringStrategy2 strategy) {
strategy.appendStart(locator, this, buffer);
appendFields(locator, buffer, strategy);
strategy.appendEnd(locator, this, buffer);
return buffer;
}
@Override
public StringBuilder appendFields(ObjectLocator locator, StringBuilder buffer, ToStringStrategy2 strategy) {
super.appendFields(locator, buffer, strategy);
{
List theIdentifier;
theIdentifier = (((this.identifier!= null)&&(!this.identifier.isEmpty()))?this.getIdentifier():null);
strategy.appendField(locator, this, "identifier", buffer, theIdentifier, ((this.identifier!= null)&&(!this.identifier.isEmpty())));
}
{
Coding theRuleset;
theRuleset = this.getRuleset();
strategy.appendField(locator, this, "ruleset", buffer, theRuleset, (this.ruleset!= null));
}
{
Coding theOriginalRuleset;
theOriginalRuleset = this.getOriginalRuleset();
strategy.appendField(locator, this, "originalRuleset", buffer, theOriginalRuleset, (this.originalRuleset!= null));
}
{
DateTime theCreated;
theCreated = this.getCreated();
strategy.appendField(locator, this, "created", buffer, theCreated, (this.created!= null));
}
{
Identifier theTargetIdentifier;
theTargetIdentifier = this.getTargetIdentifier();
strategy.appendField(locator, this, "targetIdentifier", buffer, theTargetIdentifier, (this.targetIdentifier!= null));
}
{
Reference theTargetReference;
theTargetReference = this.getTargetReference();
strategy.appendField(locator, this, "targetReference", buffer, theTargetReference, (this.targetReference!= null));
}
{
Identifier theProviderIdentifier;
theProviderIdentifier = this.getProviderIdentifier();
strategy.appendField(locator, this, "providerIdentifier", buffer, theProviderIdentifier, (this.providerIdentifier!= null));
}
{
Reference theProviderReference;
theProviderReference = this.getProviderReference();
strategy.appendField(locator, this, "providerReference", buffer, theProviderReference, (this.providerReference!= null));
}
{
Identifier theOrganizationIdentifier;
theOrganizationIdentifier = this.getOrganizationIdentifier();
strategy.appendField(locator, this, "organizationIdentifier", buffer, theOrganizationIdentifier, (this.organizationIdentifier!= null));
}
{
Reference theOrganizationReference;
theOrganizationReference = this.getOrganizationReference();
strategy.appendField(locator, this, "organizationReference", buffer, theOrganizationReference, (this.organizationReference!= null));
}
{
Identifier theRequestIdentifier;
theRequestIdentifier = this.getRequestIdentifier();
strategy.appendField(locator, this, "requestIdentifier", buffer, theRequestIdentifier, (this.requestIdentifier!= null));
}
{
Reference theRequestReference;
theRequestReference = this.getRequestReference();
strategy.appendField(locator, this, "requestReference", buffer, theRequestReference, (this.requestReference!= null));
}
{
Identifier theResponseIdentifier;
theResponseIdentifier = this.getResponseIdentifier();
strategy.appendField(locator, this, "responseIdentifier", buffer, theResponseIdentifier, (this.responseIdentifier!= null));
}
{
Reference theResponseReference;
theResponseReference = this.getResponseReference();
strategy.appendField(locator, this, "responseReference", buffer, theResponseReference, (this.responseReference!= null));
}
{
Coding thePaymentStatus;
thePaymentStatus = this.getPaymentStatus();
strategy.appendField(locator, this, "paymentStatus", buffer, thePaymentStatus, (this.paymentStatus!= null));
}
{
Date theStatusDate;
theStatusDate = this.getStatusDate();
strategy.appendField(locator, this, "statusDate", buffer, theStatusDate, (this.statusDate!= null));
}
return buffer;
}
public void setIdentifier(List value) {
this.identifier = value;
}
}