/* ----------------------------------------------------------------------------
 * This file was automatically generated by SWIG (http://www.swig.org).
 * Version 2.0.11
 *
 * Do not make changes to this file unless you know what you are doing--modify
 * the SWIG interface file instead.
 * ----------------------------------------------------------------------------- */

package pt.gov.cartaodecidadao;

public class PTEID_Address extends PTEID_XMLDoc {
  private long swigCPtr;

  protected PTEID_Address(long cPtr, boolean cMemoryOwn) {
    super(pteidlibJava_WrapperJNI.PTEID_Address_SWIGUpcast(cPtr), cMemoryOwn);
    swigCPtr = cPtr;
  }

  protected static long getCPtr(PTEID_Address obj) {
    return (obj == null) ? 0 : obj.swigCPtr;
  }

  protected void finalize() {
    delete();
  }

  public synchronized void delete() {
    if (swigCPtr != 0) {
      if (swigCMemOwn) {
        swigCMemOwn = false;
        pteidlibJava_WrapperJNI.delete_PTEID_Address(swigCPtr);
      }
      swigCPtr = 0;
    }
    super.delete();
  }

  public boolean isNationalAddress() {
    return pteidlibJava_WrapperJNI.PTEID_Address_isNationalAddress(swigCPtr, this);
  }

  public String getCountryCode() {
    return pteidlibJava_WrapperJNI.PTEID_Address_getCountryCode(swigCPtr, this);
  }

  public String getDistrict() throws PTEID_Exception {
    return pteidlibJava_WrapperJNI.PTEID_Address_getDistrict(swigCPtr, this);
  }

  public String getDistrictCode() {
    return pteidlibJava_WrapperJNI.PTEID_Address_getDistrictCode(swigCPtr, this);
  }

  public String getMunicipality() throws PTEID_Exception {
    return pteidlibJava_WrapperJNI.PTEID_Address_getMunicipality(swigCPtr, this);
  }

  public String getMunicipalityCode() {
    return pteidlibJava_WrapperJNI.PTEID_Address_getMunicipalityCode(swigCPtr, this);
  }

  public String getCivilParish() throws PTEID_Exception {
    return pteidlibJava_WrapperJNI.PTEID_Address_getCivilParish(swigCPtr, this);
  }

  public String getCivilParishCode() {
    return pteidlibJava_WrapperJNI.PTEID_Address_getCivilParishCode(swigCPtr, this);
  }

  public String getAbbrStreetType() throws PTEID_Exception {
    return pteidlibJava_WrapperJNI.PTEID_Address_getAbbrStreetType(swigCPtr, this);
  }

  public String getStreetType() throws PTEID_Exception {
    return pteidlibJava_WrapperJNI.PTEID_Address_getStreetType(swigCPtr, this);
  }

  public String getStreetName() throws PTEID_Exception {
    return pteidlibJava_WrapperJNI.PTEID_Address_getStreetName(swigCPtr, this);
  }

  public String getAbbrBuildingType() throws PTEID_Exception {
    return pteidlibJava_WrapperJNI.PTEID_Address_getAbbrBuildingType(swigCPtr, this);
  }

  public String getBuildingType() throws PTEID_Exception {
    return pteidlibJava_WrapperJNI.PTEID_Address_getBuildingType(swigCPtr, this);
  }

  public String getDoorNo() throws PTEID_Exception {
    return pteidlibJava_WrapperJNI.PTEID_Address_getDoorNo(swigCPtr, this);
  }

  public String getFloor() throws PTEID_Exception {
    return pteidlibJava_WrapperJNI.PTEID_Address_getFloor(swigCPtr, this);
  }

  public String getSide() throws PTEID_Exception {
    return pteidlibJava_WrapperJNI.PTEID_Address_getSide(swigCPtr, this);
  }

  public String getLocality() throws PTEID_Exception {
    return pteidlibJava_WrapperJNI.PTEID_Address_getLocality(swigCPtr, this);
  }

  public String getPlace() throws PTEID_Exception {
    return pteidlibJava_WrapperJNI.PTEID_Address_getPlace(swigCPtr, this);
  }

  public String getZip4() throws PTEID_Exception {
    return pteidlibJava_WrapperJNI.PTEID_Address_getZip4(swigCPtr, this);
  }

  public String getZip3() throws PTEID_Exception {
    return pteidlibJava_WrapperJNI.PTEID_Address_getZip3(swigCPtr, this);
  }

  public String getPostalLocality() throws PTEID_Exception {
    return pteidlibJava_WrapperJNI.PTEID_Address_getPostalLocality(swigCPtr, this);
  }

  public String getGeneratedAddressCode() {
    return pteidlibJava_WrapperJNI.PTEID_Address_getGeneratedAddressCode(swigCPtr, this);
  }

  public String getForeignCountry() {
    return pteidlibJava_WrapperJNI.PTEID_Address_getForeignCountry(swigCPtr, this);
  }

  public String getForeignAddress() {
    return pteidlibJava_WrapperJNI.PTEID_Address_getForeignAddress(swigCPtr, this);
  }

  public String getForeignCity() {
    return pteidlibJava_WrapperJNI.PTEID_Address_getForeignCity(swigCPtr, this);
  }

  public String getForeignRegion() {
    return pteidlibJava_WrapperJNI.PTEID_Address_getForeignRegion(swigCPtr, this);
  }

  public String getForeignLocality() {
    return pteidlibJava_WrapperJNI.PTEID_Address_getForeignLocality(swigCPtr, this);
  }

  public String getForeignPostalCode() {
    return pteidlibJava_WrapperJNI.PTEID_Address_getForeignPostalCode(swigCPtr, this);
  }

}
