Class TSPService

  • All Implemented Interfaces:
    java.io.Serializable

    public class TSPService
    extends java.lang.Object
    implements java.io.Serializable

    Class that defines a TSP Service 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@.

    Version:
    1.0, 10/11/2020.
    See Also:
    Serialized Form
    • Constructor Detail

      • TSPService

        public TSPService()
        Constructor method for the class TSPService.java.
    • Method Detail

      • getAllServiceHistory

        public final java.util.List<ServiceHistoryInstance> getAllServiceHistory()
        Gets a list of service information about the history of the TSP ordered by service status starting time, from news to older.
        Returns:
        List of service information about the history of the TSP. null if there is not.
      • addNewServiceHistory

        public final void addNewServiceHistory​(ServiceHistoryInstance shi)
        Adds a new service history information for this TSP.
        Parameters:
        shi - Service History information to add.
      • isThereSomeServiceHistory

        public final boolean isThereSomeServiceHistory()
        Checks if there is some service history information for this TSP.
        Returns:
        true if there is, otherwise false.