![JAR search and dependency download from the Maven repository](/logo.png)
com.qaprosoft.zafira.models.db.TestSuite Maven / Gradle / Ivy
/*******************************************************************************
* Copyright 2013-2018 QaProSoft (http://www.qaprosoft.com).
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*******************************************************************************/
package com.qaprosoft.zafira.models.db;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonInclude.Include;
@JsonInclude(Include.NON_NULL)
public class TestSuite extends AbstractEntity
{
private static final long serialVersionUID = -1847933012610222160L;
private String name;
private String fileName;
private String description;
private User user = new User();
public String getName()
{
return name;
}
public void setName(String name)
{
this.name = name;
}
public String getFileName()
{
return fileName;
}
public void setFileName(String fileName)
{
this.fileName = fileName;
}
public String getDescription()
{
return description;
}
public void setDescription(String description)
{
this.description = description;
}
public User getUser()
{
return user;
}
public void setUser(User user)
{
this.user = user;
}
@Override
public boolean equals(Object obj)
{
return (obj != null && obj instanceof TestSuite && this.hashCode() == ((TestSuite)obj).hashCode());
}
@Override
public int hashCode()
{
return (name + description + user.getId()).hashCode();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy