Package org.hl7.fhir

Class ValueSetCompose

All Implemented Interfaces:
org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2, org.jvnet.jaxb2_commons.lang.ToString2

public class ValueSetCompose extends BackboneElement implements org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2, org.jvnet.jaxb2_commons.lang.ToString2
A value set specifies a set of codes drawn from one or more code systems.

Java class for ValueSet.Compose complex type.

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

 <complexType name="ValueSet.Compose">
   <complexContent>
     <extension base="{http://hl7.org/fhir}BackboneElement">
       <sequence>
         <element name="import" type="{http://hl7.org/fhir}uri" maxOccurs="unbounded" minOccurs="0"/>
         <element name="include" type="{http://hl7.org/fhir}ValueSet.Include" maxOccurs="unbounded" minOccurs="0"/>
         <element name="exclude" type="{http://hl7.org/fhir}ValueSet.Include" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
     </extension>
   </complexContent>
 </complexType>
 
  • Field Details

  • Constructor Details

    • ValueSetCompose

      public ValueSetCompose()
  • Method Details

    • getImport

      public List<Uri> getImport()
      Gets the value of the import 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 import property.

      For example, to add a new item, do as follows:

          getImport().add(newItem);
       

      Objects of the following type(s) are allowed in the list Uri

    • getInclude

      public List<ValueSetInclude> getInclude()
      Gets the value of the include 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 include property.

      For example, to add a new item, do as follows:

          getInclude().add(newItem);
       

      Objects of the following type(s) are allowed in the list ValueSetInclude

    • getExclude

      public List<ValueSetInclude> getExclude()
      Gets the value of the exclude 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 exclude property.

      For example, to add a new item, do as follows:

          getExclude().add(newItem);
       

      Objects of the following type(s) are allowed in the list ValueSetInclude

    • withImport

      public ValueSetCompose withImport(Uri... values)
    • withImport

      public ValueSetCompose withImport(Collection<Uri> values)
    • withInclude

      public ValueSetCompose withInclude(ValueSetInclude... values)
    • withInclude

      public ValueSetCompose withInclude(Collection<ValueSetInclude> values)
    • withExclude

      public ValueSetCompose withExclude(ValueSetInclude... values)
    • withExclude

      public ValueSetCompose withExclude(Collection<ValueSetInclude> values)
    • withModifierExtension

      public ValueSetCompose withModifierExtension(Extension... values)
      Overrides:
      withModifierExtension in class BackboneElement
    • withModifierExtension

      public ValueSetCompose withModifierExtension(Collection<Extension> values)
      Overrides:
      withModifierExtension in class BackboneElement
    • withExtension

      public ValueSetCompose withExtension(Extension... values)
      Overrides:
      withExtension in class BackboneElement
    • withExtension

      public ValueSetCompose withExtension(Collection<Extension> values)
      Overrides:
      withExtension in class BackboneElement
    • withId

      public ValueSetCompose withId(String value)
      Overrides:
      withId in class BackboneElement
    • 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 BackboneElement
    • equals

      public boolean equals(Object object)
      Overrides:
      equals in class BackboneElement
    • 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 BackboneElement
    • hashCode

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

      public String toString()
      Overrides:
      toString in class BackboneElement
    • 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 BackboneElement
    • 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 BackboneElement
    • setImport

      public void setImport(List<Uri> value)
    • setInclude

      public void setInclude(List<ValueSetInclude> value)
    • setExclude

      public void setExclude(List<ValueSetInclude> value)