Package org.hl7.fhir

Class ActionDefinitionBehavior

java.lang.Object
org.hl7.fhir.Element
org.hl7.fhir.ActionDefinitionBehavior
All Implemented Interfaces:
org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2, org.jvnet.jaxb2_commons.lang.ToString2

public class ActionDefinitionBehavior extends Element implements org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2, org.jvnet.jaxb2_commons.lang.ToString2
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.Behavior complex type.

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

 <complexType name="ActionDefinition.Behavior">
   <complexContent>
     <extension base="{http://hl7.org/fhir}Element">
       <sequence>
         <element name="type" type="{http://hl7.org/fhir}Coding"/>
         <element name="value" type="{http://hl7.org/fhir}Coding"/>
       </sequence>
     </extension>
   </complexContent>
 </complexType>
 
  • Field Details

    • type

      protected Coding type
    • value

      protected Coding value
  • Constructor Details

    • ActionDefinitionBehavior

      public ActionDefinitionBehavior()
  • Method Details

    • getType

      public Coding getType()
      Gets the value of the type property.
      Returns:
      possible object is Coding
    • setType

      public void setType(Coding value)
      Sets the value of the type property.
      Parameters:
      value - allowed object is Coding
    • getValue

      public Coding getValue()
      Gets the value of the value property.
      Returns:
      possible object is Coding
    • setValue

      public void setValue(Coding value)
      Sets the value of the value property.
      Parameters:
      value - allowed object is Coding
    • withType

      public ActionDefinitionBehavior withType(Coding value)
    • withValue

      public ActionDefinitionBehavior withValue(Coding value)
    • withExtension

      public ActionDefinitionBehavior withExtension(Extension... values)
      Overrides:
      withExtension in class Element
    • withExtension

      public ActionDefinitionBehavior withExtension(Collection<Extension> values)
      Overrides:
      withExtension in class Element
    • withId

      public ActionDefinitionBehavior withId(String value)
      Overrides:
      withId in class Element
    • equals

      public boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy)
      Specified by:
      equals in interface org.jvnet.jaxb2_commons.lang.Equals2
      Overrides:
      equals in class Element
    • equals

      public boolean equals(Object object)
      Overrides:
      equals in class Element
    • hashCode

      public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)
      Specified by:
      hashCode in interface org.jvnet.jaxb2_commons.lang.HashCode2
      Overrides:
      hashCode in class Element
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Element
    • toString

      public String toString()
      Overrides:
      toString in class Element
    • append

      public StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)
      Specified by:
      append in interface org.jvnet.jaxb2_commons.lang.ToString2
      Overrides:
      append in class Element
    • appendFields

      public StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)
      Specified by:
      appendFields in interface org.jvnet.jaxb2_commons.lang.ToString2
      Overrides:
      appendFields in class Element