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@.
| Constructor and Description |
|---|
TSPService()
Constructor method for the class TSPService.java.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addNewServiceHistory(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.
|
ServiceInformation |
getServiceInformation()
Gets the value of the attribute
serviceInformation. |
boolean |
isThereSomeServiceHistory()
Checks if there is some service history information for this TSP.
|
void |
setServiceInformation(ServiceInformation serviceInformationParam)
Sets the value of the attribute
serviceInformation. |
public final ServiceInformation getServiceInformation()
serviceInformation.serviceInformation.public final void setServiceInformation(ServiceInformation serviceInformationParam)
serviceInformation.serviceInformationParam - The value for the attribute serviceInformation.public final java.util.List<ServiceHistoryInstance> getAllServiceHistory()
null if there is not.public final void addNewServiceHistory(ServiceHistoryInstance shi)
shi - Service History information to add.public final boolean isThereSomeServiceHistory()
true if there is, otherwise false.