public class TSPInformation
extends java.lang.Object
implements java.io.Serializable
Class that defines a TSP Information 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 |
|---|
TSPInformation()
Constructor method for the class TSPInformation.java.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addNewName(java.lang.String language,
java.lang.String name)
Adds a new name in a specified language for this TSP.
|
void |
addNewTradeName(java.lang.String language,
java.lang.String name)
Adds a new trade name in a specified language for this TSP.
|
void |
addNewTSPInformationExtension(IAnyTypeExtension extension)
Adds a new extension if it is not
null. |
void |
addNewURI(java.lang.String language,
java.net.URI uri)
Adds a new URI in a specified language for this TSP.
|
java.util.Map<java.lang.String,java.util.List<java.lang.String>> |
getAllTSPNames()
Gets all the TSP names in all the presented languages.
|
java.util.Map<java.lang.String,java.util.List<java.lang.String>> |
getAllTSPTradeNames()
Gets all the TSP trade names in all the presented languages.
|
java.util.Map<java.lang.String,java.util.List<java.net.URI>> |
getAllURI()
Gets all the URI in all the presented languages.
|
Address |
getTspAddress()
Gets the value of the attribute
tspAddress. |
java.util.List<IAnyTypeExtension> |
getTspInformationExtensions()
Gets the value of the attribute
tspInformationExtensions. |
java.util.List<java.lang.String> |
getTSPNamesForLanguage(java.lang.String language)
Gets the name for the specified language for this TSP.
|
java.util.List<java.lang.String> |
getTSPTradeNamesForLanguage(java.lang.String language)
Gets the trade name for the specified language for this TSP.
|
java.util.List<java.net.URI> |
getURIForLanguage(java.lang.String language)
Gets the URI for the specified language for this TSP.
|
boolean |
isThereSomeName()
Checks if there is at least one name for this TSP.
|
boolean |
isThereSomeTradeName()
Checks if there is at least one trade name for this TSP.
|
boolean |
isThereSomeTSPInformationExtension()
Checks if there is at least one TSP information extension.
|
boolean |
isThereSomeURI()
Checks if there is at least one URI for this TSP.
|
void |
setTspAddress(Address tspAddressParam)
Sets the value of the attribute
tspAddress. |
public TSPInformation()
public final java.util.Map<java.lang.String,java.util.List<java.lang.String>> getAllTSPNames()
null if there is not.public final java.util.List<java.lang.String> getTSPNamesForLanguage(java.lang.String language)
language - language from which gets the names (ISO 639).null.public final void addNewName(java.lang.String language,
java.lang.String name)
language - language to which add the name (ISO 639).name - String that represents the name to add.public final boolean isThereSomeName()
true if there is, otherwise false.public final java.util.Map<java.lang.String,java.util.List<java.lang.String>> getAllTSPTradeNames()
null if there is not.public final java.util.List<java.lang.String> getTSPTradeNamesForLanguage(java.lang.String language)
language - language from which gets the trade names (ISO 639).null.public final void addNewTradeName(java.lang.String language,
java.lang.String name)
language - language to which add the trade name (ISO 639).name - String that represents the trade name to add.public final boolean isThereSomeTradeName()
true if there is, otherwise false.public final Address getTspAddress()
tspAddress.tspAddress.public final void setTspAddress(Address tspAddressParam)
tspAddress.tspAddressParam - The value for the attribute tspAddress.public final java.util.Map<java.lang.String,java.util.List<java.net.URI>> getAllURI()
null if there is not.public final java.util.List<java.net.URI> getURIForLanguage(java.lang.String language)
language - language from which gets the URI (ISO 639).null.public final void addNewURI(java.lang.String language,
java.net.URI uri)
language - language to which add the URI (ISO 639).uri - String that represents the URI to add.public final boolean isThereSomeURI()
true if there is, otherwise false.public final java.util.List<IAnyTypeExtension> getTspInformationExtensions()
tspInformationExtensions.tspInformationExtensions.public final void addNewTSPInformationExtension(IAnyTypeExtension extension)
null.extension - extension to add.public final boolean isThereSomeTSPInformationExtension()
true if there is at least one TSP information extension, otherwise false.