Class PostalAddress22

java.lang.Object
org.coderic.iso20022.messages.casp.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:casp.017.001.06}AddressType2Code" minOccurs="0"/>
         <element name="Dept" type="{urn:iso:std:iso:20022:tech:xsd:casp.017.001.06}Max70Text" minOccurs="0"/>
         <element name="SubDept" type="{urn:iso:std:iso:20022:tech:xsd:casp.017.001.06}Max70Text" minOccurs="0"/>
         <element name="AdrLine" type="{urn:iso:std:iso:20022:tech:xsd:casp.017.001.06}Max70Text" maxOccurs="2" minOccurs="0"/>
         <element name="StrtNm" type="{urn:iso:std:iso:20022:tech:xsd:casp.017.001.06}Max70Text" minOccurs="0"/>
         <element name="BldgNb" type="{urn:iso:std:iso:20022:tech:xsd:casp.017.001.06}Max16Text" minOccurs="0"/>
         <element name="PstCd" type="{urn:iso:std:iso:20022:tech:xsd:casp.017.001.06}Max16Text" minOccurs="0"/>
         <element name="TwnNm" type="{urn:iso:std:iso:20022:tech:xsd:casp.017.001.06}Max70Text" minOccurs="0"/>
         <element name="CtrySubDvsn" type="{urn:iso:std:iso:20022:tech:xsd:casp.017.001.06}Max35Text" maxOccurs="2" minOccurs="0"/>
         <element name="CtryCd" type="{urn:iso:std:iso:20022:tech:xsd:casp.017.001.06}Min2Max3AlphaText" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 
  • Constructor Details

    • PostalAddress22

      public PostalAddress22()
  • Method Details

    • getAdrTp

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

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

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

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

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

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

      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

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

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

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

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

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

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

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

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

      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

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

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