Package org.hl7.v3

Class COCTMT230100UVSubIngredient

java.lang.Object
org.hl7.v3.COCTMT230100UVSubIngredient

public class COCTMT230100UVSubIngredient extends Object

Java class for COCT_MT230100UV.SubIngredient complex type.

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

 <complexType name="COCT_MT230100UV.SubIngredient">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <group ref="{urn:hl7-org:v3}InfrastructureRootElements"/>
         <element name="quantity" type="{urn:hl7-org:v3}RTO_QTY_QTY" minOccurs="0"/>
         <element name="ingredient" type="{urn:hl7-org:v3}COCT_MT230100UV.Substance" minOccurs="0"/>
       </sequence>
       <attGroup ref="{urn:hl7-org:v3}InfrastructureRootAttributes"/>
       <attribute name="nullFlavor" type="{urn:hl7-org:v3}NullFlavor" />
       <attribute name="classCode" use="required" type="{urn:hl7-org:v3}RoleClassIngredientEntity" />
       <attribute name="negationInd" type="{urn:hl7-org:v3}bl" default="false" />
     </restriction>
   </complexContent>
 </complexType>
 
  • Field Details

    • realmCode

      protected List<CS> realmCode
    • typeId

      protected II typeId
    • templateId

      protected List<II> templateId
    • quantity

      protected RTOQTYQTY quantity
    • ingredient

      protected jakarta.xml.bind.JAXBElement<COCTMT230100UVSubstance> ingredient
    • nullFlavor

      protected List<String> nullFlavor
    • classCode

      protected String classCode
    • negationInd

      protected Boolean negationInd
  • Constructor Details

    • COCTMT230100UVSubIngredient

      public COCTMT230100UVSubIngredient()
  • Method Details

    • getRealmCode

      public List<CS> getRealmCode()
      Gets the value of the realmCode 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 realmCode property.

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

          getRealmCode().add(newItem);
       

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

    • getTypeId

      public II getTypeId()
      Gets the value of the typeId property.
      Returns:
      possible object is II
    • setTypeId

      public void setTypeId(II value)
      Sets the value of the typeId property.
      Parameters:
      value - allowed object is II
    • getTemplateId

      public List<II> getTemplateId()
      Gets the value of the templateId 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 templateId property.

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

          getTemplateId().add(newItem);
       

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

    • getQuantity

      public RTOQTYQTY getQuantity()
      Gets the value of the quantity property.
      Returns:
      possible object is RTOQTYQTY
    • setQuantity

      public void setQuantity(RTOQTYQTY value)
      Sets the value of the quantity property.
      Parameters:
      value - allowed object is RTOQTYQTY
    • getIngredient

      public jakarta.xml.bind.JAXBElement<COCTMT230100UVSubstance> getIngredient()
      Gets the value of the ingredient property.
      Returns:
      possible object is JAXBElement<COCTMT230100UVSubstance>
    • setIngredient

      public void setIngredient(jakarta.xml.bind.JAXBElement<COCTMT230100UVSubstance> value)
      Sets the value of the ingredient property.
      Parameters:
      value - allowed object is JAXBElement<COCTMT230100UVSubstance>
    • getNullFlavor

      public List<String> getNullFlavor()
      Gets the value of the nullFlavor 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 nullFlavor property.

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

          getNullFlavor().add(newItem);
       

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

    • getClassCode

      public String getClassCode()
      Gets the value of the classCode property.
      Returns:
      possible object is String
    • setClassCode

      public void setClassCode(String value)
      Sets the value of the classCode property.
      Parameters:
      value - allowed object is String
    • isNegationInd

      public boolean isNegationInd()
      Gets the value of the negationInd property.
      Returns:
      possible object is Boolean
    • setNegationInd

      public void setNegationInd(Boolean value)
      Sets the value of the negationInd property.
      Parameters:
      value - allowed object is Boolean
    • withRealmCode

      public COCTMT230100UVSubIngredient withRealmCode(CS... values)
    • withRealmCode

      public COCTMT230100UVSubIngredient withRealmCode(Collection<CS> values)
    • withTypeId

      public COCTMT230100UVSubIngredient withTypeId(II value)
    • withTemplateId

      public COCTMT230100UVSubIngredient withTemplateId(II... values)
    • withTemplateId

      public COCTMT230100UVSubIngredient withTemplateId(Collection<II> values)
    • withQuantity

      public COCTMT230100UVSubIngredient withQuantity(RTOQTYQTY value)
    • withIngredient

      public COCTMT230100UVSubIngredient withIngredient(jakarta.xml.bind.JAXBElement<COCTMT230100UVSubstance> value)
    • withNullFlavor

      public COCTMT230100UVSubIngredient withNullFlavor(String... values)
    • withNullFlavor

      public COCTMT230100UVSubIngredient withNullFlavor(Collection<String> values)
    • withClassCode

      public COCTMT230100UVSubIngredient withClassCode(String value)
    • withNegationInd

      public COCTMT230100UVSubIngredient withNegationInd(Boolean value)
    • equals

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

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

      public String toString()
      Generates a String representation of the contents of this type. This is an extension method, produced by the 'ts' xjc plugin
      Overrides:
      toString in class Object