Class Party2Choice
java.lang.Object
org.coderic.iso20022.messages.tsin.Party2Choice
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 Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetOrgId()
Gets the value of the orgId property.Gets the value of the prvtId property.void
Sets the value of the orgId property.
-
Constructor Details
-
Party2Choice
public Party2Choice()
-
-
Method Details
-
getOrgId
Gets the value of the orgId property.- Returns:
- possible object is
OrganisationIdentification2
-
setOrgId
Sets the value of the orgId property.- Parameters:
value
- allowed object isOrganisationIdentification2
-
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
-