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.ars.model.response;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;

@JsonIgnoreProperties(ignoreUnknown = true)
public class CodeAndLevel {

private Long claimStatus;
private Long loincCode;
private Long loincCodeModifier1;
private Long loincCodeModifier2;
private String lineNumber;

/**
*
*/
public CodeAndLevel() {
super();
}

/**
* @param claimStatus
* @param loincCode
* @param loincCodeModifier1
* @param loincCodeModifier2
* @param lineNumber
*/
public CodeAndLevel(Long claimStatus, Long loincCode, Long loincCodeModifier1, Long loincCodeModifier2,
String lineNumber) {
super();
this.claimStatus = claimStatus;
this.loincCode = loincCode;
this.loincCodeModifier1 = loincCodeModifier1;
this.loincCodeModifier2 = loincCodeModifier2;
this.lineNumber = lineNumber;
}

/**
* @return the claimStatus
*/
public Long getClaimStatus() {
return claimStatus;
}

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

/**
* @return the loincCode
*/
public Long getLoincCode() {
return loincCode;
}

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

/**
* @return the loincCodeModifier1
*/
public Long getLoincCodeModifier1() {
return loincCodeModifier1;
}

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

/**
* @return the loincCodeModifier2
*/
public Long getLoincCodeModifier2() {
return loincCodeModifier2;
}

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

/**
* @return the lineNumber
*/
public String getLineNumber() {
return lineNumber;
}

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

@Override
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((claimStatus == null) ? 0 : claimStatus.hashCode());
result = prime * result + ((lineNumber == null) ? 0 : lineNumber.hashCode());
result = prime * result + ((loincCode == null) ? 0 : loincCode.hashCode());
result = prime * result + ((loincCodeModifier1 == null) ? 0 : loincCodeModifier1.hashCode());
result = prime * result + ((loincCodeModifier2 == null) ? 0 : loincCodeModifier2.hashCode());
return result;
}

@Override
public boolean equals(Object obj) {
if (this == obj)
return true;
if (obj == null)
return false;
if (getClass() != obj.getClass())
return false;
CodeAndLevel other = (CodeAndLevel) obj;
if (claimStatus == null) {
if (other.claimStatus != null)
return false;
} else if (!claimStatus.equals(other.claimStatus))
return false;
if (lineNumber == null) {
if (other.lineNumber != null)
return false;
} else if (!lineNumber.equals(other.lineNumber))
return false;
if (loincCode == null) {
if (other.loincCode != null)
return false;
} else if (!loincCode.equals(other.loincCode))
return false;
if (loincCodeModifier1 == null) {
if (other.loincCodeModifier1 != null)
return false;
} else if (!loincCodeModifier1.equals(other.loincCodeModifier1))
return false;
if (loincCodeModifier2 == null) {
if (other.loincCodeModifier2 != null)
return false;
} else if (!loincCodeModifier2.equals(other.loincCodeModifier2))
return false;
return true;
}


}