
org.hl7.fhir.ActionDefinition 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.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 a value for at least one of the defined elements, an @id referenced from the Narrative, or extensions
*
* Java class for ActionDefinition complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="ActionDefinition">
* <complexContent>
* <extension base="{http://hl7.org/fhir}Element">
* <sequence>
* <element name="actionIdentifier" type="{http://hl7.org/fhir}Identifier" minOccurs="0"/>
* <element name="label" type="{http://hl7.org/fhir}string" minOccurs="0"/>
* <element name="title" type="{http://hl7.org/fhir}string" minOccurs="0"/>
* <element name="description" type="{http://hl7.org/fhir}string" minOccurs="0"/>
* <element name="textEquivalent" type="{http://hl7.org/fhir}string" minOccurs="0"/>
* <element name="concept" type="{http://hl7.org/fhir}CodeableConcept" maxOccurs="unbounded" minOccurs="0"/>
* <element name="supportingEvidence" type="{http://hl7.org/fhir}Attachment" maxOccurs="unbounded" minOccurs="0"/>
* <element name="documentation" type="{http://hl7.org/fhir}Attachment" maxOccurs="unbounded" minOccurs="0"/>
* <element name="relatedAction" type="{http://hl7.org/fhir}ActionDefinition.RelatedAction" minOccurs="0"/>
* <element name="participantType" type="{http://hl7.org/fhir}ParticipantType" maxOccurs="unbounded" minOccurs="0"/>
* <element name="type" type="{http://hl7.org/fhir}ActionType" minOccurs="0"/>
* <element name="behavior" type="{http://hl7.org/fhir}ActionDefinition.Behavior" maxOccurs="unbounded" minOccurs="0"/>
* <element name="resource" type="{http://hl7.org/fhir}Reference" minOccurs="0"/>
* <element name="customization" type="{http://hl7.org/fhir}ActionDefinition.Customization" maxOccurs="unbounded" minOccurs="0"/>
* <element name="action" type="{http://hl7.org/fhir}ActionDefinition" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "ActionDefinition", propOrder = {
"actionIdentifier",
"label",
"title",
"description",
"textEquivalent",
"concept",
"supportingEvidence",
"documentation",
"relatedAction",
"participantType",
"type",
"behavior",
"resource",
"customization",
"action"
})
public class ActionDefinition
extends Element
implements Equals, HashCode, ToString
{
protected Identifier actionIdentifier;
protected org.hl7.fhir.String label;
protected org.hl7.fhir.String title;
protected org.hl7.fhir.String description;
protected org.hl7.fhir.String textEquivalent;
protected List concept;
protected List supportingEvidence;
protected List documentation;
protected ActionDefinitionRelatedAction relatedAction;
protected List participantType;
protected ActionType type;
protected List behavior;
protected Reference resource;
protected List customization;
protected List action;
/**
* Gets the value of the actionIdentifier property.
*
* @return
* possible object is
* {@link Identifier }
*
*/
public Identifier getActionIdentifier() {
return actionIdentifier;
}
/**
* Sets the value of the actionIdentifier property.
*
* @param value
* allowed object is
* {@link Identifier }
*
*/
public void setActionIdentifier(Identifier value) {
this.actionIdentifier = value;
}
/**
* Gets the value of the label property.
*
* @return
* possible object is
* {@link org.hl7.fhir.String }
*
*/
public org.hl7.fhir.String getLabel() {
return label;
}
/**
* Sets the value of the label property.
*
* @param value
* allowed object is
* {@link org.hl7.fhir.String }
*
*/
public void setLabel(org.hl7.fhir.String value) {
this.label = value;
}
/**
* Gets the value of the title property.
*
* @return
* possible object is
* {@link org.hl7.fhir.String }
*
*/
public org.hl7.fhir.String getTitle() {
return title;
}
/**
* Sets the value of the title property.
*
* @param value
* allowed object is
* {@link org.hl7.fhir.String }
*
*/
public void setTitle(org.hl7.fhir.String value) {
this.title = value;
}
/**
* 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 textEquivalent property.
*
* @return
* possible object is
* {@link org.hl7.fhir.String }
*
*/
public org.hl7.fhir.String getTextEquivalent() {
return textEquivalent;
}
/**
* Sets the value of the textEquivalent property.
*
* @param value
* allowed object is
* {@link org.hl7.fhir.String }
*
*/
public void setTextEquivalent(org.hl7.fhir.String value) {
this.textEquivalent = value;
}
/**
* Gets the value of the concept 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 concept property.
*
*
* For example, to add a new item, do as follows:
*
* getConcept().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link CodeableConcept }
*
*
*/
public List getConcept() {
if (concept == null) {
concept = new ArrayList();
}
return this.concept;
}
/**
* Gets the value of the supportingEvidence 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 supportingEvidence property.
*
*
* For example, to add a new item, do as follows:
*
* getSupportingEvidence().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link Attachment }
*
*
*/
public List getSupportingEvidence() {
if (supportingEvidence == null) {
supportingEvidence = new ArrayList();
}
return this.supportingEvidence;
}
/**
* Gets the value of the documentation 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 documentation property.
*
*
* For example, to add a new item, do as follows:
*
* getDocumentation().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link Attachment }
*
*
*/
public List getDocumentation() {
if (documentation == null) {
documentation = new ArrayList();
}
return this.documentation;
}
/**
* Gets the value of the relatedAction property.
*
* @return
* possible object is
* {@link ActionDefinitionRelatedAction }
*
*/
public ActionDefinitionRelatedAction getRelatedAction() {
return relatedAction;
}
/**
* Sets the value of the relatedAction property.
*
* @param value
* allowed object is
* {@link ActionDefinitionRelatedAction }
*
*/
public void setRelatedAction(ActionDefinitionRelatedAction value) {
this.relatedAction = value;
}
/**
* Gets the value of the participantType 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 participantType property.
*
*
* For example, to add a new item, do as follows:
*
* getParticipantType().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link ParticipantType }
*
*
*/
public List getParticipantType() {
if (participantType == null) {
participantType = new ArrayList();
}
return this.participantType;
}
/**
* Gets the value of the type property.
*
* @return
* possible object is
* {@link ActionType }
*
*/
public ActionType getType() {
return type;
}
/**
* Sets the value of the type property.
*
* @param value
* allowed object is
* {@link ActionType }
*
*/
public void setType(ActionType value) {
this.type = value;
}
/**
* Gets the value of the behavior 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 behavior property.
*
*
* For example, to add a new item, do as follows:
*
* getBehavior().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link ActionDefinitionBehavior }
*
*
*/
public List getBehavior() {
if (behavior == null) {
behavior = new ArrayList();
}
return this.behavior;
}
/**
* Gets the value of the resource property.
*
* @return
* possible object is
* {@link Reference }
*
*/
public Reference getResource() {
return resource;
}
/**
* Sets the value of the resource property.
*
* @param value
* allowed object is
* {@link Reference }
*
*/
public void setResource(Reference value) {
this.resource = value;
}
/**
* Gets the value of the customization 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 customization property.
*
*
* For example, to add a new item, do as follows:
*
* getCustomization().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link ActionDefinitionCustomization }
*
*
*/
public List getCustomization() {
if (customization == null) {
customization = new ArrayList();
}
return this.customization;
}
/**
* Gets the value of the action 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 action property.
*
*
* For example, to add a new item, do as follows:
*
* getAction().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link ActionDefinition }
*
*
*/
public List getAction() {
if (action == null) {
action = new ArrayList();
}
return this.action;
}
public ActionDefinition withActionIdentifier(Identifier value) {
setActionIdentifier(value);
return this;
}
public ActionDefinition withLabel(org.hl7.fhir.String value) {
setLabel(value);
return this;
}
public ActionDefinition withTitle(org.hl7.fhir.String value) {
setTitle(value);
return this;
}
public ActionDefinition withDescription(org.hl7.fhir.String value) {
setDescription(value);
return this;
}
public ActionDefinition withTextEquivalent(org.hl7.fhir.String value) {
setTextEquivalent(value);
return this;
}
public ActionDefinition withConcept(CodeableConcept... values) {
if (values!= null) {
for (CodeableConcept value: values) {
getConcept().add(value);
}
}
return this;
}
public ActionDefinition withConcept(Collection values) {
if (values!= null) {
getConcept().addAll(values);
}
return this;
}
public ActionDefinition withSupportingEvidence(Attachment... values) {
if (values!= null) {
for (Attachment value: values) {
getSupportingEvidence().add(value);
}
}
return this;
}
public ActionDefinition withSupportingEvidence(Collection values) {
if (values!= null) {
getSupportingEvidence().addAll(values);
}
return this;
}
public ActionDefinition withDocumentation(Attachment... values) {
if (values!= null) {
for (Attachment value: values) {
getDocumentation().add(value);
}
}
return this;
}
public ActionDefinition withDocumentation(Collection values) {
if (values!= null) {
getDocumentation().addAll(values);
}
return this;
}
public ActionDefinition withRelatedAction(ActionDefinitionRelatedAction value) {
setRelatedAction(value);
return this;
}
public ActionDefinition withParticipantType(ParticipantType... values) {
if (values!= null) {
for (ParticipantType value: values) {
getParticipantType().add(value);
}
}
return this;
}
public ActionDefinition withParticipantType(Collection values) {
if (values!= null) {
getParticipantType().addAll(values);
}
return this;
}
public ActionDefinition withType(ActionType value) {
setType(value);
return this;
}
public ActionDefinition withBehavior(ActionDefinitionBehavior... values) {
if (values!= null) {
for (ActionDefinitionBehavior value: values) {
getBehavior().add(value);
}
}
return this;
}
public ActionDefinition withBehavior(Collection values) {
if (values!= null) {
getBehavior().addAll(values);
}
return this;
}
public ActionDefinition withResource(Reference value) {
setResource(value);
return this;
}
public ActionDefinition withCustomization(ActionDefinitionCustomization... values) {
if (values!= null) {
for (ActionDefinitionCustomization value: values) {
getCustomization().add(value);
}
}
return this;
}
public ActionDefinition withCustomization(Collection values) {
if (values!= null) {
getCustomization().addAll(values);
}
return this;
}
public ActionDefinition withAction(ActionDefinition... values) {
if (values!= null) {
for (ActionDefinition value: values) {
getAction().add(value);
}
}
return this;
}
public ActionDefinition withAction(Collection values) {
if (values!= null) {
getAction().addAll(values);
}
return this;
}
@Override
public ActionDefinition withExtension(Extension... values) {
if (values!= null) {
for (Extension value: values) {
getExtension().add(value);
}
}
return this;
}
@Override
public ActionDefinition withExtension(Collection values) {
if (values!= null) {
getExtension().addAll(values);
}
return this;
}
@Override
public ActionDefinition withId(java.lang.String value) {
setId(value);
return this;
}
public boolean equals(ObjectLocator thisLocator, ObjectLocator thatLocator, Object object, EqualsStrategy strategy) {
if (!(object instanceof ActionDefinition)) {
return false;
}
if (this == object) {
return true;
}
if (!super.equals(thisLocator, thatLocator, object, strategy)) {
return false;
}
final ActionDefinition that = ((ActionDefinition) object);
{
Identifier lhsActionIdentifier;
lhsActionIdentifier = this.getActionIdentifier();
Identifier rhsActionIdentifier;
rhsActionIdentifier = that.getActionIdentifier();
if (!strategy.equals(LocatorUtils.property(thisLocator, "actionIdentifier", lhsActionIdentifier), LocatorUtils.property(thatLocator, "actionIdentifier", rhsActionIdentifier), lhsActionIdentifier, rhsActionIdentifier)) {
return false;
}
}
{
org.hl7.fhir.String lhsLabel;
lhsLabel = this.getLabel();
org.hl7.fhir.String rhsLabel;
rhsLabel = that.getLabel();
if (!strategy.equals(LocatorUtils.property(thisLocator, "label", lhsLabel), LocatorUtils.property(thatLocator, "label", rhsLabel), lhsLabel, rhsLabel)) {
return false;
}
}
{
org.hl7.fhir.String lhsTitle;
lhsTitle = this.getTitle();
org.hl7.fhir.String rhsTitle;
rhsTitle = that.getTitle();
if (!strategy.equals(LocatorUtils.property(thisLocator, "title", lhsTitle), LocatorUtils.property(thatLocator, "title", rhsTitle), lhsTitle, rhsTitle)) {
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;
}
}
{
org.hl7.fhir.String lhsTextEquivalent;
lhsTextEquivalent = this.getTextEquivalent();
org.hl7.fhir.String rhsTextEquivalent;
rhsTextEquivalent = that.getTextEquivalent();
if (!strategy.equals(LocatorUtils.property(thisLocator, "textEquivalent", lhsTextEquivalent), LocatorUtils.property(thatLocator, "textEquivalent", rhsTextEquivalent), lhsTextEquivalent, rhsTextEquivalent)) {
return false;
}
}
{
List lhsConcept;
lhsConcept = (((this.concept!= null)&&(!this.concept.isEmpty()))?this.getConcept():null);
List rhsConcept;
rhsConcept = (((that.concept!= null)&&(!that.concept.isEmpty()))?that.getConcept():null);
if (!strategy.equals(LocatorUtils.property(thisLocator, "concept", lhsConcept), LocatorUtils.property(thatLocator, "concept", rhsConcept), lhsConcept, rhsConcept)) {
return false;
}
}
{
List lhsSupportingEvidence;
lhsSupportingEvidence = (((this.supportingEvidence!= null)&&(!this.supportingEvidence.isEmpty()))?this.getSupportingEvidence():null);
List rhsSupportingEvidence;
rhsSupportingEvidence = (((that.supportingEvidence!= null)&&(!that.supportingEvidence.isEmpty()))?that.getSupportingEvidence():null);
if (!strategy.equals(LocatorUtils.property(thisLocator, "supportingEvidence", lhsSupportingEvidence), LocatorUtils.property(thatLocator, "supportingEvidence", rhsSupportingEvidence), lhsSupportingEvidence, rhsSupportingEvidence)) {
return false;
}
}
{
List lhsDocumentation;
lhsDocumentation = (((this.documentation!= null)&&(!this.documentation.isEmpty()))?this.getDocumentation():null);
List rhsDocumentation;
rhsDocumentation = (((that.documentation!= null)&&(!that.documentation.isEmpty()))?that.getDocumentation():null);
if (!strategy.equals(LocatorUtils.property(thisLocator, "documentation", lhsDocumentation), LocatorUtils.property(thatLocator, "documentation", rhsDocumentation), lhsDocumentation, rhsDocumentation)) {
return false;
}
}
{
ActionDefinitionRelatedAction lhsRelatedAction;
lhsRelatedAction = this.getRelatedAction();
ActionDefinitionRelatedAction rhsRelatedAction;
rhsRelatedAction = that.getRelatedAction();
if (!strategy.equals(LocatorUtils.property(thisLocator, "relatedAction", lhsRelatedAction), LocatorUtils.property(thatLocator, "relatedAction", rhsRelatedAction), lhsRelatedAction, rhsRelatedAction)) {
return false;
}
}
{
List lhsParticipantType;
lhsParticipantType = (((this.participantType!= null)&&(!this.participantType.isEmpty()))?this.getParticipantType():null);
List rhsParticipantType;
rhsParticipantType = (((that.participantType!= null)&&(!that.participantType.isEmpty()))?that.getParticipantType():null);
if (!strategy.equals(LocatorUtils.property(thisLocator, "participantType", lhsParticipantType), LocatorUtils.property(thatLocator, "participantType", rhsParticipantType), lhsParticipantType, rhsParticipantType)) {
return false;
}
}
{
ActionType lhsType;
lhsType = this.getType();
ActionType rhsType;
rhsType = that.getType();
if (!strategy.equals(LocatorUtils.property(thisLocator, "type", lhsType), LocatorUtils.property(thatLocator, "type", rhsType), lhsType, rhsType)) {
return false;
}
}
{
List lhsBehavior;
lhsBehavior = (((this.behavior!= null)&&(!this.behavior.isEmpty()))?this.getBehavior():null);
List rhsBehavior;
rhsBehavior = (((that.behavior!= null)&&(!that.behavior.isEmpty()))?that.getBehavior():null);
if (!strategy.equals(LocatorUtils.property(thisLocator, "behavior", lhsBehavior), LocatorUtils.property(thatLocator, "behavior", rhsBehavior), lhsBehavior, rhsBehavior)) {
return false;
}
}
{
Reference lhsResource;
lhsResource = this.getResource();
Reference rhsResource;
rhsResource = that.getResource();
if (!strategy.equals(LocatorUtils.property(thisLocator, "resource", lhsResource), LocatorUtils.property(thatLocator, "resource", rhsResource), lhsResource, rhsResource)) {
return false;
}
}
{
List lhsCustomization;
lhsCustomization = (((this.customization!= null)&&(!this.customization.isEmpty()))?this.getCustomization():null);
List rhsCustomization;
rhsCustomization = (((that.customization!= null)&&(!that.customization.isEmpty()))?that.getCustomization():null);
if (!strategy.equals(LocatorUtils.property(thisLocator, "customization", lhsCustomization), LocatorUtils.property(thatLocator, "customization", rhsCustomization), lhsCustomization, rhsCustomization)) {
return false;
}
}
{
List lhsAction;
lhsAction = (((this.action!= null)&&(!this.action.isEmpty()))?this.getAction():null);
List rhsAction;
rhsAction = (((that.action!= null)&&(!that.action.isEmpty()))?that.getAction():null);
if (!strategy.equals(LocatorUtils.property(thisLocator, "action", lhsAction), LocatorUtils.property(thatLocator, "action", rhsAction), lhsAction, rhsAction)) {
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);
{
Identifier theActionIdentifier;
theActionIdentifier = this.getActionIdentifier();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "actionIdentifier", theActionIdentifier), currentHashCode, theActionIdentifier);
}
{
org.hl7.fhir.String theLabel;
theLabel = this.getLabel();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "label", theLabel), currentHashCode, theLabel);
}
{
org.hl7.fhir.String theTitle;
theTitle = this.getTitle();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "title", theTitle), currentHashCode, theTitle);
}
{
org.hl7.fhir.String theDescription;
theDescription = this.getDescription();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "description", theDescription), currentHashCode, theDescription);
}
{
org.hl7.fhir.String theTextEquivalent;
theTextEquivalent = this.getTextEquivalent();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "textEquivalent", theTextEquivalent), currentHashCode, theTextEquivalent);
}
{
List theConcept;
theConcept = (((this.concept!= null)&&(!this.concept.isEmpty()))?this.getConcept():null);
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "concept", theConcept), currentHashCode, theConcept);
}
{
List theSupportingEvidence;
theSupportingEvidence = (((this.supportingEvidence!= null)&&(!this.supportingEvidence.isEmpty()))?this.getSupportingEvidence():null);
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "supportingEvidence", theSupportingEvidence), currentHashCode, theSupportingEvidence);
}
{
List theDocumentation;
theDocumentation = (((this.documentation!= null)&&(!this.documentation.isEmpty()))?this.getDocumentation():null);
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "documentation", theDocumentation), currentHashCode, theDocumentation);
}
{
ActionDefinitionRelatedAction theRelatedAction;
theRelatedAction = this.getRelatedAction();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "relatedAction", theRelatedAction), currentHashCode, theRelatedAction);
}
{
List theParticipantType;
theParticipantType = (((this.participantType!= null)&&(!this.participantType.isEmpty()))?this.getParticipantType():null);
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "participantType", theParticipantType), currentHashCode, theParticipantType);
}
{
ActionType theType;
theType = this.getType();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "type", theType), currentHashCode, theType);
}
{
List theBehavior;
theBehavior = (((this.behavior!= null)&&(!this.behavior.isEmpty()))?this.getBehavior():null);
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "behavior", theBehavior), currentHashCode, theBehavior);
}
{
Reference theResource;
theResource = this.getResource();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "resource", theResource), currentHashCode, theResource);
}
{
List theCustomization;
theCustomization = (((this.customization!= null)&&(!this.customization.isEmpty()))?this.getCustomization():null);
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "customization", theCustomization), currentHashCode, theCustomization);
}
{
List theAction;
theAction = (((this.action!= null)&&(!this.action.isEmpty()))?this.getAction():null);
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "action", theAction), currentHashCode, theAction);
}
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);
{
Identifier theActionIdentifier;
theActionIdentifier = this.getActionIdentifier();
strategy.appendField(locator, this, "actionIdentifier", buffer, theActionIdentifier);
}
{
org.hl7.fhir.String theLabel;
theLabel = this.getLabel();
strategy.appendField(locator, this, "label", buffer, theLabel);
}
{
org.hl7.fhir.String theTitle;
theTitle = this.getTitle();
strategy.appendField(locator, this, "title", buffer, theTitle);
}
{
org.hl7.fhir.String theDescription;
theDescription = this.getDescription();
strategy.appendField(locator, this, "description", buffer, theDescription);
}
{
org.hl7.fhir.String theTextEquivalent;
theTextEquivalent = this.getTextEquivalent();
strategy.appendField(locator, this, "textEquivalent", buffer, theTextEquivalent);
}
{
List theConcept;
theConcept = (((this.concept!= null)&&(!this.concept.isEmpty()))?this.getConcept():null);
strategy.appendField(locator, this, "concept", buffer, theConcept);
}
{
List theSupportingEvidence;
theSupportingEvidence = (((this.supportingEvidence!= null)&&(!this.supportingEvidence.isEmpty()))?this.getSupportingEvidence():null);
strategy.appendField(locator, this, "supportingEvidence", buffer, theSupportingEvidence);
}
{
List theDocumentation;
theDocumentation = (((this.documentation!= null)&&(!this.documentation.isEmpty()))?this.getDocumentation():null);
strategy.appendField(locator, this, "documentation", buffer, theDocumentation);
}
{
ActionDefinitionRelatedAction theRelatedAction;
theRelatedAction = this.getRelatedAction();
strategy.appendField(locator, this, "relatedAction", buffer, theRelatedAction);
}
{
List theParticipantType;
theParticipantType = (((this.participantType!= null)&&(!this.participantType.isEmpty()))?this.getParticipantType():null);
strategy.appendField(locator, this, "participantType", buffer, theParticipantType);
}
{
ActionType theType;
theType = this.getType();
strategy.appendField(locator, this, "type", buffer, theType);
}
{
List theBehavior;
theBehavior = (((this.behavior!= null)&&(!this.behavior.isEmpty()))?this.getBehavior():null);
strategy.appendField(locator, this, "behavior", buffer, theBehavior);
}
{
Reference theResource;
theResource = this.getResource();
strategy.appendField(locator, this, "resource", buffer, theResource);
}
{
List theCustomization;
theCustomization = (((this.customization!= null)&&(!this.customization.isEmpty()))?this.getCustomization():null);
strategy.appendField(locator, this, "customization", buffer, theCustomization);
}
{
List theAction;
theAction = (((this.action!= null)&&(!this.action.isEmpty()))?this.getAction():null);
strategy.appendField(locator, this, "action", buffer, theAction);
}
return buffer;
}
}