Package pt.gov.cartaodecidadao
Class PTEID_Address
- java.lang.Object
-
- pt.gov.cartaodecidadao.PTEID_Object
-
- pt.gov.cartaodecidadao.PTEID_Address
-
public class PTEID_Address extends PTEID_Object
Class for the Address document on a EID Card.
You can get such an object from PTEID_EIDCard::getAddr().
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
delete()
java.lang.String
getAbbrBuildingType()
Return field Abbreviated building typejava.lang.String
getAbbrStreetType()
Return field Abbreviated street typejava.lang.String
getBuildingType()
Return field Building Typejava.lang.String
getCivilParish()
Return field Civil Parishjava.lang.String
getCivilParishCode()
Return field Civil Parish Codejava.lang.String
getCountryCode()
Return field countryjava.lang.String
getDistrict()
Return field Districtjava.lang.String
getDistrictCode()
Return field District Codejava.lang.String
getDoorNo()
Return field Door Numberjava.lang.String
getFloor()
Return field Floorjava.lang.String
getForeignAddress()
Return foreign address generic address field - may contain street name, door number, or other address elementsjava.lang.String
getForeignCity()
Return foreign address cityjava.lang.String
getForeignCountry()
Return foreign address 2-letter ISO 3166-1 country codejava.lang.String
getForeignLocality()
Return foreign address localityjava.lang.String
getForeignPostalCode()
Return foreign address postal code - format is country-dependentjava.lang.String
getForeignRegion()
Return foreign address regionjava.lang.String
getGeneratedAddressCode()
Return field Address Codejava.lang.String
getLocality()
Return field Localityjava.lang.String
getMunicipality()
Return field Municipalityjava.lang.String
getMunicipalityCode()
Return field Municipality Codejava.lang.String
getPlace()
Return field Placejava.lang.String
getPostalLocality()
Return field Postal Localityjava.lang.String
getSide()
Return field Sidejava.lang.String
getStreetName()
Return field StreetNamejava.lang.String
getStreetType()
Return field StreetTypejava.lang.String
getZip3()
Return field Zip3java.lang.String
getZip4()
Return field Zip4boolean
isNationalAddress()
Is this address a portuguese address?
-
-
-
Method Detail
-
delete
public void delete()
- Overrides:
delete
in classPTEID_Object
-
isNationalAddress
public boolean isNationalAddress() throws PTEID_Exception
Is this address a portuguese address?- Throws:
PTEID_Exception
-
getCountryCode
public java.lang.String getCountryCode() throws PTEID_Exception
Return field country- Throws:
PTEID_Exception
-
getDistrict
public java.lang.String getDistrict() throws PTEID_Exception
Return field District- Throws:
PTEID_Exception
-
getDistrictCode
public java.lang.String getDistrictCode() throws PTEID_Exception
Return field District Code- Throws:
PTEID_Exception
-
getMunicipality
public java.lang.String getMunicipality() throws PTEID_Exception
Return field Municipality- Throws:
PTEID_Exception
-
getMunicipalityCode
public java.lang.String getMunicipalityCode() throws PTEID_Exception
Return field Municipality Code- Throws:
PTEID_Exception
-
getCivilParish
public java.lang.String getCivilParish() throws PTEID_Exception
Return field Civil Parish- Throws:
PTEID_Exception
-
getCivilParishCode
public java.lang.String getCivilParishCode() throws PTEID_Exception
Return field Civil Parish Code- Throws:
PTEID_Exception
-
getAbbrStreetType
public java.lang.String getAbbrStreetType() throws PTEID_Exception
Return field Abbreviated street type- Throws:
PTEID_Exception
-
getStreetType
public java.lang.String getStreetType() throws PTEID_Exception
Return field StreetType- Throws:
PTEID_Exception
-
getStreetName
public java.lang.String getStreetName() throws PTEID_Exception
Return field StreetName- Throws:
PTEID_Exception
-
getAbbrBuildingType
public java.lang.String getAbbrBuildingType() throws PTEID_Exception
Return field Abbreviated building type- Throws:
PTEID_Exception
-
getBuildingType
public java.lang.String getBuildingType() throws PTEID_Exception
Return field Building Type- Throws:
PTEID_Exception
-
getDoorNo
public java.lang.String getDoorNo() throws PTEID_Exception
Return field Door Number- Throws:
PTEID_Exception
-
getFloor
public java.lang.String getFloor() throws PTEID_Exception
Return field Floor- Throws:
PTEID_Exception
-
getSide
public java.lang.String getSide() throws PTEID_Exception
Return field Side- Throws:
PTEID_Exception
-
getLocality
public java.lang.String getLocality() throws PTEID_Exception
Return field Locality- Throws:
PTEID_Exception
-
getPlace
public java.lang.String getPlace() throws PTEID_Exception
Return field Place- Throws:
PTEID_Exception
-
getZip4
public java.lang.String getZip4() throws PTEID_Exception
Return field Zip4- Throws:
PTEID_Exception
-
getZip3
public java.lang.String getZip3() throws PTEID_Exception
Return field Zip3- Throws:
PTEID_Exception
-
getPostalLocality
public java.lang.String getPostalLocality() throws PTEID_Exception
Return field Postal Locality- Throws:
PTEID_Exception
-
getGeneratedAddressCode
public java.lang.String getGeneratedAddressCode() throws PTEID_Exception
Return field Address Code- Throws:
PTEID_Exception
-
getForeignCountry
public java.lang.String getForeignCountry() throws PTEID_Exception
Return foreign address 2-letter ISO 3166-1 country code- Throws:
PTEID_Exception
-
getForeignAddress
public java.lang.String getForeignAddress() throws PTEID_Exception
Return foreign address generic address field - may contain street name, door number, or other address elements- Throws:
PTEID_Exception
-
getForeignCity
public java.lang.String getForeignCity() throws PTEID_Exception
Return foreign address city- Throws:
PTEID_Exception
-
getForeignRegion
public java.lang.String getForeignRegion() throws PTEID_Exception
Return foreign address region- Throws:
PTEID_Exception
-
getForeignLocality
public java.lang.String getForeignLocality() throws PTEID_Exception
Return foreign address locality- Throws:
PTEID_Exception
-
getForeignPostalCode
public java.lang.String getForeignPostalCode() throws PTEID_Exception
Return foreign address postal code - format is country-dependent- Throws:
PTEID_Exception
-
-