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.ars.model.request;
import java.util.StringJoiner;
/**
* @author
DNS
* Will this break Hibernated data?
* Should there be a version #?
*
*/
public class AuditLogger {
String vhaName;
String attachIdLx;
String applicationLevel;
Boolean isDownload; // serializable, that's why
// you need to have a no-args constructor.
/**
*
*/
public AuditLogger() {
super();
// TODO Auto-generated constructor stub
}
// // Unused except for testing, deprecate
// DEPRECATE THESE "convenience" constructors. we don't need the complexity.
// /**
// * @param vhaName
// * @param attachIdLx
// */
// public AuditLogger(String vhaName, String attachIdLx) {
// super();
// this.vhaName = vhaName;
// this.attachIdLx = attachIdLx;
// // applicationLevel = null; // just rely on default initialization
// // this.isDownload = false; // just rely on default initialization
//
// }
// I still don't know what applicationLevel is for, so I'll keep this one.
/**
* @param vhaName
* @param attachIdLx
* @param isDownload
*/
public AuditLogger(String vhaName, String attachIdLx, Boolean isDownload) {
super();
this.vhaName = vhaName;
this.attachIdLx = attachIdLx;
this.isDownload = isDownload;
}
/**
* @param vhaName
* @param attachIdLx
* @param applicationLevel
* @param isDownload
*/
public AuditLogger(String vhaName, String attachIdLx, String applicationLevel, Boolean isDownload) {
super();
this.vhaName = vhaName;
this.attachIdLx = attachIdLx;
this.applicationLevel = applicationLevel;
this.isDownload = isDownload;
}
// // Unused except for testing, deprecate
// /**
// * @param vhaName
// * @param attachIdLx
// * @param applicationLevel
// */
// public AuditLogger(String vhaName, String attachIdLx, String applicationLevel) {
// super();
// this.vhaName = vhaName;
// this.attachIdLx = attachIdLx;
// this.applicationLevel = applicationLevel;
// }
//
/**
* @return the vhaName
*/
public String getVhaName() {
return vhaName;
}
/**
* @param vhaName
* the vhaName to set
*/
public void setVhaName(String vhaName) {
this.vhaName = vhaName;
}
/**
* @return the attachIdLx
*/
public String getAttachIdLx() { // Deprecated
return attachIdLx;
}
/**
* @param attachIdLx
* the attachIdLx to set
*/
public void setAttachIdLx(String attachIdLx) {
this.attachIdLx = attachIdLx;
}
/**
* @return the applicationLevel
*/
public String getApplicationLevel() {
return applicationLevel;
}
/**
* @param applicationLevel
* the applicationLevel to set
*/
public void setApplicationLevel(String applicationLevel) {
this.applicationLevel = applicationLevel;
}
/**
* @return the isDownload
*/
public Boolean getIsDownload() {
return isDownload;
}
/**
* @param isDownload
* the isDownload to set
*/
public void setDownload(Boolean isDownload) {
this.isDownload = isDownload;
}
/*
* (non-Javadoc)
*
* @see java.lang.Object#toString()
*/
@Override
public String toString() {
StringJoiner sj = new StringJoiner(", ", "AuditLogger [", "]");
sj.add("vhaName=" + vhaName);
sj.add("attachIdLx=" + attachIdLx);
sj.add("isDownload=" + isDownload);
sj.add("applicationLevel=" + applicationLevel);
return sj.toString();
}
}