Package org.hl7.v3

Class COCTMT500000UV04PolicyHolder

java.lang.Object
org.hl7.v3.COCTMT500000UV04PolicyHolder

public class COCTMT500000UV04PolicyHolder extends Object

Java class for COCT_MT500000UV04.PolicyHolder complex type.

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

 <complexType name="COCT_MT500000UV04.PolicyHolder">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <group ref="{urn:hl7-org:v3}InfrastructureRootElements"/>
         <element name="id" type="{urn:hl7-org:v3}II" minOccurs="0"/>
         <choice>
           <element name="policyHolderPerson" type="{urn:hl7-org:v3}COCT_MT500000UV04.PolicyHolderPerson"/>
           <element name="policyHolderOrganization" type="{urn:hl7-org:v3}COCT_MT500000UV04.PolicyHolderOrganization"/>
         </choice>
       </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="POLHOLD" />
     </restriction>
   </complexContent>
 </complexType>
 
  • Field Details

  • Constructor Details

    • COCTMT500000UV04PolicyHolder

      public COCTMT500000UV04PolicyHolder()
  • 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

    • getId

      public II getId()
      Gets the value of the id property.
      Returns:
      possible object is II
    • setId

      public void setId(II value)
      Sets the value of the id property.
      Parameters:
      value - allowed object is II
    • getPolicyHolderPerson

      public COCTMT500000UV04PolicyHolderPerson getPolicyHolderPerson()
      Gets the value of the policyHolderPerson property.
      Returns:
      possible object is COCTMT500000UV04PolicyHolderPerson
    • setPolicyHolderPerson

      public void setPolicyHolderPerson(COCTMT500000UV04PolicyHolderPerson value)
      Sets the value of the policyHolderPerson property.
      Parameters:
      value - allowed object is COCTMT500000UV04PolicyHolderPerson
    • getPolicyHolderOrganization

      public COCTMT500000UV04PolicyHolderOrganization getPolicyHolderOrganization()
      Gets the value of the policyHolderOrganization property.
      Returns:
      possible object is COCTMT500000UV04PolicyHolderOrganization
    • setPolicyHolderOrganization

      public void setPolicyHolderOrganization(COCTMT500000UV04PolicyHolderOrganization value)
      Sets the value of the policyHolderOrganization property.
      Parameters:
      value - allowed object is COCTMT500000UV04PolicyHolderOrganization
    • 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 COCTMT500000UV04PolicyHolder withRealmCode(CS... values)
    • withRealmCode

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

      public COCTMT500000UV04PolicyHolder withTypeId(II value)
    • withTemplateId

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

      public COCTMT500000UV04PolicyHolder withTemplateId(Collection<II> values)
    • withId

      public COCTMT500000UV04PolicyHolder withId(II value)
    • withPolicyHolderPerson

    • withPolicyHolderOrganization

      public COCTMT500000UV04PolicyHolder withPolicyHolderOrganization(COCTMT500000UV04PolicyHolderOrganization value)
    • withNullFlavor

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

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

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

      public COCTMT500000UV04PolicyHolder 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