Class ParsingCacheDTO

java.lang.Object
eu.europa.esig.dss.tsl.dto.AbstractCacheDTO
eu.europa.esig.dss.tsl.dto.ParsingCacheDTO
All Implemented Interfaces:
eu.europa.esig.dss.model.tsl.InfoRecord, eu.europa.esig.dss.model.tsl.ParsingInfoRecord, Serializable

public class ParsingCacheDTO extends AbstractCacheDTO implements eu.europa.esig.dss.model.tsl.ParsingInfoRecord
The parsing record DTO
See Also:
  • Field Details

    • structureValidationMessages

      protected List<String> structureValidationMessages
      A list of error messages occurred during a structure validation
  • Constructor Details

    • ParsingCacheDTO

      public ParsingCacheDTO()
      Default constructor
    • ParsingCacheDTO

      public ParsingCacheDTO(AbstractCacheDTO cacheDTO)
      Copies the cache DTO
      Parameters:
      cacheDTO - AbstractCacheDTO
  • Method Details

    • getTSLType

      public eu.europa.esig.dss.enumerations.TSLType getTSLType()
      Specified by:
      getTSLType in interface eu.europa.esig.dss.model.tsl.ParsingInfoRecord
    • setTSLType

      public void setTSLType(eu.europa.esig.dss.enumerations.TSLType tslType)
      Sets the TSLType
      Parameters:
      tslType - TSLType
    • getSequenceNumber

      public Integer getSequenceNumber()
      Specified by:
      getSequenceNumber in interface eu.europa.esig.dss.model.tsl.ParsingInfoRecord
    • setSequenceNumber

      public void setSequenceNumber(Integer sequenceNumber)
      Sets the sequence number
      Parameters:
      sequenceNumber - Integer
    • getVersion

      public Integer getVersion()
      Specified by:
      getVersion in interface eu.europa.esig.dss.model.tsl.ParsingInfoRecord
    • setVersion

      public void setVersion(Integer version)
      Sets the version
      Parameters:
      version - Integer
    • getTerritory

      public String getTerritory()
      Specified by:
      getTerritory in interface eu.europa.esig.dss.model.tsl.ParsingInfoRecord
    • setTerritory

      public void setTerritory(String territory)
      Sets the territory
      Parameters:
      territory - String
    • getIssueDate

      public Date getIssueDate()
      Specified by:
      getIssueDate in interface eu.europa.esig.dss.model.tsl.ParsingInfoRecord
    • setIssueDate

      public void setIssueDate(Date issueDate)
      Sets the issue date
      Parameters:
      issueDate - Date
    • getNextUpdateDate

      public Date getNextUpdateDate()
      Specified by:
      getNextUpdateDate in interface eu.europa.esig.dss.model.tsl.ParsingInfoRecord
    • setNextUpdateDate

      public void setNextUpdateDate(Date nextUpdateDate)
      Sets the next update date
      Parameters:
      nextUpdateDate - Date
    • getDistributionPoints

      public List<String> getDistributionPoints()
      Specified by:
      getDistributionPoints in interface eu.europa.esig.dss.model.tsl.ParsingInfoRecord
    • setDistributionPoints

      public void setDistributionPoints(List<String> distributionPoints)
      Sets a list of distribution point urls
      Parameters:
      distributionPoints - a list of Strings
    • getTrustServiceProviders

      public List<eu.europa.esig.dss.model.tsl.TrustServiceProvider> getTrustServiceProviders()
      Specified by:
      getTrustServiceProviders in interface eu.europa.esig.dss.model.tsl.ParsingInfoRecord
    • setTrustServiceProviders

      public void setTrustServiceProviders(List<eu.europa.esig.dss.model.tsl.TrustServiceProvider> trustServiceProviders)
      Sets trust service providers
      Parameters:
      trustServiceProviders - a list of TrustServiceProviders
    • getLotlOtherPointers

      public List<eu.europa.esig.dss.model.tsl.OtherTSLPointer> getLotlOtherPointers()
      Specified by:
      getLotlOtherPointers in interface eu.europa.esig.dss.model.tsl.ParsingInfoRecord
    • setLotlOtherPointers

      public void setLotlOtherPointers(List<eu.europa.esig.dss.model.tsl.OtherTSLPointer> lotlOtherPointers)
      Sets LOTL other pointers
      Parameters:
      lotlOtherPointers - a list of OtherTSLPointers
    • getTlOtherPointers

      public List<eu.europa.esig.dss.model.tsl.OtherTSLPointer> getTlOtherPointers()
      Specified by:
      getTlOtherPointers in interface eu.europa.esig.dss.model.tsl.ParsingInfoRecord
    • setTlOtherPointers

      public void setTlOtherPointers(List<eu.europa.esig.dss.model.tsl.OtherTSLPointer> tlOtherPointers)
      Sets TL other pointers
      Parameters:
      tlOtherPointers - a list of OtherTSLPointers
    • getPivotUrls

      public List<String> getPivotUrls()
      Specified by:
      getPivotUrls in interface eu.europa.esig.dss.model.tsl.ParsingInfoRecord
    • setPivotUrls

      public void setPivotUrls(List<String> pivotUrls)
      Sets pivot URLs
      Parameters:
      pivotUrls - a list of Strings
    • getSigningCertificateAnnouncementUrl

      public String getSigningCertificateAnnouncementUrl()
      Specified by:
      getSigningCertificateAnnouncementUrl in interface eu.europa.esig.dss.model.tsl.ParsingInfoRecord
    • setSigningCertificateAnnouncementUrl

      public void setSigningCertificateAnnouncementUrl(String signingCertificateAnnouncementUrl)
      Sets the signing certificate announcement URL
      Parameters:
      signingCertificateAnnouncementUrl - String
    • getTSPNumber

      public int getTSPNumber()
      Specified by:
      getTSPNumber in interface eu.europa.esig.dss.model.tsl.ParsingInfoRecord
    • getTSNumber

      public int getTSNumber()
      Specified by:
      getTSNumber in interface eu.europa.esig.dss.model.tsl.ParsingInfoRecord
    • getCertNumber

      public int getCertNumber()
      Specified by:
      getCertNumber in interface eu.europa.esig.dss.model.tsl.ParsingInfoRecord
    • getStructureValidationMessages

      public List<String> getStructureValidationMessages()
      Specified by:
      getStructureValidationMessages in interface eu.europa.esig.dss.model.tsl.ParsingInfoRecord
    • setStructureValidationMessages

      public void setStructureValidationMessages(List<String> structureValidationMessages)
      Sets the structure validation error messages
      Parameters:
      structureValidationMessages - a list of String error messages when occurred on the structure validation