Record Class JAXBTrustServiceData
java.lang.Object
java.lang.Record
br.ufsc.labsec.trustedList.parse.JAXBTrustServiceData
- All Implemented Interfaces:
ListData, TServiceData
public record JAXBTrustServiceData(eu.europa.esig.trustedlist.jaxb.tsl.TSPServiceType tspServiceType)
extends Record
implements TServiceData
-
Constructor Summary
ConstructorsConstructorDescriptionJAXBTrustServiceData(eu.europa.esig.trustedlist.jaxb.tsl.TSPServiceType tspServiceType) Creates an instance of aJAXBTrustServiceDatarecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.eu.europa.esig.trustedlist.jaxb.tsl.TSPServiceTypeReturns the value of thetspServiceTyperecord component.
-
Constructor Details
-
JAXBTrustServiceData
public JAXBTrustServiceData(eu.europa.esig.trustedlist.jaxb.tsl.TSPServiceType tspServiceType) Creates an instance of aJAXBTrustServiceDatarecord class.- Parameters:
tspServiceType- the value for thetspServiceTyperecord component
-
-
Method Details
-
getServiceIdentifier
- Specified by:
getServiceIdentifierin interfaceTServiceData
-
getServiceName
- Specified by:
getServiceNamein interfaceTServiceData
-
getServiceStatus
- Specified by:
getServiceStatusin interfaceTServiceData
-
getBase64Certificate
- Specified by:
getBase64Certificatein interfaceTServiceData
-
getSubjectName
- Specified by:
getSubjectNamein interfaceTServiceData
-
getBase64SKI
- Specified by:
getBase64SKIin interfaceTServiceData
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
tspServiceType
public eu.europa.esig.trustedlist.jaxb.tsl.TSPServiceType tspServiceType()Returns the value of thetspServiceTyperecord component.- Returns:
- the value of the
tspServiceTyperecord component
-