Class Party2Choice

java.lang.Object
org.coderic.iso20022.messages.tsin.Party2Choice

public class Party2Choice extends Object

Java class for Party2Choice complex type.

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

 <complexType name="Party2Choice">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <choice>
         <element name="OrgId" type="{urn:iso:std:iso:20022:tech:xsd:tsin.013.001.01}OrganisationIdentification2"/>
         <element name="PrvtId" type="{urn:iso:std:iso:20022:tech:xsd:tsin.013.001.01}PersonIdentification3" maxOccurs="4"/>
       </choice>
     </restriction>
   </complexContent>
 </complexType>
 
  • Constructor Details

    • Party2Choice

      public Party2Choice()
  • Method Details

    • getOrgId

      public OrganisationIdentification2 getOrgId()
      Gets the value of the orgId property.
      Returns:
      possible object is OrganisationIdentification2
    • setOrgId

      public void setOrgId(OrganisationIdentification2 value)
      Sets the value of the orgId property.
      Parameters:
      value - allowed object is OrganisationIdentification2
    • getPrvtId

      public List<PersonIdentification3> getPrvtId()
      Gets the value of the prvtId 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 prvtId property.

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

          getPrvtId().add(newItem);
       

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