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.security.entity;

import java.util.Date;
import java.util.List;

import javax.persistence.Transient;

import com.fasterxml.jackson.annotation.JsonProperty;

public final class SeocTest
{

private int id;

private int seocKey;

private String name;

private String versionNumber;

private Date effectiveDate;

private Date endDate;

private String disclaimer;

private Integer duration;

private String description;

private Boolean rev;

private String proceduralOverview;

private Integer maxAllowableVisits;

private Date activatedTimestamp;

private String activatedBy;

private Date discontinuedTimestamp;

private String discontinuedBy;

private StatusTest status;

private CategoryOfCareTest categoryOfCare;

private ServiceLineTest serviceLine;

private QaspTest qasp;

private List<PayableServiceTest> services;

/**
* Default constructor
*/
public SeocTest()
{

}

/**
* @return id
*/
public int getId()
{
return id;
}

/**
* @param id
*/
public void setId(int id)
{
this.id = id;
}

/**
* @return seocKey
*/
public int getSeocKey()
{
return seocKey;
}

/**
* @param seocKey
*/
public void setSeocKey(int seocKey)
{
this.seocKey = seocKey;
}

/**
* @return name
*/
public String getName()
{
return name;
}

/**
* @param name
*/
public void setName(String name)
{
this.name = name;
}

/**
* @return versionNumber
*/
public String getVersionNumber()
{
return versionNumber;
}

/**
* @param versionNumber
*/
public void setVersionNumber(String versionNumber)
{
this.versionNumber = versionNumber;
}

/**
* @return effectiveDate
*/
public Date getEffectiveDate()
{
return effectiveDate;
}

/**
* @param effectiveDate
*/
public void setEffectiveDate(Date effectiveDate)
{
this.effectiveDate = effectiveDate;
}

/**
* @return endDate
*/
public Date getEndDate()
{
return endDate;
}

/**
* @param endDate
*/
public void setEndDate(Date endDate)
{
this.endDate = endDate;
}

/**
* @return disclaimer
*/
public String getDisclaimer()
{
return disclaimer;
}

/**
* @param disclaimer
*/
public void setDisclaimer(String disclaimer)
{
this.disclaimer = disclaimer;
}

/**
* @return duration
*/
public Integer getDuration()
{
return duration;
}

/**
* @param duration
*/
public void setDuration(Integer duration)
{
this.duration = duration;
}

/**
* @return description
*/
public String getDescription()
{
return description;
}

/**
* @param description
*/
public void setDescription(String description)
{
this.description = description;
}

/**
* @return rev
*/
public Boolean getRev()
{
return rev;
}

/**
* @param rev
*/
public void setRev(Boolean rev)
{
this.rev = rev;
}

/**
* @return proceduralOverview
*/
public String getProceduralOverview()
{
return proceduralOverview;
}

/**
* @param proceduralOverview
*/
public void setProceduralOverview(String proceduralOverview)
{
this.proceduralOverview = proceduralOverview;
}

/**
* @return maxAllowableVisits
*/
public Integer getMaxAllowableVisits()
{
return maxAllowableVisits;
}

/**
* @param maxAllowableVisits
*/
public void setMaxAllowableVisits(Integer maxAllowableVisits)
{
this.maxAllowableVisits = maxAllowableVisits;
}

/**
* @return activatedTimestamp
*/
public Date getActivatedTimestamp()
{
return activatedTimestamp;
}

/**
* @param activatedTimestamp
*/
public void setActivatedTimestamp(Date activatedTimestamp)
{
this.activatedTimestamp = activatedTimestamp;
}

/**
* @return activatedBy
*/
public String getActivatedBy()
{
return activatedBy;
}

/**
* @param activatedBy
*/
public void setActivatedBy(String activatedBy)
{
this.activatedBy = activatedBy;
}

/**
* @return discontinuedTimestamp
*/
public Date getDiscontinuedTimestamp()
{
return discontinuedTimestamp;
}

/**
* @param discontinuedTimestamp
*/
public void setDiscontinuedTimestamp(Date discontinuedTimestamp)
{
this.discontinuedTimestamp = discontinuedTimestamp;
}

/**
* @return discontinuedBy
*/
public String getDiscontinuedBy()
{
return discontinuedBy;
}

/**
* @param discontinuedBy
*/
public void setDiscontinuedBy(String discontinuedBy)
{
this.discontinuedBy = discontinuedBy;
}

/**
* @return status
*/
public StatusTest getStatus()
{
return status;
}

/**
* @param status
*/
public void setStatus(StatusTest status)
{
this.status = status;
}

/**
* @return categoryOfCare
*/
public CategoryOfCareTest getCategoryOfCare()
{
return categoryOfCare;
}

/**
* @param categoryOfCare
*/
public void setCategoryOfCare(CategoryOfCareTest categoryOfCare)
{
this.categoryOfCare = categoryOfCare;
}

/**
* @return serviceLine
*/
public ServiceLineTest getServiceLine()
{
return serviceLine;
}

/**
* @param serviceLine
*/
public void setServiceLine(ServiceLineTest serviceLine)
{
this.serviceLine = serviceLine;
}

/**
* @return qasp
*/
public QaspTest getQasp()
{
return qasp;
}

/**
* @param qasp
*/
public void setQasp(QaspTest qasp)
{
this.qasp = qasp;
}

/**
* @return payableServices
*/
public List<PayableServiceTest> getServices()
{
return services;
}

/**
* @param services
*/
public void setServices(List<PayableServiceTest> services)
{
this.services = services;
}

/**
* @return Status
*/
@Transient
@JsonProperty("status")
public String getStatusDescription()
{
return this.getStatus().getDescription();
}

/**
* @return serviceLine
*/
@Transient
@JsonProperty("serviceLine")
public String getServiceLineDescription()
{
if (this.getServiceLine() == null)
{
return null;
} else
{
return this.getServiceLine().getDescription();
}
}

/**
* @return categoryOfCare
*/
@Transient
@JsonProperty("categoryOfCare")
public String getCoCDescription()
{
if (this.getCategoryOfCare() == null)
{
return null;
} else
{
return this.getCategoryOfCare().getDescription();
}

}

/**
* @return QASP
*/
@Transient
@JsonProperty("QASP")
public String getQASPDescription()
{
if (this.getQasp() == null)
{
return null;
} else
{
return this.getQasp().getDescription();
}

}

/**
* {@inheritDoc}
*/
@Override
public int hashCode()
{
final int prime = 31;
int result = 1;
result = prime * result + ((activatedBy == null) ? 0 : activatedBy.hashCode());
result = prime * result
+ ((activatedTimestamp == null) ? 0 : activatedTimestamp.hashCode());
result = prime * result + ((categoryOfCare == null) ? 0 : categoryOfCare.hashCode());
result = prime * result + ((description == null) ? 0 : description.hashCode());
result = prime * result + ((disclaimer == null) ? 0 : disclaimer.hashCode());
result = prime * result + ((discontinuedBy == null) ? 0 : discontinuedBy.hashCode());
result = prime * result
+ ((discontinuedTimestamp == null) ? 0 : discontinuedTimestamp.hashCode());
result = prime * result + ((duration == null) ? 0 : duration.hashCode());
result = prime * result + ((effectiveDate == null) ? 0 : effectiveDate.hashCode());
result = prime * result + ((endDate == null) ? 0 : endDate.hashCode());
result = prime * result + id;
result = prime * result
+ ((maxAllowableVisits == null) ? 0 : maxAllowableVisits.hashCode());
result = prime * result + ((name == null) ? 0 : name.hashCode());
result = prime * result + ((rev == null) ? 0 : rev.hashCode());
result = prime * result
+ ((proceduralOverview == null) ? 0 : proceduralOverview.hashCode());
result = prime * result + ((qasp == null) ? 0 : qasp.hashCode());
result = prime * result + seocKey;
result = prime * result + ((serviceLine == null) ? 0 : serviceLine.hashCode());
result = prime * result + ((services == null) ? 0 : services.hashCode());
result = prime * result + ((status == null) ? 0 : status.hashCode());
result = prime * result + ((versionNumber == null) ? 0 : versionNumber.hashCode());
return result;
}

/**
* {@inheritDoc}
*/
@Override
public boolean equals(Object obj)
{
if (this == obj)
{
return true;
}
if (obj == null)
{
return false;
}
if (getClass() != obj.getClass())
{
return false;
}
SeocTest other = (SeocTest) obj;
if (activatedBy == null)
{
if (other.activatedBy != null)
{
return false;
}
} else if (!activatedBy.equals(other.activatedBy))
{
return false;
}
if (activatedTimestamp == null)
{
if (other.activatedTimestamp != null)
{
return false;
}
} else if (!activatedTimestamp.equals(other.activatedTimestamp))
{
return false;
}
if (categoryOfCare == null)
{
if (other.categoryOfCare != null)
{
return false;
}
} else if (!categoryOfCare.equals(other.categoryOfCare))
{
return false;
}
if (description == null)
{
if (other.description != null)
{
return false;
}
} else if (!description.equals(other.description))
{
return false;
}
if (disclaimer == null)
{
if (other.disclaimer != null)
{
return false;
}
} else if (!disclaimer.equals(other.disclaimer))
{
return false;
}
if (discontinuedBy == null)
{
if (other.discontinuedBy != null)
{
return false;
}
} else if (!discontinuedBy.equals(other.discontinuedBy))
{
return false;
}
if (discontinuedTimestamp == null)
{
if (other.discontinuedTimestamp != null)
{
return false;
}
} else if (!discontinuedTimestamp.equals(other.discontinuedTimestamp))
{
return false;
}
if (duration == null)
{
if (other.duration != null)
{
return false;
}
} else if (!duration.equals(other.duration))
{
return false;
}
if (effectiveDate == null)
{
if (other.effectiveDate != null)
{
return false;
}
} else if (!effectiveDate.equals(other.effectiveDate))
{
return false;
}
if (endDate == null)
{
if (other.endDate != null)
{
return false;
}
} else if (!endDate.equals(other.endDate))
{
return false;
}
if (id != other.id)
{
return false;
}
if (maxAllowableVisits == null)
{
if (other.maxAllowableVisits != null)
{
return false;
}
} else if (!maxAllowableVisits.equals(other.maxAllowableVisits))
{
return false;
}
if (name == null)
{
if (other.name != null)
{
return false;
}
} else if (!name.equals(other.name))
{
return false;
}
if (rev == null)
{
if (other.rev != null)
{
return false;
}
} else if (!rev.equals(other.rev))
{
return false;
}
if (proceduralOverview == null)
{
if (other.proceduralOverview != null)
{
return false;
}
} else if (!proceduralOverview.equals(other.proceduralOverview))
{
return false;
}
if (qasp == null)
{
if (other.qasp != null)
{
return false;
}
} else if (!qasp.equals(other.qasp))
{
return false;
}
if (seocKey != other.seocKey)
{
return false;
}
if (serviceLine == null)
{
if (other.serviceLine != null)
{
return false;
}
} else if (!serviceLine.equals(other.serviceLine))
{
return false;
}
if (services == null)
{
if (other.services != null)
{
return false;
}
} else if (!services.equals(other.services))
{
return false;
}
if (status == null)
{
if (other.status != null)
{
return false;
}
} else if (!status.equals(other.status))
{
return false;
}
if (versionNumber == null)
{
if (other.versionNumber != null)
{
return false;
}
} else if (!versionNumber.equals(other.versionNumber))
{
return false;
}
return true;
}

/**
* {@inheritDoc}
*/
@Override
public String toString()
{
return "Seoc [id=" + id + ", seocKey=" + seocKey + ", name=" + name + ", versionNumber="
+ versionNumber + ", effectiveDate=" + effectiveDate + ", endDate=" + endDate
+ ", disclaimer=" + disclaimer + ", duration=" + duration + ", description="
+ description + ", rev=" + rev + ", proceduralOverview=" + proceduralOverview
+ ", maxAllowableVisits=" + maxAllowableVisits + ", activatedTimestamp="
+ activatedTimestamp + ", activatedBy=" + activatedBy + ", discontinuedTimestamp="
+ discontinuedTimestamp + ", discontinuedBy=" + discontinuedBy + ", status="
+ status + ", categoryOfCare=" + categoryOfCare + ", serviceLine=" + serviceLine
+ ", qasp=" + qasp + ", services=" + services + "]";
}

}