Class ServiceDigitalIdentity
- java.lang.Object
-
- es.gob.afirma.tsl.parsing.impl.common.ServiceDigitalIdentity
-
- All Implemented Interfaces:
java.io.Serializable
public class ServiceDigitalIdentity extends java.lang.Object implements java.io.SerializableClass that defines a Service Digital Identity 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 ServiceDigitalIdentity()Constructor method for the class ServiceDigitalIdentity.java.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddNewDigitalIdentity(DigitalID digitalIdentity)Adds a new digital identity to this service digital identity.java.util.List<DigitalID>getAllDigitalIdentities()Gets all the digital identities associated to this service digital identity.booleanisThereSomeIdentity()Checks if there is some digital identity associated to this Service Digital Identity.
-
-
-
Method Detail
-
isThereSomeIdentity
public final boolean isThereSomeIdentity()
Checks if there is some digital identity associated to this Service Digital Identity.- Returns:
trueif there is some digital identity associated to this Service Digital Identity, otherwisefalse.
-
addNewDigitalIdentity
public final void addNewDigitalIdentity(DigitalID digitalIdentity)
Adds a new digital identity to this service digital identity.- Parameters:
digitalIdentity- Digital identity to add.
-
getAllDigitalIdentities
public final java.util.List<DigitalID> getAllDigitalIdentities()
Gets all the digital identities associated to this service digital identity.- Returns:
- List with all the digital identities associated to this service digital identity.
-
-