Class RemoteSignatureFieldParameters

java.lang.Object
eu.europa.esig.dss.ws.signature.dto.parameters.RemoteSignatureFieldParameters
All Implemented Interfaces:
Serializable

public class RemoteSignatureFieldParameters extends Object implements Serializable
Defines signature field box for a visual PDF signature/timestamp creation
See Also:
  • Constructor Details

    • RemoteSignatureFieldParameters

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

    • getFieldId

      public String getFieldId()
      Returns the field Id to be signed
      Returns:
      String
    • setFieldId

      public void setFieldId(String fieldId)
      Sets the field Id to be signed NOTE: to be used only when the field is already exists within a PDF file
      Parameters:
      fieldId - String
    • getOriginX

      public Float getOriginX()
      Gets the upper left X coordinate
      Returns:
      Float
    • setOriginX

      public void setOriginX(Float originX)
      Sets the upper left X coordinate
      Parameters:
      originX - Float
    • getOriginY

      public Float getOriginY()
      Gets the upper left Y coordinate
      Returns:
      Float
    • setOriginY

      public void setOriginY(Float originY)
      Sets the upper left Y coordinate
      Parameters:
      originY - Float
    • getWidth

      public Float getWidth()
      Gets the signature field box width
      Returns:
      Float
    • setWidth

      public void setWidth(Float width)
      Sets the signature field box width
      Parameters:
      width - Float
    • getHeight

      public Float getHeight()
      Gets the signature field box height
      Returns:
      Float
    • setHeight

      public void setHeight(Float height)
      Sets the signature field box height
      Parameters:
      height - Float
    • getRotation

      public VisualSignatureRotation getRotation()
      Gets the signature field rotation
      Returns:
      VisualSignatureRotation
    • setRotation

      public void setRotation(VisualSignatureRotation rotation)
      Sets the signature field rotation
      Parameters:
      rotation - VisualSignatureRotation
    • getPage

      public Integer getPage()
      Gets the page number to create the signature on
      Returns:
      Integer
    • setPage

      public void setPage(Integer page)
      Sets the page number to create the signature on
      Parameters:
      page - Integer
    • hashCode

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

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

      public String toString()
      Overrides:
      toString in class Object