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.workrequirement.common.transfer; 018 019import com.echothree.model.control.party.common.transfer.PartyTransfer; 020import com.echothree.model.control.workflow.common.transfer.WorkflowEntityStatusTransfer; 021import com.echothree.util.common.transfer.BaseTransfer; 022 023public class WorkAssignmentTransfer 024 extends BaseTransfer { 025 026 private WorkRequirementTransfer workRequirement; 027 private Integer workAssignmentSequence; 028 private PartyTransfer party; 029 private Long unformattedStartTime; 030 private String startTime; 031 private Long unformattedEndTime; 032 private String endTime; 033 034 private WorkflowEntityStatusTransfer workAssignmentStatus; 035 036 /** Creates a new instance of WorkAssignmentTransfer */ 037 public WorkAssignmentTransfer(WorkRequirementTransfer workRequirement, Integer workAssignmentSequence, PartyTransfer party, Long unformattedStartTime, 038 String startTime, Long unformattedEndTime, String endTime, WorkflowEntityStatusTransfer workAssignmentStatus) { 039 this.workRequirement = workRequirement; 040 this.workAssignmentSequence = workAssignmentSequence; 041 this.party = party; 042 this.unformattedStartTime = unformattedStartTime; 043 this.startTime = startTime; 044 this.unformattedEndTime = unformattedEndTime; 045 this.endTime = endTime; 046 this.workAssignmentStatus = workAssignmentStatus; 047 } 048 049 /** 050 * Returns the workRequirement. 051 * @return the workRequirement 052 */ 053 public WorkRequirementTransfer getWorkRequirement() { 054 return workRequirement; 055 } 056 057 /** 058 * Sets the workRequirement. 059 * @param workRequirement the workRequirement to set 060 */ 061 public void setWorkRequirement(WorkRequirementTransfer workRequirement) { 062 this.workRequirement = workRequirement; 063 } 064 065 /** 066 * Returns the workAssignmentSequence. 067 * @return the workAssignmentSequence 068 */ 069 public Integer getWorkAssignmentSequence() { 070 return workAssignmentSequence; 071 } 072 073 /** 074 * Sets the workAssignmentSequence. 075 * @param workAssignmentSequence the workAssignmentSequence to set 076 */ 077 public void setWorkAssignmentSequence(Integer workAssignmentSequence) { 078 this.workAssignmentSequence = workAssignmentSequence; 079 } 080 081 /** 082 * Returns the party. 083 * @return the party 084 */ 085 public PartyTransfer getParty() { 086 return party; 087 } 088 089 /** 090 * Sets the party. 091 * @param party the party to set 092 */ 093 public void setParty(PartyTransfer party) { 094 this.party = party; 095 } 096 097 /** 098 * Returns the unformattedStartTime. 099 * @return the unformattedStartTime 100 */ 101 public Long getUnformattedStartTime() { 102 return unformattedStartTime; 103 } 104 105 /** 106 * Sets the unformattedStartTime. 107 * @param unformattedStartTime the unformattedStartTime to set 108 */ 109 public void setUnformattedStartTime(Long unformattedStartTime) { 110 this.unformattedStartTime = unformattedStartTime; 111 } 112 113 /** 114 * Returns the startTime. 115 * @return the startTime 116 */ 117 public String getStartTime() { 118 return startTime; 119 } 120 121 /** 122 * Sets the startTime. 123 * @param startTime the startTime to set 124 */ 125 public void setStartTime(String startTime) { 126 this.startTime = startTime; 127 } 128 129 /** 130 * Returns the unformattedEndTime. 131 * @return the unformattedEndTime 132 */ 133 public Long getUnformattedEndTime() { 134 return unformattedEndTime; 135 } 136 137 /** 138 * Sets the unformattedEndTime. 139 * @param unformattedEndTime the unformattedEndTime to set 140 */ 141 public void setUnformattedEndTime(Long unformattedEndTime) { 142 this.unformattedEndTime = unformattedEndTime; 143 } 144 145 /** 146 * Returns the endTime. 147 * @return the endTime 148 */ 149 public String getEndTime() { 150 return endTime; 151 } 152 153 /** 154 * Sets the endTime. 155 * @param endTime the endTime to set 156 */ 157 public void setEndTime(String endTime) { 158 this.endTime = endTime; 159 } 160 161 /** 162 * Returns the workAssignmentStatus. 163 * @return the workAssignmentStatus 164 */ 165 public WorkflowEntityStatusTransfer getWorkAssignmentStatus() { 166 return workAssignmentStatus; 167 } 168 169 /** 170 * Sets the workAssignmentStatus. 171 * @param workAssignmentStatus the workAssignmentStatus to set 172 */ 173 public void setWorkAssignmentStatus(WorkflowEntityStatusTransfer workAssignmentStatus) { 174 this.workAssignmentStatus = workAssignmentStatus; 175 } 176 177}