Class PostalAddress1

java.lang.Object
org.coderic.iso20022.messages.setr.PostalAddress1

public class PostalAddress1 extends Object

Java class for PostalAddress1 complex type.

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

 <complexType name="PostalAddress1">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="AdrTp" type="{urn:iso:std:iso:20022:tech:xsd:setr.058.001.02}AddressType2Code" minOccurs="0"/>
         <element name="AdrLine" type="{urn:iso:std:iso:20022:tech:xsd:setr.058.001.02}Max70Text" maxOccurs="5" minOccurs="0"/>
         <element name="StrtNm" type="{urn:iso:std:iso:20022:tech:xsd:setr.058.001.02}Max70Text" minOccurs="0"/>
         <element name="BldgNb" type="{urn:iso:std:iso:20022:tech:xsd:setr.058.001.02}Max16Text" minOccurs="0"/>
         <element name="PstCd" type="{urn:iso:std:iso:20022:tech:xsd:setr.058.001.02}Max16Text" minOccurs="0"/>
         <element name="TwnNm" type="{urn:iso:std:iso:20022:tech:xsd:setr.058.001.02}Max35Text" minOccurs="0"/>
         <element name="CtrySubDvsn" type="{urn:iso:std:iso:20022:tech:xsd:setr.058.001.02}Max35Text" minOccurs="0"/>
         <element name="Ctry" type="{urn:iso:std:iso:20022:tech:xsd:setr.058.001.02}CountryCode"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 
  • Constructor Details

    • PostalAddress1

      public PostalAddress1()
  • 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
    • 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 String getCtrySubDvsn()
      Gets the value of the ctrySubDvsn property.
      Returns:
      possible object is String
    • setCtrySubDvsn

      public void setCtrySubDvsn(String value)
      Sets the value of the ctrySubDvsn property.
      Parameters:
      value - allowed object is String
    • getCtry

      public String getCtry()
      Gets the value of the ctry property.
      Returns:
      possible object is String
    • setCtry

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