Package org.hl7.v3

Class POCDMT000040RelatedEntity

java.lang.Object
org.hl7.v3.POCDMT000040RelatedEntity

public class POCDMT000040RelatedEntity extends Object

Java class for POCD_MT000040.RelatedEntity complex type.

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

 <complexType name="POCD_MT000040.RelatedEntity">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="realmCode" type="{urn:hl7-org:v3}CS" maxOccurs="unbounded" minOccurs="0"/>
         <element name="typeId" type="{urn:hl7-org:v3}POCD_MT000040.InfrastructureRoot.typeId" minOccurs="0"/>
         <element name="templateId" type="{urn:hl7-org:v3}POCD_MT000040.InfrastructureRoot.templateId" maxOccurs="unbounded" minOccurs="0"/>
         <element name="code" type="{urn:hl7-org:v3}CE" minOccurs="0"/>
         <element name="addr" type="{urn:hl7-org:v3}AD" maxOccurs="unbounded" minOccurs="0"/>
         <element name="telecom" type="{urn:hl7-org:v3}TEL" maxOccurs="unbounded" minOccurs="0"/>
         <element name="effectiveTime" type="{urn:hl7-org:v3}IVL_TS" minOccurs="0"/>
         <element name="relatedPerson" type="{urn:hl7-org:v3}POCD_MT000040.Person" minOccurs="0"/>
       </sequence>
       <attribute name="nullFlavor" type="{urn:hl7-org:v3}NullFlavor" />
       <attribute name="classCode" use="required" type="{urn:hl7-org:v3}RoleClassMutualRelationship" />
     </restriction>
   </complexContent>
 </complexType>
 
  • Field Details

  • Constructor Details

    • POCDMT000040RelatedEntity

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

      Gets the value of the typeId property.
      Returns:
      possible object is POCDMT000040InfrastructureRootTypeId
    • setTypeId

      public void setTypeId(POCDMT000040InfrastructureRootTypeId value)
      Sets the value of the typeId property.
      Parameters:
      value - allowed object is POCDMT000040InfrastructureRootTypeId
    • 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 POCDMT000040InfrastructureRootTemplateId

    • getCode

      public CE getCode()
      Gets the value of the code property.
      Returns:
      possible object is CE
    • setCode

      public void setCode(CE value)
      Sets the value of the code property.
      Parameters:
      value - allowed object is CE
    • getAddr

      public List<AD> getAddr()
      Gets the value of the addr 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 addr property.

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

          getAddr().add(newItem);
       

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

    • getTelecom

      public List<TEL> getTelecom()
      Gets the value of the telecom 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 telecom property.

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

          getTelecom().add(newItem);
       

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

    • getEffectiveTime

      public IVLTS getEffectiveTime()
      Gets the value of the effectiveTime property.
      Returns:
      possible object is IVLTS
    • setEffectiveTime

      public void setEffectiveTime(IVLTS value)
      Sets the value of the effectiveTime property.
      Parameters:
      value - allowed object is IVLTS
    • getRelatedPerson

      public POCDMT000040Person getRelatedPerson()
      Gets the value of the relatedPerson property.
      Returns:
      possible object is POCDMT000040Person
    • setRelatedPerson

      public void setRelatedPerson(POCDMT000040Person value)
      Sets the value of the relatedPerson property.
      Parameters:
      value - allowed object is POCDMT000040Person
    • 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 POCDMT000040RelatedEntity withRealmCode(CS... values)
    • withRealmCode

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

    • withTemplateId

    • withTemplateId

    • withCode

      public POCDMT000040RelatedEntity withCode(CE value)
    • withAddr

      public POCDMT000040RelatedEntity withAddr(AD... values)
    • withAddr

      public POCDMT000040RelatedEntity withAddr(Collection<AD> values)
    • withTelecom

      public POCDMT000040RelatedEntity withTelecom(TEL... values)
    • withTelecom

      public POCDMT000040RelatedEntity withTelecom(Collection<TEL> values)
    • withEffectiveTime

      public POCDMT000040RelatedEntity withEffectiveTime(IVLTS value)
    • withRelatedPerson

      public POCDMT000040RelatedEntity withRelatedPerson(POCDMT000040Person value)
    • withNullFlavor

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

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

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

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