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.workflow.common.transfer; 018 019import com.echothree.model.control.core.common.transfer.EntityInstanceTransfer; 020import com.echothree.model.control.workeffort.common.transfer.WorkEffortScopeTransfer; 021import com.echothree.util.common.transfer.BaseTransfer; 022 023public class WorkflowEntityStatusTransfer 024 extends BaseTransfer { 025 026 private EntityInstanceTransfer entityInstance; 027 private WorkflowStepTransfer workflowStep; 028 private WorkEffortScopeTransfer workEffortScope; 029 private Long unformattedFromTime; 030 private String fromTime; 031 private Long unformattedThruTime; 032 private String thruTime; 033 034 private Long unformattedTriggerTime; 035 private String triggerTime; 036 037 /** Creates a new instance of WorkflowEntityStatusTransfer */ 038 public WorkflowEntityStatusTransfer(EntityInstanceTransfer entityInstance, WorkflowStepTransfer workflowStep, WorkEffortScopeTransfer workEffortScope, 039 Long unformattedFromTime, String fromTime, Long unformattedThruTime, String thruTime, Long unformattedTriggerTime, String triggerTime) { 040 this.entityInstance = entityInstance; 041 this.workflowStep = workflowStep; 042 this.workEffortScope = workEffortScope; 043 this.unformattedFromTime = unformattedFromTime; 044 this.fromTime = fromTime; 045 this.unformattedThruTime = unformattedThruTime; 046 this.thruTime = thruTime; 047 this.unformattedTriggerTime = unformattedTriggerTime; 048 this.triggerTime = triggerTime; 049 } 050 051 @Override 052 public EntityInstanceTransfer getEntityInstance() { 053 return entityInstance; 054 } 055 056 @Override 057 public void setEntityInstance(EntityInstanceTransfer entityInstance) { 058 this.entityInstance = entityInstance; 059 } 060 061 public WorkflowStepTransfer getWorkflowStep() { 062 return workflowStep; 063 } 064 065 public void setWorkflowStep(WorkflowStepTransfer workflowStep) { 066 this.workflowStep = workflowStep; 067 } 068 069 public WorkEffortScopeTransfer getWorkEffortScope() { 070 return workEffortScope; 071 } 072 073 public void setWorkEffortScope(WorkEffortScopeTransfer workEffortScope) { 074 this.workEffortScope = workEffortScope; 075 } 076 077 public Long getUnformattedFromTime() { 078 return unformattedFromTime; 079 } 080 081 public void setUnformattedFromTime(Long unformattedFromTime) { 082 this.unformattedFromTime = unformattedFromTime; 083 } 084 085 public String getFromTime() { 086 return fromTime; 087 } 088 089 public void setFromTime(String fromTime) { 090 this.fromTime = fromTime; 091 } 092 093 public Long getUnformattedThruTime() { 094 return unformattedThruTime; 095 } 096 097 public void setUnformattedThruTime(Long unformattedThruTime) { 098 this.unformattedThruTime = unformattedThruTime; 099 } 100 101 public String getThruTime() { 102 return thruTime; 103 } 104 105 public void setThruTime(String thruTime) { 106 this.thruTime = thruTime; 107 } 108 109 public Long getUnformattedTriggerTime() { 110 return unformattedTriggerTime; 111 } 112 113 public void setUnformattedTriggerTime(Long unformattedTriggerTime) { 114 this.unformattedTriggerTime = unformattedTriggerTime; 115 } 116 117 public String getTriggerTime() { 118 return triggerTime; 119 } 120 121 public void setTriggerTime(String triggerTime) { 122 this.triggerTime = triggerTime; 123 } 124}