Summary Table

Categories Total Count
PII 0
URL 0
DNS 0
EKL 0
IP 0
PORT 0
VsID 0
CF 0
AI 0
VPD 0
PL 0
Other 0

File Content

package gov.va.med.pbm.ampl.model;

import java.io.Serializable;
import java.time.OffsetDateTime;

import org.springframework.lang.Nullable;

/**
* This class consists of properties representing a signature for a progress note.
*
* @author Asli Goncer
* @since 1.0
*/
public class Signature implements Serializable {

private static final long serialVersionUID = 7695518317969001030L;

/**
* Person who signed
*/
private String signator;

/**
* Block name for the signature
*/
private String blockName;

/**
* Block title for the signature
*/
private String blockTitle;

/**
* Date of signature
*/
@Nullable
private OffsetDateTime signDate;

/**
* The getter for the signator.
*
* @return the person signing
*/
public String getSignator() {
return signator;
}

/**
* The setter for the signator.
*
* @param signator the person signing
*
*/
public void setSignator(String signator) {
this.signator = signator;
}

/**
* The getter for the blockName.
*
* @return the name in the signature block
*/
public String getBlockName() {
return blockName;
}

/**
* The setter for the blockName.
*
* @param blockName the name in the signature block
*
*/
public void setBlockName(String blockName) {
this.blockName = blockName;
}

/**
* The getter for the blockTitle.
*
* @return the title in the signature block
*/
public String getBlockTitle() {
return blockTitle;
}

/**
* The setter for the blockTitle.
*
* @param blockTitle the title in the signature block
*
*/
public void setBlockTitle(String blockTitle) {
this.blockTitle = blockTitle;
}

/**
* The getter for the signDate.
*
* @return the date signed
*/
public OffsetDateTime getSignDate() {
return signDate;
}

/**
* The setter for the signDate.
*
* @param signDate the date signed
*
*/
public void setSignDate(OffsetDateTime signDate) {
this.signDate = signDate;
}

/**
* The toString() method returns the string representation of the object.
*/
@Override
public String toString() {
return "Signature [signator=" + signator + ", blockName=" + blockName + ", blockTitle=" + blockTitle + ", signDate="
+ signDate + "]";
}
}