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.inventory.common.transfer; 018 019import com.echothree.model.control.accounting.common.transfer.CurrencyTransfer; 020import com.echothree.model.control.item.common.transfer.ItemTransfer; 021import com.echothree.model.control.party.common.transfer.PartyTransfer; 022import com.echothree.model.control.uom.common.transfer.UnitOfMeasureTypeTransfer; 023import com.echothree.util.common.transfer.BaseTransfer; 024import com.echothree.util.common.transfer.MapWrapper; 025 026public class LotTransfer 027 extends BaseTransfer { 028 029 private String lotName; 030 private PartyTransfer ownerParty; 031 private ItemTransfer item; 032 private InventoryConditionTransfer inventoryCondition; 033 private UnitOfMeasureTypeTransfer unitOfMeasureType; 034 private Long quantity; 035 private CurrencyTransfer currency; 036 private Long unformattedUnitCost; 037 private String unitCost; 038 039 private MapWrapper<LotAliasTransfer> lotAliases; 040 private MapWrapper<LotTimeTransfer> lotTimes; 041 042 public LotTransfer(final String lotName, final PartyTransfer ownerParty, final ItemTransfer item, 043 final InventoryConditionTransfer inventoryCondition, final UnitOfMeasureTypeTransfer unitOfMeasureType, 044 final Long quantity, final CurrencyTransfer currency, final Long unformattedUnitCost, final String unitCost) { 045 this.lotName = lotName; 046 this.ownerParty = ownerParty; 047 this.item = item; 048 this.inventoryCondition = inventoryCondition; 049 this.unitOfMeasureType = unitOfMeasureType; 050 this.quantity = quantity; 051 this.currency = currency; 052 this.unformattedUnitCost = unformattedUnitCost; 053 this.unitCost = unitCost; 054 } 055 056 public String getLotName() { 057 return lotName; 058 } 059 060 public void setLotName(final String lotName) { 061 this.lotName = lotName; 062 } 063 064 public PartyTransfer getOwnerParty() { 065 return ownerParty; 066 } 067 068 public void setOwnerParty(final PartyTransfer ownerParty) { 069 this.ownerParty = ownerParty; 070 } 071 072 public ItemTransfer getItem() { 073 return item; 074 } 075 076 public void setItem(final ItemTransfer item) { 077 this.item = item; 078 } 079 080 public InventoryConditionTransfer getInventoryCondition() { 081 return inventoryCondition; 082 } 083 084 public void setInventoryCondition(final InventoryConditionTransfer inventoryCondition) { 085 this.inventoryCondition = inventoryCondition; 086 } 087 088 public UnitOfMeasureTypeTransfer getUnitOfMeasureType() { 089 return unitOfMeasureType; 090 } 091 092 public void setUnitOfMeasureType(final UnitOfMeasureTypeTransfer unitOfMeasureType) { 093 this.unitOfMeasureType = unitOfMeasureType; 094 } 095 096 public Long getQuantity() { 097 return quantity; 098 } 099 100 public void setQuantity(final Long quantity) { 101 this.quantity = quantity; 102 } 103 104 public CurrencyTransfer getCurrency() { 105 return currency; 106 } 107 108 public void setCurrency(final CurrencyTransfer currency) { 109 this.currency = currency; 110 } 111 112 public Long getUnformattedUnitCost() { 113 return unformattedUnitCost; 114 } 115 116 public void setUnformattedUnitCost(final Long unformattedUnitCost) { 117 this.unformattedUnitCost = unformattedUnitCost; 118 } 119 120 public String getUnitCost() { 121 return unitCost; 122 } 123 124 public void setUnitCost(final String unitCost) { 125 this.unitCost = unitCost; 126 } 127 128 public MapWrapper<LotAliasTransfer> getLotAliases() { 129 return lotAliases; 130 } 131 132 public void setLotAliases(final MapWrapper<LotAliasTransfer> lotAliases) { 133 this.lotAliases = lotAliases; 134 } 135 136 public MapWrapper<LotTimeTransfer> getLotTimes() { 137 return lotTimes; 138 } 139 140 public void setLotTimes(final MapWrapper<LotTimeTransfer> lotTimes) { 141 this.lotTimes = lotTimes; 142 } 143 144}