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.warehouse.common.transfer; 018 019import com.echothree.model.control.inventory.common.transfer.InventoryLocationGroupTransfer; 020import com.echothree.model.control.workflow.common.transfer.WorkflowEntityStatusTransfer; 021import com.echothree.util.common.transfer.BaseTransfer; 022import com.echothree.util.common.transfer.ListWrapper; 023 024public class LocationTransfer 025 extends BaseTransfer { 026 027 private WarehouseTransfer warehouse; 028 private String locationName; 029 private LocationTypeTransfer locationType; 030 private LocationUseTypeTransfer locationUseType; 031 private Integer velocity; 032 private InventoryLocationGroupTransfer inventoryLocationGroup; 033 private String description; 034 private WorkflowEntityStatusTransfer locationStatus; 035 036 private ListWrapper<LocationCapacityTransfer> locationCapacities; 037 private LocationVolumeTransfer locationVolume; 038 039 /** Creates a new instance of LocationTransfer */ 040 public LocationTransfer(WarehouseTransfer warehouse, String locationName, LocationTypeTransfer locationType, 041 LocationUseTypeTransfer locationUseType, Integer velocity, InventoryLocationGroupTransfer inventoryLocationGroup, String description, 042 WorkflowEntityStatusTransfer locationStatus) { 043 this.warehouse = warehouse; 044 this.locationName = locationName; 045 this.locationType = locationType; 046 this.locationUseType = locationUseType; 047 this.velocity = velocity; 048 this.inventoryLocationGroup = inventoryLocationGroup; 049 this.description = description; 050 this.locationStatus = locationStatus; 051 } 052 053 public WarehouseTransfer getWarehouse() { 054 return warehouse; 055 } 056 057 public void setWarehouse(WarehouseTransfer warehouse) { 058 this.warehouse = warehouse; 059 } 060 061 public String getLocationName() { 062 return locationName; 063 } 064 065 public void setLocationName(String locationName) { 066 this.locationName = locationName; 067 } 068 069 public LocationTypeTransfer getLocationType() { 070 return locationType; 071 } 072 073 public void setLocationType(LocationTypeTransfer locationType) { 074 this.locationType = locationType; 075 } 076 077 public LocationUseTypeTransfer getLocationUseType() { 078 return locationUseType; 079 } 080 081 public void setLocationUseType(LocationUseTypeTransfer locationUseType) { 082 this.locationUseType = locationUseType; 083 } 084 085 public Integer getVelocity() { 086 return velocity; 087 } 088 089 public void setVelocity(Integer velocity) { 090 this.velocity = velocity; 091 } 092 093 public InventoryLocationGroupTransfer getInventoryLocationGroup() { 094 return inventoryLocationGroup; 095 } 096 097 public void setInventoryLocationGroup(InventoryLocationGroupTransfer inventoryLocationGroup) { 098 this.inventoryLocationGroup = inventoryLocationGroup; 099 } 100 101 public String getDescription() { 102 return description; 103 } 104 105 public void setDescription(String description) { 106 this.description = description; 107 } 108 109 public WorkflowEntityStatusTransfer getLocationStatus() { 110 return locationStatus; 111 } 112 113 public void setLocationStatus(WorkflowEntityStatusTransfer locationStatus) { 114 this.locationStatus = locationStatus; 115 } 116 117 public ListWrapper<LocationCapacityTransfer> getLocationCapacities() { 118 return locationCapacities; 119 } 120 121 public void setLocationCapacities(ListWrapper<LocationCapacityTransfer> locationCapacities) { 122 this.locationCapacities = locationCapacities; 123 } 124 125 public LocationVolumeTransfer getLocationVolume() { 126 return locationVolume; 127 } 128 129 public void setLocationVolume(LocationVolumeTransfer locationVolume) { 130 this.locationVolume = locationVolume; 131 } 132 133}