Class PostalAddress
- java.lang.Object
-
- es.gob.afirma.tsl.parsing.impl.common.PostalAddress
-
- All Implemented Interfaces:
java.io.Serializable
public class PostalAddress extends java.lang.Object implements java.io.SerializableClass that represents a Postal Address with all its information not dependent of the specification or TSL version.
Project:Library for the integration with the services of @Firma, eVisor and TS@.
- Version:
- 1.0, 10/11/2020.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PostalAddress()Constructor method for the class PostalAddress.java.PostalAddress(java.lang.String streetAddress, java.lang.String localityAddress, java.lang.String stateOrProvinceAddress, java.lang.String postalCodeAddress, java.lang.String countryNameAddress)Constructor method for the class PostalAddress.java.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetCountryName()Gets the value of the attributecountryName.java.lang.StringgetLocality()Gets the value of the attributelocality.java.lang.StringgetPostalCode()Gets the value of the attributepostalCode.java.lang.StringgetStateOrProvince()Gets the value of the attributestateOrProvince.java.lang.StringgetStreet()Gets the value of the attributestreet.voidsetCountryName(java.lang.String countryNameParam)Sets the value of the attributecountryName.voidsetLocality(java.lang.String localityParam)Sets the value of the attributelocality.voidsetPostalCode(java.lang.String postalCodeParam)Sets the value of the attributepostalCode.voidsetStateOrProvince(java.lang.String stateOrProvinceParam)Sets the value of the attributestateOrProvince.voidsetStreet(java.lang.String streetParam)Sets the value of the attributestreet.
-
-
-
Constructor Detail
-
PostalAddress
public PostalAddress()
Constructor method for the class PostalAddress.java.
-
PostalAddress
public PostalAddress(java.lang.String streetAddress, java.lang.String localityAddress, java.lang.String stateOrProvinceAddress, java.lang.String postalCodeAddress, java.lang.String countryNameAddress)Constructor method for the class PostalAddress.java.- Parameters:
streetAddress- String with the street address of the Postal Address.localityAddress- String with the locality of the Postal Address.stateOrProvinceAddress- String with the state or province of the Postal Address.postalCodeAddress- String with the postal code of the Postal Address.countryNameAddress- String with the country name of the Postal Address.
-
-
Method Detail
-
getStreet
public final java.lang.String getStreet()
Gets the value of the attributestreet.- Returns:
- the value of the attribute
street.
-
setStreet
public final void setStreet(java.lang.String streetParam)
Sets the value of the attributestreet.- Parameters:
streetParam- The value for the attributestreet.
-
getLocality
public final java.lang.String getLocality()
Gets the value of the attributelocality.- Returns:
- the value of the attribute
locality.
-
setLocality
public final void setLocality(java.lang.String localityParam)
Sets the value of the attributelocality.- Parameters:
localityParam- The value for the attributelocality.
-
getStateOrProvince
public final java.lang.String getStateOrProvince()
Gets the value of the attributestateOrProvince.- Returns:
- the value of the attribute
stateOrProvince.
-
setStateOrProvince
public final void setStateOrProvince(java.lang.String stateOrProvinceParam)
Sets the value of the attributestateOrProvince.- Parameters:
stateOrProvinceParam- The value for the attributestateOrProvince.
-
getPostalCode
public final java.lang.String getPostalCode()
Gets the value of the attributepostalCode.- Returns:
- the value of the attribute
postalCode.
-
setPostalCode
public final void setPostalCode(java.lang.String postalCodeParam)
Sets the value of the attributepostalCode.- Parameters:
postalCodeParam- The value for the attributepostalCode.
-
getCountryName
public final java.lang.String getCountryName()
Gets the value of the attributecountryName.- Returns:
- the value of the attribute
countryName.
-
setCountryName
public final void setCountryName(java.lang.String countryNameParam)
Sets the value of the attributecountryName.- Parameters:
countryNameParam- The value for the attributecountryName.
-
-