001// -------------------------------------------------------------------------------- 002// Copyright 2002-2024 Echo Three, LLC 003// 004// Licensed under the Apache License, Version 2.0 (the "License"); 005// you may not use this file except in compliance with the License. 006// You may obtain a copy of the License at 007// 008// http://www.apache.org/licenses/LICENSE-2.0 009// 010// Unless required by applicable law or agreed to in writing, software 011// distributed under the License is distributed on an "AS IS" BASIS, 012// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 013// See the License for the specific language governing permissions and 014// limitations under the License. 015// -------------------------------------------------------------------------------- 016 017package com.echothree.model.control.employee.common.transfer; 018 019import com.echothree.model.control.party.common.transfer.CompanyTransfer; 020import com.echothree.model.control.party.common.transfer.PartyTransfer; 021import com.echothree.util.common.transfer.BaseTransfer; 022 023public class EmploymentTransfer 024 extends BaseTransfer { 025 026 private String employmentName; 027 private PartyTransfer party; 028 private CompanyTransfer company; 029 private Long unformattedStartTime; 030 private String startTime; 031 private Long unformattedEndTime; 032 private String endTime; 033 private TerminationTypeTransfer terminationType; 034 private TerminationReasonTransfer terminationReason; 035 036 /** Creates a new instance of EmploymentTransfer */ 037 public EmploymentTransfer(String employmentName, PartyTransfer party, CompanyTransfer company, Long unformattedStartTime, String startTime, 038 Long unformattedEndTime, String endTime, TerminationTypeTransfer terminationType, TerminationReasonTransfer terminationReason) { 039 this.employmentName = employmentName; 040 this.party = party; 041 this.company = company; 042 this.unformattedStartTime = unformattedStartTime; 043 this.startTime = startTime; 044 this.unformattedEndTime = unformattedEndTime; 045 this.endTime = endTime; 046 this.terminationType = terminationType; 047 this.terminationReason = terminationReason; 048 } 049 050 /** 051 * Returns the employmentName. 052 * @return the employmentName 053 */ 054 public String getEmploymentName() { 055 return employmentName; 056 } 057 058 /** 059 * Sets the employmentName. 060 * @param employmentName the employmentName to set 061 */ 062 public void setEmploymentName(String employmentName) { 063 this.employmentName = employmentName; 064 } 065 066 /** 067 * Returns the party. 068 * @return the party 069 */ 070 public PartyTransfer getParty() { 071 return party; 072 } 073 074 /** 075 * Sets the party. 076 * @param party the party to set 077 */ 078 public void setParty(PartyTransfer party) { 079 this.party = party; 080 } 081 082 /** 083 * Returns the company. 084 * @return the company 085 */ 086 public CompanyTransfer getCompany() { 087 return company; 088 } 089 090 /** 091 * Sets the company. 092 * @param company the company to set 093 */ 094 public void setCompany(CompanyTransfer company) { 095 this.company = company; 096 } 097 098 /** 099 * Returns the unformattedStartTime. 100 * @return the unformattedStartTime 101 */ 102 public Long getUnformattedStartTime() { 103 return unformattedStartTime; 104 } 105 106 /** 107 * Sets the unformattedStartTime. 108 * @param unformattedStartTime the unformattedStartTime to set 109 */ 110 public void setUnformattedStartTime(Long unformattedStartTime) { 111 this.unformattedStartTime = unformattedStartTime; 112 } 113 114 /** 115 * Returns the startTime. 116 * @return the startTime 117 */ 118 public String getStartTime() { 119 return startTime; 120 } 121 122 /** 123 * Sets the startTime. 124 * @param startTime the startTime to set 125 */ 126 public void setStartTime(String startTime) { 127 this.startTime = startTime; 128 } 129 130 /** 131 * Returns the unformattedEndTime. 132 * @return the unformattedEndTime 133 */ 134 public Long getUnformattedEndTime() { 135 return unformattedEndTime; 136 } 137 138 /** 139 * Sets the unformattedEndTime. 140 * @param unformattedEndTime the unformattedEndTime to set 141 */ 142 public void setUnformattedEndTime(Long unformattedEndTime) { 143 this.unformattedEndTime = unformattedEndTime; 144 } 145 146 /** 147 * Returns the endTime. 148 * @return the endTime 149 */ 150 public String getEndTime() { 151 return endTime; 152 } 153 154 /** 155 * Sets the endTime. 156 * @param endTime the endTime to set 157 */ 158 public void setEndTime(String endTime) { 159 this.endTime = endTime; 160 } 161 162 /** 163 * Returns the terminationType. 164 * @return the terminationType 165 */ 166 public TerminationTypeTransfer getTerminationType() { 167 return terminationType; 168 } 169 170 /** 171 * Sets the terminationType. 172 * @param terminationType the terminationType to set 173 */ 174 public void setTerminationType(TerminationTypeTransfer terminationType) { 175 this.terminationType = terminationType; 176 } 177 178 /** 179 * Returns the terminationReason. 180 * @return the terminationReason 181 */ 182 public TerminationReasonTransfer getTerminationReason() { 183 return terminationReason; 184 } 185 186 /** 187 * Sets the terminationReason. 188 * @param terminationReason the terminationReason to set 189 */ 190 public void setTerminationReason(TerminationReasonTransfer terminationReason) { 191 this.terminationReason = terminationReason; 192 } 193 194}