Class TSPService
- java.lang.Object
-
- es.gob.afirma.tsl.parsing.impl.common.TSPService
-
- All Implemented Interfaces:
java.io.Serializable
public class TSPService extends java.lang.Object implements java.io.SerializableClass 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 Summary
Constructors Constructor Description TSPService()Constructor method for the class TSPService.java.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddNewServiceHistory(ServiceHistoryInstance shi)Adds a new service history information for this TSP.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.ServiceInformationgetServiceInformation()Gets the value of the attributeserviceInformation.booleanisThereSomeServiceHistory()Checks if there is some service history information for this TSP.voidsetServiceInformation(ServiceInformation serviceInformationParam)Sets the value of the attributeserviceInformation.
-
-
-
Method Detail
-
getServiceInformation
public final ServiceInformation getServiceInformation()
Gets the value of the attributeserviceInformation.- Returns:
- the value of the attribute
serviceInformation.
-
setServiceInformation
public final void setServiceInformation(ServiceInformation serviceInformationParam)
Sets the value of the attributeserviceInformation.- Parameters:
serviceInformationParam- The value for the attributeserviceInformation.
-
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.
nullif 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:
trueif there is, otherwisefalse.
-
-