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 QaspTest
{
private Integer id;
private String description;
private Set<SeocTest> seocs;
/**
* @return id
*/
public Integer getId()
{
return id;
}
/**
* @param id
*/
public void setId(Integer id)
{
this.id = id;
}
/**
* @return description
*/
public String getDescription()
{
return description;
}
/**
* @param description
*/
public void setDescription(String description)
{
this.description = description;
}
/**
* @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;
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;
}
QaspTest other = (QaspTest) obj;
if (description == null)
{
if (other.description != null)
{
return false;
}
} else if (!description.equals(other.description))
{
return false;
}
if (id == null)
{
if (other.id != null)
{
return false;
}
} else if (!id.equals(other.id))
{
return false;
}
return true;
}
/**
* {@inheritDoc}
*/
@Override
public String toString()
{
return "QASP [id=" + id + ", description=" + description + "]";
}
}