Class SpDocSpecification

java.lang.Object
eu.europa.esig.dss.model.SpDocSpecification
All Implemented Interfaces:
Serializable

public class SpDocSpecification extends Object implements Serializable
Represents a "SpDocSpecification" element
See Also:
  • Constructor Details

    • SpDocSpecification

      public SpDocSpecification()
      Default constructor instantiating object with null values
  • Method Details

    • getId

      public String getId()
      Get identifier
      Returns:
      String id
    • setId

      public void setId(String id)
      Set Identifier (URI or OID)
      Parameters:
      id - String (eg : 2.2.25.1 for OID)
    • getDescription

      public String getDescription()
      Get description
      Returns:
      String description
    • setDescription

      public void setDescription(String description)
      Set description
      Parameters:
      description - String
    • getDocumentationReferences

      public String[] getDocumentationReferences()
      Get documentation references
      Returns:
      an array of String documentation references
    • setDocumentationReferences

      public void setDocumentationReferences(String... documentationReferences)
      Set documentation references
      Parameters:
      documentationReferences - an array of Strings
    • getQualifier

      public ObjectIdentifierQualifier getQualifier()
      Get a qualifier (used in XAdES)
      Returns:
      ObjectIdentifierQualifier
    • setQualifier

      public void setQualifier(ObjectIdentifierQualifier qualifier)
      Set a qualifier (used in XAdES)
      Parameters:
      qualifier - ObjectIdentifierQualifier
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object