public class Address
extends java.lang.Object
implements java.io.Serializable
Class that represents an 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@.
| Constructor and Description |
|---|
Address()
Constructor method for the class Address.java.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addNewElectronicAddress(java.lang.String language,
java.net.URI ea)
Adds a new Electronic Addres for the specified language.
|
void |
addNewPostalAddress(java.lang.String language,
PostalAddress pa)
Adds a new Postal Addres for the specified language.
|
java.util.Map<java.lang.String,java.util.List<java.net.URI>> |
getElectronicAddresses()
Gets the value of the attribute
electronicAddresses. |
java.util.Map<java.lang.String,java.util.List<PostalAddress>> |
getPostalAddresses()
Gets the value of the attribute
postalAddresses. |
boolean |
isThereSomeElectronicAddress()
Checks if there is some electronic address added to this address.
|
boolean |
isThereSomePostalAddress()
Checks if there is some postal address added to this address.
|
void |
setElectronicAddresses(java.util.Map<java.lang.String,java.util.List<java.net.URI>> eaList)
Sets the value of the attribute
electronicAddresses. |
void |
setPostalAddresses(java.util.Map<java.lang.String,java.util.List<PostalAddress>> paList)
Sets the value of the attribute
postalAddresses. |
public final java.util.Map<java.lang.String,java.util.List<PostalAddress>> getPostalAddresses()
postalAddresses.postalAddresses.public final void addNewPostalAddress(java.lang.String language,
PostalAddress pa)
language - language to which add a new postal address.pa - Postal Address to add.public final void setPostalAddresses(java.util.Map<java.lang.String,java.util.List<PostalAddress>> paList)
postalAddresses.paList - The value for the attribute postalAddresses.public final boolean isThereSomePostalAddress()
true if there is, otherwise false.public final java.util.Map<java.lang.String,java.util.List<java.net.URI>> getElectronicAddresses()
electronicAddresses.electronicAddresses.public final void addNewElectronicAddress(java.lang.String language,
java.net.URI ea)
language - language to which add a new electronic address.ea - Electronic address to add.public final void setElectronicAddresses(java.util.Map<java.lang.String,java.util.List<java.net.URI>> eaList)
electronicAddresses.eaList - The value for the attribute electronicAddresses.public final boolean isThereSomeElectronicAddress()
true if there is, otherwise false.