public class SchemeInformation
extends java.lang.Object
implements java.io.Serializable
Class that defines the TSL Scheme 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 |
|---|
SchemeInformation()
Constructor method for the class SchemeInformation.java.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addNewDistributionPoint(java.net.URI dpUri)
Adds a new distribution point.
|
void |
addNewLegalNotice(java.lang.String language,
java.lang.String legalNotice)
Adds a new scheme legal notice in a specific language.
|
void |
addNewPointerToOtherTSL(TSLPointer pointer)
Adds a new pointer to other TSL.
|
void |
addNewPolicy(java.lang.String language,
java.net.URI policyUri)
Adds a new scheme policy in a specific language.
|
void |
addNewSchemeInformationExtension(IAnyTypeExtension extension)
Adds a new extension if it is not
null. |
void |
addNewSchemeInformationURI(java.lang.String language,
java.net.URI schemeInformationURI)
Adds a new scheme information URI for the specified language.
|
void |
addNewSchemeName(java.lang.String language,
java.lang.String schemeName)
Adds a new scheme name for the specified language.
|
void |
addNewSchemeOperatorName(java.lang.String language,
java.lang.String schemeOperatorName)
Adds a new scheme operator name for the specified language.
|
void |
addNewSchemeTypeCommunityRule(java.lang.String language,
java.net.URI stcrUri)
Adds a new scheme type community rule URI for the specified language.
|
java.util.List<java.net.URI> |
getDistributionPoints()
Gets the value of the attribute
distributionPoints. |
int |
getHistoricalPeriod()
Gets the value of the attribute
historicalPeriod. |
java.lang.String |
getLegalNoticeInLanguage(java.lang.String language)
Gets the notice from the input language.
|
java.util.Map<java.lang.String,java.lang.String> |
getLegalNotices()
Gets the value of the attribute
legalNotices. |
java.util.Date |
getListIssueDateTime()
Gets the value of the attribute
listIssueDateTime. |
java.util.Date |
getNextUpdate()
Gets the value of the attribute
nextUpdate. |
java.util.List<TSLPointer> |
getPointersToOtherTSL()
Gets the value of the attribute
pointersToOtherTSL. |
java.util.Map<java.lang.String,java.net.URI> |
getPolicies()
Gets the value of the attribute
policies. |
java.net.URI |
getPolicyInLanguage(java.lang.String language)
Gets the policy assigned to the input language.
|
java.util.List<IAnyTypeExtension> |
getSchemeInformationExtensions()
Gets the value of the attribute
schemeInformationExtensions. |
java.util.List<java.net.URI> |
getSchemeInformationURIinLanguage(java.lang.String language)
Gets the scheme information URI list for the specified language.
|
java.util.Map<java.lang.String,java.util.List<java.net.URI>> |
getSchemeInformationURIs()
Gets the value of the attribute
schemeInformationURIs. |
java.lang.String |
getSchemeName(java.lang.String language)
Gets the scheme name for the specified language.
|
java.util.Map<java.lang.String,java.lang.String> |
getSchemeNames()
Gets the value of the attribute
schemeNames. |
Address |
getSchemeOperatorAddress()
Gets the value of the attribute
schemeOperatorAddress. |
java.util.List<java.lang.String> |
getSchemeOperatorNameInLanguage(java.lang.String language)
Gets the scheme operator name for the specified language.
|
java.util.Map<java.lang.String,java.util.List<java.lang.String>> |
getSchemeOperatorNames()
Gets the value of the attribute
schemeOperatorNames. |
java.lang.String |
getSchemeTerritory()
Gets the value of the attribute
schemeTerritory. |
java.util.Map<java.lang.String,java.util.List<java.net.URI>> |
getSchemeTypeCommunityRules()
Gets the value of the attribute
schemeTypeCommunityRules. |
java.util.List<java.net.URI> |
getSchemeTypeCommunityRulesInLanguage(java.lang.String language)
Gets the scheme type community rules for the specified language.
|
java.net.URI |
getStatusDeterminationApproach()
Gets the value of the attribute
statusDeterminationApproach. |
int |
getTslSequenceNumber()
Gets the value of the attribute
tslSequenceNumber. |
java.net.URI |
getTslType()
Gets the value of the attribute
tslType. |
int |
getTslVersionIdentifier()
Gets the value of the attribute
tslVersionIdentifier. |
boolean |
isThereSomeDistributionPoint()
Checks if there is at least one distribution point.
|
boolean |
isThereSomeLegalNotice()
Checks if there is at least one scheme legal notice.
|
boolean |
isThereSomePointerToOtherTSL()
Checks if there is at least one pointer to other TSL.
|
boolean |
isThereSomePolicy()
Checks if there is at least one scheme policy.
|
boolean |
isThereSomeSchemeInformationExtension()
Checks if there is at least one scheme information extension.
|
boolean |
isThereSomeSchemeInformationURI()
Checks if there is at least one scheme information URI.
|
boolean |
isThereSomeSchemeName()
Checks if there is at least one scheme name added.
|
boolean |
isThereSomeSchemeTypeCommunityRule()
Checks if there is at least one scheme type community rule.
|
void |
setDistributionPoints(java.util.List<java.net.URI> distributionPointsParam)
Sets the value of the attribute
distributionPoints. |
void |
setHistoricalPeriod(int historicalPeriodParam)
Sets the value of the attribute
historicalPeriod. |
void |
setLegalNotices(java.util.Map<java.lang.String,java.lang.String> legalNoticesParam)
Sets the value of the attribute
legalNotices. |
void |
setListIssueDateTime(java.util.Date listIssueDateTimeParam)
Sets the value of the attribute
listIssueDateTime. |
void |
setNextUpdate(java.util.Date nextUpdateParam)
Sets the value of the attribute
nextUpdate. |
void |
setPointersToOtherTSL(java.util.List<TSLPointer> pointersToOtherTSLParam)
Sets the value of the attribute
pointersToOtherTSL. |
void |
setPolicies(java.util.Map<java.lang.String,java.net.URI> policiesParam)
Sets the value of the attribute
policies. |
void |
setSchemeNames(java.util.Map<java.lang.String,java.lang.String> schemeNamesParam)
Sets the value of the attribute
schemeNames. |
void |
setSchemeOperatorAddress(Address schemeOperatorAddressParam)
Sets the value of the attribute
schemeOperatorAddress. |
void |
setSchemeTerritory(java.lang.String schemeTerritoryParam)
Sets the value of the attribute
schemeTerritory. |
void |
setStatusDeterminationApproach(java.net.URI statusDeterminationApproachParam)
Sets the value of the attribute
statusDeterminationApproach. |
void |
setTslSequenceNumber(int tslSequenceNumberParam)
Sets the value of the attribute
tslSequenceNumber. |
void |
setTslType(java.net.URI tslTypeParam)
Sets the value of the attribute
tslType. |
void |
setTslVersionIdentifier(int tslVersionIdentifierParam)
Sets the value of the attribute
tslVersionIdentifier. |
public SchemeInformation()
public final int getTslVersionIdentifier()
tslVersionIdentifier.tslVersionIdentifier.public final void setTslVersionIdentifier(int tslVersionIdentifierParam)
tslVersionIdentifier.tslVersionIdentifierParam - The value for the attribute tslVersionIdentifier.public final int getTslSequenceNumber()
tslSequenceNumber.tslSequenceNumber.public final void setTslSequenceNumber(int tslSequenceNumberParam)
tslSequenceNumber.tslSequenceNumberParam - The value for the attribute tslSequenceNumber.public final java.net.URI getTslType()
tslType.tslType.public final void setTslType(java.net.URI tslTypeParam)
tslType.tslTypeParam - The value for the attribute tslType.public final java.util.Map<java.lang.String,java.util.List<java.lang.String>> getSchemeOperatorNames()
schemeOperatorNames.schemeOperatorNames.public final java.util.List<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 Address getSchemeOperatorAddress()
schemeOperatorAddress.schemeOperatorAddress.public final void setSchemeOperatorAddress(Address schemeOperatorAddressParam)
schemeOperatorAddress.schemeOperatorAddressParam - The value for the attribute schemeOperatorAddress.public final java.util.Map<java.lang.String,java.lang.String> getSchemeNames()
schemeNames.schemeNames.public final java.lang.String getSchemeName(java.lang.String language)
language - Language from which gets the scheme name.null
if not exists for that language.public final void addNewSchemeName(java.lang.String language,
java.lang.String schemeName)
language - language to which associate the new scheme name. If
it is null, then this method do nothing.schemeName - Scheme name.public final void setSchemeNames(java.util.Map<java.lang.String,java.lang.String> schemeNamesParam)
schemeNames.schemeNamesParam - The value for the attribute schemeNames.public final boolean isThereSomeSchemeName()
true if there is, otherwise false.public final java.util.Map<java.lang.String,java.util.List<java.net.URI>> getSchemeInformationURIs()
schemeInformationURIs.schemeInformationURIs.public final java.util.List<java.net.URI> getSchemeInformationURIinLanguage(java.lang.String language)
language - Language from which gets the scheme information URI.null if not exists for that language.public final void addNewSchemeInformationURI(java.lang.String language,
java.net.URI schemeInformationURI)
language - language to which associate the new scheme information URI.
If it is null, then this method do nothing.schemeInformationURI - Scheme information URI.public final boolean isThereSomeSchemeInformationURI()
true if there is, otherwise false.public final java.net.URI getStatusDeterminationApproach()
statusDeterminationApproach.statusDeterminationApproach.public final void setStatusDeterminationApproach(java.net.URI statusDeterminationApproachParam)
statusDeterminationApproach.statusDeterminationApproachParam - The value for the attribute statusDeterminationApproach.public final java.util.Map<java.lang.String,java.util.List<java.net.URI>> getSchemeTypeCommunityRules()
schemeTypeCommunityRules.schemeTypeCommunityRules.public final java.util.List<java.net.URI> getSchemeTypeCommunityRulesInLanguage(java.lang.String language)
language - Language from which gets the scheme type community rules.null if not exists for that language.public final void addNewSchemeTypeCommunityRule(java.lang.String language,
java.net.URI stcrUri)
language - language to which associate the new scheme type community rule URI.
If it is null, then this method do nothing.stcrUri - scheme type community rule URI.public final boolean isThereSomeSchemeTypeCommunityRule()
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.public final java.util.Map<java.lang.String,java.net.URI> getPolicies()
policies.policies.public final java.net.URI getPolicyInLanguage(java.lang.String language)
language - language to search (ISO 639).public final void addNewPolicy(java.lang.String language,
java.net.URI policyUri)
language - Language to which add the policy.policyUri - scheme policy URI to add.public final void setPolicies(java.util.Map<java.lang.String,java.net.URI> policiesParam)
policies.policiesParam - The value for the attribute policies.public final boolean isThereSomePolicy()
true if there is, otherwise false.public final java.util.Map<java.lang.String,java.lang.String> getLegalNotices()
legalNotices.legalNotices.public final java.lang.String getLegalNoticeInLanguage(java.lang.String language)
language - Language to search (ISO 639).public final void addNewLegalNotice(java.lang.String language,
java.lang.String legalNotice)
language - Language to which add the legal notice.legalNotice - legal notice to add.public final void setLegalNotices(java.util.Map<java.lang.String,java.lang.String> legalNoticesParam)
legalNotices.legalNoticesParam - The value for the attribute legalNotices.public final boolean isThereSomeLegalNotice()
true if there is, otherwise false.public final int getHistoricalPeriod()
historicalPeriod.historicalPeriod.public final void setHistoricalPeriod(int historicalPeriodParam)
historicalPeriod.historicalPeriodParam - The value for the attribute historicalPeriod.public final java.util.List<TSLPointer> getPointersToOtherTSL()
pointersToOtherTSL.pointersToOtherTSL.public final void addNewPointerToOtherTSL(TSLPointer pointer)
pointer - pointer to other TSL object representation.public final void setPointersToOtherTSL(java.util.List<TSLPointer> pointersToOtherTSLParam)
pointersToOtherTSL.pointersToOtherTSLParam - The value for the attribute pointersToOtherTSL.public final boolean isThereSomePointerToOtherTSL()
true if there is, otherwise false.public final java.util.Date getListIssueDateTime()
listIssueDateTime.listIssueDateTime.public final void setListIssueDateTime(java.util.Date listIssueDateTimeParam)
listIssueDateTime.listIssueDateTimeParam - The value for the attribute listIssueDateTime.public final java.util.Date getNextUpdate()
nextUpdate.nextUpdate.public final void setNextUpdate(java.util.Date nextUpdateParam)
nextUpdate.nextUpdateParam - The value for the attribute nextUpdate.public final java.util.List<java.net.URI> getDistributionPoints()
distributionPoints.distributionPoints.public final void addNewDistributionPoint(java.net.URI dpUri)
dpUri - Distribution point to add.public final void setDistributionPoints(java.util.List<java.net.URI> distributionPointsParam)
distributionPoints.distributionPointsParam - The value for the attribute distributionPoints.public final boolean isThereSomeDistributionPoint()
true if there is, otherwise false.public final java.util.List<IAnyTypeExtension> getSchemeInformationExtensions()
schemeInformationExtensions.schemeInformationExtensions.public final void addNewSchemeInformationExtension(IAnyTypeExtension extension)
null.extension - extension to add.public final boolean isThereSomeSchemeInformationExtension()
true if there is at least one scheme information extension, otherwise false.