Class PostalAddress22

java.lang.Object
org.coderic.iso20022.messages.caaa.PostalAddress22

public class PostalAddress22 extends Object

Java class for PostalAddress22 complex type.

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

 <complexType name="PostalAddress22">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="AdrTp" type="{urn:iso:std:iso:20022:tech:xsd:caaa.027.001.01}AddressType2Code" minOccurs="0"/>
         <element name="Dept" type="{urn:iso:std:iso:20022:tech:xsd:caaa.027.001.01}Max70Text" minOccurs="0"/>
         <element name="SubDept" type="{urn:iso:std:iso:20022:tech:xsd:caaa.027.001.01}Max70Text" minOccurs="0"/>
         <element name="AdrLine" type="{urn:iso:std:iso:20022:tech:xsd:caaa.027.001.01}Max70Text" maxOccurs="2" minOccurs="0"/>
         <element name="StrtNm" type="{urn:iso:std:iso:20022:tech:xsd:caaa.027.001.01}Max70Text" minOccurs="0"/>
         <element name="BldgNb" type="{urn:iso:std:iso:20022:tech:xsd:caaa.027.001.01}Max16Text" minOccurs="0"/>
         <element name="PstCd" type="{urn:iso:std:iso:20022:tech:xsd:caaa.027.001.01}Max16Text" minOccurs="0"/>
         <element name="TwnNm" type="{urn:iso:std:iso:20022:tech:xsd:caaa.027.001.01}Max70Text" minOccurs="0"/>
         <element name="CtrySubDvsn" type="{urn:iso:std:iso:20022:tech:xsd:caaa.027.001.01}Max35Text" maxOccurs="2" minOccurs="0"/>
         <element name="CtryCd" type="{urn:iso:std:iso:20022:tech:xsd:caaa.027.001.01}Min2Max3AlphaText" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 
  • Constructor Details Link icon

    • PostalAddress22 Link icon

      public PostalAddress22()
  • Method Details Link icon

    • getAdrTp Link icon

      public AddressType2Code getAdrTp()
      Gets the value of the adrTp property.
      Returns:
      possible object is AddressType2Code
    • setAdrTp Link icon

      public void setAdrTp(AddressType2Code value)
      Sets the value of the adrTp property.
      Parameters:
      value - allowed object is AddressType2Code
    • getDept Link icon

      public String getDept()
      Gets the value of the dept property.
      Returns:
      possible object is String
    • setDept Link icon

      public void setDept(String value)
      Sets the value of the dept property.
      Parameters:
      value - allowed object is String
    • getSubDept Link icon

      public String getSubDept()
      Gets the value of the subDept property.
      Returns:
      possible object is String
    • setSubDept Link icon

      public void setSubDept(String value)
      Sets the value of the subDept property.
      Parameters:
      value - allowed object is String
    • getAdrLine Link icon

      public List<String> getAdrLine()
      Gets the value of the adrLine 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 adrLine property.

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

          getAdrLine().add(newItem);
       

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

    • getStrtNm Link icon

      public String getStrtNm()
      Gets the value of the strtNm property.
      Returns:
      possible object is String
    • setStrtNm Link icon

      public void setStrtNm(String value)
      Sets the value of the strtNm property.
      Parameters:
      value - allowed object is String
    • getBldgNb Link icon

      public String getBldgNb()
      Gets the value of the bldgNb property.
      Returns:
      possible object is String
    • setBldgNb Link icon

      public void setBldgNb(String value)
      Sets the value of the bldgNb property.
      Parameters:
      value - allowed object is String
    • getPstCd Link icon

      public String getPstCd()
      Gets the value of the pstCd property.
      Returns:
      possible object is String
    • setPstCd Link icon

      public void setPstCd(String value)
      Sets the value of the pstCd property.
      Parameters:
      value - allowed object is String
    • getTwnNm Link icon

      public String getTwnNm()
      Gets the value of the twnNm property.
      Returns:
      possible object is String
    • setTwnNm Link icon

      public void setTwnNm(String value)
      Sets the value of the twnNm property.
      Parameters:
      value - allowed object is String
    • getCtrySubDvsn Link icon

      public List<String> getCtrySubDvsn()
      Gets the value of the ctrySubDvsn 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 ctrySubDvsn property.

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

          getCtrySubDvsn().add(newItem);
       

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

    • getCtryCd Link icon

      public String getCtryCd()
      Gets the value of the ctryCd property.
      Returns:
      possible object is String
    • setCtryCd Link icon

      public void setCtryCd(String value)
      Sets the value of the ctryCd property.
      Parameters:
      value - allowed object is String