Summary Table

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

File Content

/**
*
*/
package gov.va.med.ewv.util;

/**
* This class stores stores a reference to a PDF file.
*
* @author
DNS
*
*/
public class PdfReference {

/**
* Short description of the PDF file
*/
private String alt;

/**
* The Unique ID of the PDF Reference from the database.
*/
private String guid;

/**
* Constructor.
*/
public PdfReference() {
setGuid(null);
setAlt(null);
}

/**
* Constructor.
*
* @param guid - value to use to set the "guid" data
* @param alt - value to use to set the "alt" data
*/
public PdfReference(String guid, String alt) {
setGuid(guid);
setAlt(alt);
}

/**
* Gets the value of the "alt" data.
*
* @return value of the "alt" data
*/
public String getAlt() {
return alt;
}

/**
* Gets the value of the "guid" data.
*
* @return value of the "guid" data
*/
public String getGuid() {
return guid;
}

/**
* Set the value of the "alt" data.
*
* @param alt - value to use to set the "alt" data
*/
public void setAlt(String alt) {
if (alt == null) {
this.alt = "";
} else {
this.alt = alt.trim();
}
}

/**
* Set the value of the "guid" data.
*
* @param guid - value to use to set the "guid" data
*/
public void setGuid(String guid) {
if (guid == null) {
this.guid = "";
} else {
this.guid = guid.trim();
}
}
}