+++ /dev/null
-/*
- * Copyright (C) 2016, 2017 Roland Häder
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
-package org.mxchange.jcontactsbusiness.department;
-
-import java.io.Serializable;
-import java.util.Calendar;
-import org.mxchange.jcontactsbusiness.branchoffice.BranchOffice;
-import org.mxchange.jcontactsbusiness.employee.Employee;
-import org.mxchange.jusercore.model.user.User;
-import org.mxchange.jcontactsbusiness.basicdata.BusinessBasicData;
-import org.mxchange.jcontactsbusiness.headquarters.HeadquartersData;
-
-/**
- * A POJI for company departments
- * <p>
- * @author Roland Häder<roland@mxchange.org>
- */
-public interface Department extends Serializable {
-
- /**
- * Getter for connection to company contact
- * <p>
- * @return Connection to company contact
- */
- BusinessBasicData getDepartmentCompany ();
-
- /**
- * Setter for connection to company contact
- * <p>
- * @param departmentCompany Connection to company contact
- */
- void setDepartmentCompany (final BusinessBasicData departmentCompany);
-
- /**
- * Getter for connection to company headquarters
- * <p>
- * @return Connection to company headquarters
- */
- HeadquartersData getDepartentHeadquarters ();
-
- /**
- * Setter for connection to company headquarters
- * <p>
- * @param departentHeadquarters Connection to company headquarters
- */
- void setDepartentHeadquarters (final HeadquartersData departentHeadquarters);
-
- /**
- * Getter for connection to company branch office
- * <p>
- * @return Connection to company branch office
- */
- BranchOffice getDepartmentBranchOffice ();
-
- /**
- * Setter for connection to company branch office
- * <p>
- * @param departmentBranchOffice Connection to company branch office
- */
- void setDepartmentBranchOffice (final BranchOffice departmentBranchOffice);
-
- /**
- * Getter for department id
- * <p>
- * @return Department id
- */
- Long getDepartmentId ();
-
- /**
- * Setter for department id
- * <p>
- * @param departmentId Department id
- */
- void setDepartmentId (final Long departmentId);
-
- /**
- * Getter for department lead employee
- * <p>
- * @return Department lead employee
- */
- Employee getDepartmentLead ();
-
- /**
- * Setter for department lead employee
- * <p>
- * @param departmentLead Department lead employee
- */
- void setDepartmentLead (final Employee departmentLead);
-
- /**
- * Getter for department name
- * <p>
- * @return Department name
- */
- String getDepartmentName ();
-
- /**
- * Setter for department name
- * <p>
- * @param departmentName Department name
- */
- void setDepartmentName (final String departmentName);
-
- /**
- * Getter for user owner instance
- * <p>
- * @return User owner instance
- */
- User getDepartmentUserOwner ();
-
- /**
- * Setter for user owner instance
- * <p>
- * @param departmentUserOwner User owner instance
- */
- void setDepartmentUserOwner (final User departmentUserOwner);
-
- /**
- * Getter for timestamp when this entry has been created
- * <p>
- * @return Timestamp when this entry has been created
- */
- Calendar getDepartmentCreated ();
-
- /**
- * Setter for timestamp when this entry has been created
- * <p>
- * @param departmentCreated Timestamp when this entry has been created
- */
- void setDepartmentCreated (final Calendar departmentCreated);
-
- @Override
- boolean equals (final Object object);
-
- @Override
- int hashCode ();
-}