
org.hl7.fhir.PaymentNotice Maven / Gradle / Ivy
Show all versions of quick Show documentation
//
// 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 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 Equals, HashCode, ToString
{
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 JAXB 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;
}
public boolean equals(ObjectLocator thisLocator, ObjectLocator thatLocator, Object object, EqualsStrategy strategy) {
if (!(object instanceof PaymentNotice)) {
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)) {
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)) {
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)) {
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)) {
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)) {
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)) {
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)) {
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)) {
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)) {
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)) {
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)) {
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)) {
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)) {
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)) {
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)) {
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)) {
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);
{
List theIdentifier;
theIdentifier = (((this.identifier!= null)&&(!this.identifier.isEmpty()))?this.getIdentifier():null);
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "identifier", theIdentifier), currentHashCode, theIdentifier);
}
{
Coding theRuleset;
theRuleset = this.getRuleset();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "ruleset", theRuleset), currentHashCode, theRuleset);
}
{
Coding theOriginalRuleset;
theOriginalRuleset = this.getOriginalRuleset();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "originalRuleset", theOriginalRuleset), currentHashCode, theOriginalRuleset);
}
{
DateTime theCreated;
theCreated = this.getCreated();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "created", theCreated), currentHashCode, theCreated);
}
{
Identifier theTargetIdentifier;
theTargetIdentifier = this.getTargetIdentifier();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "targetIdentifier", theTargetIdentifier), currentHashCode, theTargetIdentifier);
}
{
Reference theTargetReference;
theTargetReference = this.getTargetReference();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "targetReference", theTargetReference), currentHashCode, theTargetReference);
}
{
Identifier theProviderIdentifier;
theProviderIdentifier = this.getProviderIdentifier();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "providerIdentifier", theProviderIdentifier), currentHashCode, theProviderIdentifier);
}
{
Reference theProviderReference;
theProviderReference = this.getProviderReference();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "providerReference", theProviderReference), currentHashCode, theProviderReference);
}
{
Identifier theOrganizationIdentifier;
theOrganizationIdentifier = this.getOrganizationIdentifier();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "organizationIdentifier", theOrganizationIdentifier), currentHashCode, theOrganizationIdentifier);
}
{
Reference theOrganizationReference;
theOrganizationReference = this.getOrganizationReference();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "organizationReference", theOrganizationReference), currentHashCode, theOrganizationReference);
}
{
Identifier theRequestIdentifier;
theRequestIdentifier = this.getRequestIdentifier();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "requestIdentifier", theRequestIdentifier), currentHashCode, theRequestIdentifier);
}
{
Reference theRequestReference;
theRequestReference = this.getRequestReference();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "requestReference", theRequestReference), currentHashCode, theRequestReference);
}
{
Identifier theResponseIdentifier;
theResponseIdentifier = this.getResponseIdentifier();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "responseIdentifier", theResponseIdentifier), currentHashCode, theResponseIdentifier);
}
{
Reference theResponseReference;
theResponseReference = this.getResponseReference();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "responseReference", theResponseReference), currentHashCode, theResponseReference);
}
{
Coding thePaymentStatus;
thePaymentStatus = this.getPaymentStatus();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "paymentStatus", thePaymentStatus), currentHashCode, thePaymentStatus);
}
{
Date theStatusDate;
theStatusDate = this.getStatusDate();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "statusDate", theStatusDate), currentHashCode, theStatusDate);
}
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);
{
List theIdentifier;
theIdentifier = (((this.identifier!= null)&&(!this.identifier.isEmpty()))?this.getIdentifier():null);
strategy.appendField(locator, this, "identifier", buffer, theIdentifier);
}
{
Coding theRuleset;
theRuleset = this.getRuleset();
strategy.appendField(locator, this, "ruleset", buffer, theRuleset);
}
{
Coding theOriginalRuleset;
theOriginalRuleset = this.getOriginalRuleset();
strategy.appendField(locator, this, "originalRuleset", buffer, theOriginalRuleset);
}
{
DateTime theCreated;
theCreated = this.getCreated();
strategy.appendField(locator, this, "created", buffer, theCreated);
}
{
Identifier theTargetIdentifier;
theTargetIdentifier = this.getTargetIdentifier();
strategy.appendField(locator, this, "targetIdentifier", buffer, theTargetIdentifier);
}
{
Reference theTargetReference;
theTargetReference = this.getTargetReference();
strategy.appendField(locator, this, "targetReference", buffer, theTargetReference);
}
{
Identifier theProviderIdentifier;
theProviderIdentifier = this.getProviderIdentifier();
strategy.appendField(locator, this, "providerIdentifier", buffer, theProviderIdentifier);
}
{
Reference theProviderReference;
theProviderReference = this.getProviderReference();
strategy.appendField(locator, this, "providerReference", buffer, theProviderReference);
}
{
Identifier theOrganizationIdentifier;
theOrganizationIdentifier = this.getOrganizationIdentifier();
strategy.appendField(locator, this, "organizationIdentifier", buffer, theOrganizationIdentifier);
}
{
Reference theOrganizationReference;
theOrganizationReference = this.getOrganizationReference();
strategy.appendField(locator, this, "organizationReference", buffer, theOrganizationReference);
}
{
Identifier theRequestIdentifier;
theRequestIdentifier = this.getRequestIdentifier();
strategy.appendField(locator, this, "requestIdentifier", buffer, theRequestIdentifier);
}
{
Reference theRequestReference;
theRequestReference = this.getRequestReference();
strategy.appendField(locator, this, "requestReference", buffer, theRequestReference);
}
{
Identifier theResponseIdentifier;
theResponseIdentifier = this.getResponseIdentifier();
strategy.appendField(locator, this, "responseIdentifier", buffer, theResponseIdentifier);
}
{
Reference theResponseReference;
theResponseReference = this.getResponseReference();
strategy.appendField(locator, this, "responseReference", buffer, theResponseReference);
}
{
Coding thePaymentStatus;
thePaymentStatus = this.getPaymentStatus();
strategy.appendField(locator, this, "paymentStatus", buffer, thePaymentStatus);
}
{
Date theStatusDate;
theStatusDate = this.getStatusDate();
strategy.appendField(locator, this, "statusDate", buffer, theStatusDate);
}
return buffer;
}
}