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 com.fasterxml.jackson.annotation.JsonInclude;

/**
* @author
DNS
*
*/
public class CodeAndModifierRequest {

private Long cd;
private String stcCd;
private String stcCdDesc;
private String startDate;
private String endDate;
@JsonInclude(JsonInclude.Include.NON_NULL)
private boolean flag;
private boolean archive;

@JsonInclude(JsonInclude.Include.NON_NULL)
private String level;

/**
*
*/
public CodeAndModifierRequest() {
super();
// TODO Auto-generated constructor stub
}

/**
* @param cd
* @param stcCd
* @param stcCdDesc
* @param flag
*/
public CodeAndModifierRequest(Long cd, String stcCd, String stcCdDesc, boolean flag) {
super();
this.cd = cd;
this.stcCd = stcCd;
this.stcCdDesc = stcCdDesc;
this.flag = flag;
}

/**
* @param cd
* @param stcCd
* @param stcCdDesc
* @param startDate
* @param endDate
* @param flag
*/
public CodeAndModifierRequest(Long cd, String stcCd, String stcCdDesc, String startDate, String endDate,
boolean flag) {
super();
this.cd = cd;
this.stcCd = stcCd;
this.stcCdDesc = stcCdDesc;
this.startDate = startDate;
this.endDate = endDate;
this.flag = flag;
}

/**
* @param cd
* @param stcCd
* @param stcCdDesc
* @param startDate
* @param endDate
* @param flag
* @param archive
*/
public CodeAndModifierRequest(Long cd, String stcCd, String stcCdDesc, String startDate, String endDate,
boolean flag, boolean archive) {
super();
this.cd = cd;
this.stcCd = stcCd;
this.stcCdDesc = stcCdDesc;
this.startDate = startDate;
this.endDate = endDate;
this.flag = flag;
this.archive = archive;
}

/**
* @param cd
* @param stcCd
* @param stcCdDesc
* @param startDate
* @param endDate
* @param flag
* @param archive
* @param loincType
*/
public CodeAndModifierRequest(Long cd, String stcCd, String stcCdDesc, String startDate, String endDate,
boolean flag, boolean archive, String loincType) {
super();
this.cd = cd;
this.stcCd = stcCd;
this.stcCdDesc = stcCdDesc;
this.startDate = startDate;
this.endDate = endDate;
this.flag = flag;
this.archive = archive;
this.level = loincType;
}

/**
* @return the cd
*/
public Long getCd() {
return cd;
}

/**
* @param cd
* the cd to set
*/
public void setCd(Long cd) {
this.cd = cd;
}

/**
* @return the stcCd
*/
public String getStcCd() {
return stcCd;
}

/**
* @param stcCd
* the stcCd to set
*/
public void setStcCd(String stcCd) {
this.stcCd = stcCd;
}

/**
* @return the stcCdDesc
*/
public String getStcCdDesc() {
return stcCdDesc;
}

/**
* @param stcCdDesc
* the stcCdDesc to set
*/
public void setStcCdDesc(String stcCdDesc) {
this.stcCdDesc = stcCdDesc;
}

/**
* @return the flag
*/
public boolean isFlag() {
return flag;
}

/**
* @param flag
* the flag to set
*/
public void setFlag(boolean flag) {
this.flag = flag;
}

public String getStartDate() {
return startDate;
}

public void setStartDate(String startDate) {
this.startDate = startDate;
}

public String getEndDate() {
return endDate;
}

public void setEndDate(String endDate) {
this.endDate = endDate;
}

/**
* @return the archive
*/
public boolean isArchive() {
return archive;
}

/**
* @param archive
* the archive to set
*/
public void setArchive(boolean archive) {
this.archive = archive;
}

/**
* @return the level
*/
public String getLevel() {
return level;
}

/**
* @param level
* the level to set
*/
public void setLevel(String level) {
this.level = level;
}

/*
* (non-Javadoc)
*
* @see java.lang.Object#toString()
*/
@Override
public String toString() {
StringBuilder builder = new StringBuilder();
builder.append("CodeAndModifierRequest [cd=");
builder.append(cd);
builder.append(", stcCd=");
builder.append(stcCd);
builder.append(", stcCdDesc=");
builder.append(stcCdDesc);
builder.append(", startDate=");
builder.append(startDate);
builder.append(", endDate=");
builder.append(endDate);
builder.append(", flag=");
builder.append(flag);
builder.append(", archive=");
builder.append(archive);
builder.append(", loincType=");
builder.append(level);
builder.append("]");
return builder.toString();
}

}