Package eu.europa.esig.dss.model
Class SpDocSpecification
java.lang.Object
eu.europa.esig.dss.model.SpDocSpecification
- All Implemented Interfaces:
Serializable
Represents a "SpDocSpecification" element
- See Also:
-
Constructor Summary
ConstructorDescriptionDefault constructor instantiating object with null values -
Method Summary
Modifier and TypeMethodDescriptionboolean
Get descriptionString[]
Get documentation referencesgetId()
Get identifierGet a qualifier (used in XAdES)int
hashCode()
void
setDescription
(String description) Set descriptionvoid
setDocumentationReferences
(String... documentationReferences) Set documentation referencesvoid
Set Identifier (URI or OID)void
setQualifier
(ObjectIdentifierQualifier qualifier) Set a qualifier (used in XAdES)toString()
-
Constructor Details
-
SpDocSpecification
public SpDocSpecification()Default constructor instantiating object with null values
-
-
Method Details
-
getId
Get identifier- Returns:
String
id
-
setId
Set Identifier (URI or OID)- Parameters:
id
-String
(eg : 2.2.25.1 for OID)
-
getDescription
Get description- Returns:
String
description
-
setDescription
Set description- Parameters:
description
-String
-
getDocumentationReferences
Get documentation references- Returns:
- an array of
String
documentation references
-
setDocumentationReferences
Set documentation references- Parameters:
documentationReferences
- an array ofString
s
-
getQualifier
Get a qualifier (used in XAdES)- Returns:
ObjectIdentifierQualifier
-
setQualifier
Set a qualifier (used in XAdES)- Parameters:
qualifier
-ObjectIdentifierQualifier
-
hashCode
public int hashCode() -
equals
-
toString
-