public class TakenOverBy extends Extension
Class that represents a TakenOverBy TSL extension.
Project:Library for the integration with the services of @Firma, eVisor and TS@.
IMPL_ADDITIONAL_SERVICE_INFORMATION, IMPL_EXPIRED_CERTS_REVOCATION_INFO, IMPL_QUALIFICATIONS, IMPL_TAKENOVERBY, IMPL_UNKNOWN_EXTENSION, TYPE_SCHEME, TYPE_SERVICE_INFORMATION, TYPE_TSP_INFORMATION| Constructor and Description |
|---|
TakenOverBy(boolean isCritical,
int extensionType)
Constructor method for the class TakenOverBy.java.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addNewSchemeOperatorName(java.lang.String language,
java.lang.String schemeOperatorName)
Adds a new scheme operator name for the specified language.
|
void |
addNewTSPName(java.lang.String language,
java.lang.String name)
Adds a new TSP name in a specified language.
|
java.util.Map<java.lang.String,java.lang.String> |
getAllSchemeOperatorNames()
Gets the value of the attribute
schemeOperatorNames. |
java.util.Map<java.lang.String,java.util.List<java.lang.String>> |
getAllTSPNames()
Gets all the TSP names in all the presented languages.
|
java.lang.String |
getSchemeOperatorNameInLanguage(java.lang.String language)
Gets the scheme operator name for the specified language.
|
java.lang.String |
getSchemeTerritory()
Gets the value of the attribute
schemeTerritory. |
java.util.List<java.lang.String> |
getTSPNamesForLanguage(java.lang.String language)
Gets the TSP name for the specified language.
|
java.net.URI |
getUri()
Gets the value of the attribute
uri. |
boolean |
isThereSomeSchemeOperatorName()
Checks if there is at least one scheme operator name.
|
boolean |
isThereSomeTSPName()
Checks if there is at least one TSP name.
|
void |
setSchemeTerritory(java.lang.String schemeTerritoryParam)
Sets the value of the attribute
schemeTerritory. |
void |
setUri(java.net.URI uriParam)
Sets the value of the attribute
uri. |
checkExtensionValue, extensionTypeToString, getExtensionType, getImplementationExtension, isCriticalpublic TakenOverBy(boolean isCritical,
int extensionType)
isCritical - Flag to indicate if this extension is critical (true) or not (false).extensionType - Extension type. Refer to its location inside the XML. It could be one of the following:
IAnyTypeExtension.TYPE_SCHEMEIAnyTypeExtension.TYPE_TSP_INFORMATIONIAnyTypeExtension.TYPE_SERVICE_INFORMATIONpublic final java.net.URI getUri()
uri.uri.public final void setUri(java.net.URI uriParam)
uri.uriParam - The value for the attribute uri.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 addNewTSPName(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 isThereSomeTSPName()
true if there is, otherwise false.public final java.util.Map<java.lang.String,java.lang.String> getAllSchemeOperatorNames()
schemeOperatorNames.schemeOperatorNames.public final java.lang.String getSchemeOperatorNameInLanguage(java.lang.String language)
language - Language from which gets the scheme operator name.null
if not exists for that language.public final void addNewSchemeOperatorName(java.lang.String language,
java.lang.String schemeOperatorName)
language - language to which associate the new scheme operator name. If
it is null, then this method do nothing.schemeOperatorName - Scheme operator name.public final boolean isThereSomeSchemeOperatorName()
true if there is, otherwise false.public final java.lang.String getSchemeTerritory()
schemeTerritory.schemeTerritory.public final void setSchemeTerritory(java.lang.String schemeTerritoryParam)
schemeTerritory.schemeTerritoryParam - The value for the attribute schemeTerritory.