Class DSSDataObjectFormat

java.lang.Object
eu.europa.esig.dss.xades.dataobject.DSSDataObjectFormat
All Implemented Interfaces:
Serializable

public class DSSDataObjectFormat extends Object implements Serializable
This class represents a <xades:DataObjectFormat> element as part of <xades:SignedDataObjectProperties>
See Also:
  • Constructor Details

    • DSSDataObjectFormat

      public DSSDataObjectFormat()
      Empty constructor
  • Method Details

    • getDescription

      public String getDescription()
      Gets description of the data object
      Returns:
      String
    • setDescription

      public void setDescription(String description)
      Sets description of the data object
      Parameters:
      description - String
    • getObjectIdentifier

      public ObjectIdentifier getObjectIdentifier()
      Gets object identifier (reference) of the data object
      Returns:
      ObjectIdentifier
    • setObjectIdentifier

      public void setObjectIdentifier(ObjectIdentifier objectIdentifier)
      Sets object identifier (reference) of the data object
      Parameters:
      objectIdentifier - ObjectIdentifier
    • getMimeType

      public String getMimeType()
      Gets MimeType of the data object
      Returns:
      String
    • setMimeType

      public void setMimeType(String mimeType)
      Sets MimeType of the data object
      Parameters:
      mimeType - String
    • getEncoding

      public String getEncoding()
      Gets encoding of the data object
      Returns:
      String
    • setEncoding

      public void setEncoding(String encoding)
      Sets encoding of the data object
      Parameters:
      encoding - String
    • getObjectReference

      public String getObjectReference()
      Gets reference to the data object
      Returns:
      String
    • setObjectReference

      public void setObjectReference(String objectReference)
      Sets reference to the data object
      Parameters:
      objectReference - String
    • equals

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

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

      public String toString()
      Overrides:
      toString in class Object