Package org.hl7.v3

Class COCTMT080000UVAdditive2

java.lang.Object
org.hl7.v3.COCTMT080000UVAdditive2

public class COCTMT080000UVAdditive2 extends Object

Java class for COCT_MT080000UV.Additive2 complex type.

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

 <complexType name="COCT_MT080000UV.Additive2">
   <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}PQ" minOccurs="0"/>
         <element name="additive" type="{urn:hl7-org:v3}COCT_MT080000UV.AdditiveMaterial"/>
       </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}RoleClass" fixed="ADTV" />
     </restriction>
   </complexContent>
 </complexType>
 
  • Field Details

  • Constructor Details

    • COCTMT080000UVAdditive2

      public COCTMT080000UVAdditive2()
  • 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 PQ getQuantity()
      Gets the value of the quantity property.
      Returns:
      possible object is PQ
    • setQuantity

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

      public COCTMT080000UVAdditiveMaterial getAdditive()
      Gets the value of the additive property.
      Returns:
      possible object is COCTMT080000UVAdditiveMaterial
    • setAdditive

      public void setAdditive(COCTMT080000UVAdditiveMaterial value)
      Sets the value of the additive property.
      Parameters:
      value - allowed object is COCTMT080000UVAdditiveMaterial
    • 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 List<String> getClassCode()
      Gets the value of the classCode 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 classCode property.

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

          getClassCode().add(newItem);
       

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

    • withRealmCode

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

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

      public COCTMT080000UVAdditive2 withTypeId(II value)
    • withTemplateId

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

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

      public COCTMT080000UVAdditive2 withQuantity(PQ value)
    • withAdditive

    • withNullFlavor

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

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

      public COCTMT080000UVAdditive2 withClassCode(String... values)
    • withClassCode

      public COCTMT080000UVAdditive2 withClassCode(Collection<String> values)
    • 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