ItEr42S05ValidacionEProbasFuncionaisItEr41S05: Removed unneeded file.
This commit is contained in:
parent
2db546c326
commit
358311690a
1 changed files with 0 additions and 140 deletions
|
|
@ -1,140 +0,0 @@
|
|||
/*
|
||||
* This file is part of ###PROJECT_NAME###
|
||||
*
|
||||
* Copyright (C) 2009 Fundación para o Fomento da Calidade Industrial e
|
||||
* Desenvolvemento Tecnolóxico de Galicia
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU Affero General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU Affero General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Affero General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
package org.navalplanner.business.externalcompanies.entities;
|
||||
|
||||
import org.hibernate.validator.NotEmpty;
|
||||
import org.navalplanner.business.common.BaseEntity;
|
||||
import org.navalplanner.business.users.entities.User;
|
||||
|
||||
/**
|
||||
* Entity ExternalCompany
|
||||
*
|
||||
* @author Jacobo Aragunde Perez <jaragunde@igalia.com>
|
||||
*/
|
||||
public class ExternalCompany extends BaseEntity {
|
||||
|
||||
private String name;
|
||||
|
||||
private String cif;
|
||||
|
||||
private Boolean client;
|
||||
|
||||
private Boolean subcontractor;
|
||||
|
||||
private User companyUser;
|
||||
|
||||
private Boolean interactsWithApplications;
|
||||
|
||||
private String appURI;
|
||||
|
||||
private String ourCompanyLogin;
|
||||
|
||||
private String ourCompanyPassword;
|
||||
|
||||
protected ExternalCompany() {}
|
||||
|
||||
public static ExternalCompany create() {
|
||||
return (ExternalCompany) create(new ExternalCompany());
|
||||
}
|
||||
|
||||
protected ExternalCompany(String name, String cif) {
|
||||
this.name = name;
|
||||
this.cif = cif;
|
||||
}
|
||||
|
||||
public static ExternalCompany create(String name, String cif) {
|
||||
return (ExternalCompany) create(new ExternalCompany(name,cif));
|
||||
}
|
||||
|
||||
public void setName(String name) {
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
@NotEmpty
|
||||
public String getName() {
|
||||
return name;
|
||||
}
|
||||
|
||||
public void setCif(String cif) {
|
||||
this.cif = cif;
|
||||
}
|
||||
|
||||
@NotEmpty
|
||||
public String getCif() {
|
||||
return cif;
|
||||
}
|
||||
|
||||
public void isClient(boolean client) {
|
||||
this.client = client;
|
||||
}
|
||||
|
||||
public boolean getClient() {
|
||||
return client;
|
||||
}
|
||||
|
||||
public void setSubcontractor(boolean subcontractor) {
|
||||
this.subcontractor = subcontractor;
|
||||
}
|
||||
|
||||
public boolean isSubcontractor() {
|
||||
return subcontractor;
|
||||
}
|
||||
|
||||
public void setCompanyUser(User companyUser) {
|
||||
this.companyUser = companyUser;
|
||||
}
|
||||
|
||||
public User getCompanyUser() {
|
||||
return companyUser;
|
||||
}
|
||||
|
||||
public void setInteractsWithApplications(boolean interactsWithApplications) {
|
||||
this.interactsWithApplications = interactsWithApplications;
|
||||
}
|
||||
|
||||
public boolean getInteractsWithApplications() {
|
||||
return interactsWithApplications;
|
||||
}
|
||||
|
||||
public void setAppURI(String appURI) {
|
||||
this.appURI = appURI;
|
||||
}
|
||||
|
||||
public String getAppURI() {
|
||||
return appURI;
|
||||
}
|
||||
|
||||
public void setOurCompanyLogin(String ourCompanyLogin) {
|
||||
this.ourCompanyLogin = ourCompanyLogin;
|
||||
}
|
||||
|
||||
public String getOurCompanyLogin() {
|
||||
return ourCompanyLogin;
|
||||
}
|
||||
|
||||
public void setOurCompanyPassword(String ourCompanyPassword) {
|
||||
this.ourCompanyPassword = ourCompanyPassword;
|
||||
}
|
||||
|
||||
public String getOurCompanyPassword() {
|
||||
return ourCompanyPassword;
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Reference in a new issue