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.Set;
public final class ServiceLineTest
{
private int id;
private String description;
private String serviceAbbreviation;
private Set<CategoryOfCareTest> cocs;
private Set<SeocTest> seocs;
/**
* @return id
*/
public int getId()
{
return id;
}
/**
* @param id
*/
public void setId(int id)
{
this.id = id;
}
/**
* @return description
*/
public String getDescription()
{
return description;
}
/**
* @param description
*/
public void setDescription(String description)
{
this.description = description;
}
/**
* @return serviceAbbreviation
*/
public String getServiceAbbreviation()
{
return serviceAbbreviation;
}
/**
* @param serviceAbbreviation
*/
public void setServiceAbbreviation(String serviceAbbreviation)
{
this.serviceAbbreviation = serviceAbbreviation;
}
/**
* @return Set of CategoryOfCare
*/
public Set<CategoryOfCareTest> getCocs()
{
return cocs;
}
/**
* @param Set of CategoryOfCare
*/
public void setCocs(Set<CategoryOfCareTest> cocs)
{
this.cocs = cocs;
}
/**
* @return seocs
*/
public Set<SeocTest> getSeocs()
{
return seocs;
}
/**
* @param seocs
*/
public void setSeocs(Set<SeocTest> seocs)
{
this.seocs = seocs;
}
/**
* {@inheritDoc}
*/
@Override
public int hashCode()
{
final int prime = 31;
int result = 1;
result = prime * result + ((description == null) ? 0 : description.hashCode());
result = prime * result + id;
result = prime * result
+ ((serviceAbbreviation == null) ? 0 : serviceAbbreviation.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;
}
ServiceLineTest other = (ServiceLineTest) obj;
if (description == null)
{
if (other.description != null)
{
return false;
}
} else if (!description.equals(other.description))
{
return false;
}
if (id != other.id)
{
return false;
}
if (serviceAbbreviation == null)
{
if (other.serviceAbbreviation != null)
{
return false;
}
} else if (!serviceAbbreviation.equals(other.serviceAbbreviation))
{
return false;
}
return true;
}
/**
* {@inheritDoc}
*/
@Override
public String toString()
{
return "ServiceLine [id=" + id + ", description=" + description + ", serviceAbbreviation="
+ serviceAbbreviation + "]";
}
}