public class ConsentSignature
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Constructor and Description |
---|
ConsentSignature() |
ConsentSignature(java.lang.String identifier,
java.lang.String title,
java.lang.String dateFormat) |
ConsentSignature(java.lang.String identifier,
java.lang.String title,
java.lang.String dateFormat,
java.lang.String fullName,
java.lang.String signatureImage,
java.lang.String signatureDate) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getFullName() |
java.lang.String |
getIdentifier() |
java.lang.String |
getSignatureDate() |
java.lang.String |
getSignatureDateFormatString() |
java.lang.String |
getSignatureImage() |
java.lang.String |
getTitle() |
boolean |
requiresBirthDate() |
boolean |
requiresName() |
boolean |
requiresSignatureImage() |
void |
setFullName(java.lang.String fullName) |
void |
setIdentifier(java.lang.String identifier) |
void |
setRequiresBirthDate(boolean requiresBirthDate) |
void |
setRequiresName(boolean requiresName) |
void |
setRequiresSignatureImage(boolean requiresSignatureImage) |
void |
setSignatureImage(java.lang.String signatureImage) |
public ConsentSignature()
public ConsentSignature(@NonNull java.lang.String identifier, java.lang.String title, java.lang.String dateFormat, java.lang.String fullName, java.lang.String signatureImage, java.lang.String signatureDate)
identifier
- The identifier of the signature, unique within this document.title
- The title of the signatory.dateFormat
- The format string to use when formatting the date of signature.fullName
- The given name of the signatory.signatureImage
- An image of the signature.signatureDate
- The date on which the signature was obtained, represented as a string.public ConsentSignature(@NonNull java.lang.String identifier, java.lang.String title, java.lang.String dateFormat)
title
- The title of the signatory.dateFormat
- The format string to use when formatting the date of signature.identifier
- The identifier of the signature, unique within this document.public java.lang.String getIdentifier()
public void setIdentifier(@NonNull java.lang.String identifier)
public boolean requiresName()
public void setRequiresName(boolean requiresName)
public boolean requiresSignatureImage()
public void setRequiresSignatureImage(boolean requiresSignatureImage)
public boolean requiresBirthDate()
public void setRequiresBirthDate(boolean requiresBirthDate)
public java.lang.String getTitle()
public java.lang.String getFullName()
public void setFullName(java.lang.String fullName)
public java.lang.String getSignatureImage()
public void setSignatureImage(java.lang.String signatureImage)
public java.lang.String getSignatureDate()
public java.lang.String getSignatureDateFormatString()