org.hl7.fhir.ActionDefinition 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.10.07 at 09:31:25 AM 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.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 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 Equals2, HashCode2, ToString2
{
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 Jakarta XML Binding 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 Jakarta XML Binding 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 Jakarta XML Binding 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 Jakarta XML Binding 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 Jakarta XML Binding 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 Jakarta XML Binding 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 Jakarta XML Binding 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;
}
@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 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, (this.actionIdentifier!= null), (that.actionIdentifier!= null))) {
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, (this.label!= null), (that.label!= null))) {
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, (this.title!= null), (that.title!= null))) {
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, (this.description!= null), (that.description!= null))) {
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, (this.textEquivalent!= null), (that.textEquivalent!= null))) {
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, ((this.concept!= null)&&(!this.concept.isEmpty())), ((that.concept!= null)&&(!that.concept.isEmpty())))) {
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, ((this.supportingEvidence!= null)&&(!this.supportingEvidence.isEmpty())), ((that.supportingEvidence!= null)&&(!that.supportingEvidence.isEmpty())))) {
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, ((this.documentation!= null)&&(!this.documentation.isEmpty())), ((that.documentation!= null)&&(!that.documentation.isEmpty())))) {
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, (this.relatedAction!= null), (that.relatedAction!= null))) {
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, ((this.participantType!= null)&&(!this.participantType.isEmpty())), ((that.participantType!= null)&&(!that.participantType.isEmpty())))) {
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, (this.type!= null), (that.type!= null))) {
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, ((this.behavior!= null)&&(!this.behavior.isEmpty())), ((that.behavior!= null)&&(!that.behavior.isEmpty())))) {
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, (this.resource!= null), (that.resource!= null))) {
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, ((this.customization!= null)&&(!this.customization.isEmpty())), ((that.customization!= null)&&(!that.customization.isEmpty())))) {
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, ((this.action!= null)&&(!this.action.isEmpty())), ((that.action!= null)&&(!that.action.isEmpty())))) {
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);
{
Identifier theActionIdentifier;
theActionIdentifier = this.getActionIdentifier();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "actionIdentifier", theActionIdentifier), currentHashCode, theActionIdentifier, (this.actionIdentifier!= null));
}
{
org.hl7.fhir.String theLabel;
theLabel = this.getLabel();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "label", theLabel), currentHashCode, theLabel, (this.label!= null));
}
{
org.hl7.fhir.String theTitle;
theTitle = this.getTitle();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "title", theTitle), currentHashCode, theTitle, (this.title!= null));
}
{
org.hl7.fhir.String theDescription;
theDescription = this.getDescription();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "description", theDescription), currentHashCode, theDescription, (this.description!= null));
}
{
org.hl7.fhir.String theTextEquivalent;
theTextEquivalent = this.getTextEquivalent();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "textEquivalent", theTextEquivalent), currentHashCode, theTextEquivalent, (this.textEquivalent!= null));
}
{
List theConcept;
theConcept = (((this.concept!= null)&&(!this.concept.isEmpty()))?this.getConcept():null);
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "concept", theConcept), currentHashCode, theConcept, ((this.concept!= null)&&(!this.concept.isEmpty())));
}
{
List theSupportingEvidence;
theSupportingEvidence = (((this.supportingEvidence!= null)&&(!this.supportingEvidence.isEmpty()))?this.getSupportingEvidence():null);
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "supportingEvidence", theSupportingEvidence), currentHashCode, theSupportingEvidence, ((this.supportingEvidence!= null)&&(!this.supportingEvidence.isEmpty())));
}
{
List theDocumentation;
theDocumentation = (((this.documentation!= null)&&(!this.documentation.isEmpty()))?this.getDocumentation():null);
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "documentation", theDocumentation), currentHashCode, theDocumentation, ((this.documentation!= null)&&(!this.documentation.isEmpty())));
}
{
ActionDefinitionRelatedAction theRelatedAction;
theRelatedAction = this.getRelatedAction();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "relatedAction", theRelatedAction), currentHashCode, theRelatedAction, (this.relatedAction!= null));
}
{
List theParticipantType;
theParticipantType = (((this.participantType!= null)&&(!this.participantType.isEmpty()))?this.getParticipantType():null);
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "participantType", theParticipantType), currentHashCode, theParticipantType, ((this.participantType!= null)&&(!this.participantType.isEmpty())));
}
{
ActionType theType;
theType = this.getType();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "type", theType), currentHashCode, theType, (this.type!= null));
}
{
List theBehavior;
theBehavior = (((this.behavior!= null)&&(!this.behavior.isEmpty()))?this.getBehavior():null);
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "behavior", theBehavior), currentHashCode, theBehavior, ((this.behavior!= null)&&(!this.behavior.isEmpty())));
}
{
Reference theResource;
theResource = this.getResource();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "resource", theResource), currentHashCode, theResource, (this.resource!= null));
}
{
List theCustomization;
theCustomization = (((this.customization!= null)&&(!this.customization.isEmpty()))?this.getCustomization():null);
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "customization", theCustomization), currentHashCode, theCustomization, ((this.customization!= null)&&(!this.customization.isEmpty())));
}
{
List theAction;
theAction = (((this.action!= null)&&(!this.action.isEmpty()))?this.getAction():null);
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "action", theAction), currentHashCode, theAction, ((this.action!= null)&&(!this.action.isEmpty())));
}
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);
{
Identifier theActionIdentifier;
theActionIdentifier = this.getActionIdentifier();
strategy.appendField(locator, this, "actionIdentifier", buffer, theActionIdentifier, (this.actionIdentifier!= null));
}
{
org.hl7.fhir.String theLabel;
theLabel = this.getLabel();
strategy.appendField(locator, this, "label", buffer, theLabel, (this.label!= null));
}
{
org.hl7.fhir.String theTitle;
theTitle = this.getTitle();
strategy.appendField(locator, this, "title", buffer, theTitle, (this.title!= null));
}
{
org.hl7.fhir.String theDescription;
theDescription = this.getDescription();
strategy.appendField(locator, this, "description", buffer, theDescription, (this.description!= null));
}
{
org.hl7.fhir.String theTextEquivalent;
theTextEquivalent = this.getTextEquivalent();
strategy.appendField(locator, this, "textEquivalent", buffer, theTextEquivalent, (this.textEquivalent!= null));
}
{
List theConcept;
theConcept = (((this.concept!= null)&&(!this.concept.isEmpty()))?this.getConcept():null);
strategy.appendField(locator, this, "concept", buffer, theConcept, ((this.concept!= null)&&(!this.concept.isEmpty())));
}
{
List theSupportingEvidence;
theSupportingEvidence = (((this.supportingEvidence!= null)&&(!this.supportingEvidence.isEmpty()))?this.getSupportingEvidence():null);
strategy.appendField(locator, this, "supportingEvidence", buffer, theSupportingEvidence, ((this.supportingEvidence!= null)&&(!this.supportingEvidence.isEmpty())));
}
{
List theDocumentation;
theDocumentation = (((this.documentation!= null)&&(!this.documentation.isEmpty()))?this.getDocumentation():null);
strategy.appendField(locator, this, "documentation", buffer, theDocumentation, ((this.documentation!= null)&&(!this.documentation.isEmpty())));
}
{
ActionDefinitionRelatedAction theRelatedAction;
theRelatedAction = this.getRelatedAction();
strategy.appendField(locator, this, "relatedAction", buffer, theRelatedAction, (this.relatedAction!= null));
}
{
List theParticipantType;
theParticipantType = (((this.participantType!= null)&&(!this.participantType.isEmpty()))?this.getParticipantType():null);
strategy.appendField(locator, this, "participantType", buffer, theParticipantType, ((this.participantType!= null)&&(!this.participantType.isEmpty())));
}
{
ActionType theType;
theType = this.getType();
strategy.appendField(locator, this, "type", buffer, theType, (this.type!= null));
}
{
List theBehavior;
theBehavior = (((this.behavior!= null)&&(!this.behavior.isEmpty()))?this.getBehavior():null);
strategy.appendField(locator, this, "behavior", buffer, theBehavior, ((this.behavior!= null)&&(!this.behavior.isEmpty())));
}
{
Reference theResource;
theResource = this.getResource();
strategy.appendField(locator, this, "resource", buffer, theResource, (this.resource!= null));
}
{
List theCustomization;
theCustomization = (((this.customization!= null)&&(!this.customization.isEmpty()))?this.getCustomization():null);
strategy.appendField(locator, this, "customization", buffer, theCustomization, ((this.customization!= null)&&(!this.customization.isEmpty())));
}
{
List theAction;
theAction = (((this.action!= null)&&(!this.action.isEmpty()))?this.getAction():null);
strategy.appendField(locator, this, "action", buffer, theAction, ((this.action!= null)&&(!this.action.isEmpty())));
}
return buffer;
}
public void setConcept(List value) {
this.concept = value;
}
public void setSupportingEvidence(List value) {
this.supportingEvidence = value;
}
public void setDocumentation(List value) {
this.documentation = value;
}
public void setParticipantType(List value) {
this.participantType = value;
}
public void setBehavior(List value) {
this.behavior = value;
}
public void setCustomization(List value) {
this.customization = value;
}
public void setAction(List value) {
this.action = value;
}
}