001// -------------------------------------------------------------------------------- 002// Copyright 2002-2025 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.item.common.transfer; 018 019import com.echothree.model.control.uom.common.transfer.UnitOfMeasureTypeTransfer; 020import com.echothree.util.common.transfer.BaseTransfer; 021 022public class ItemWeightTransfer 023 extends BaseTransfer { 024 025 private ItemTransfer item; 026 private UnitOfMeasureTypeTransfer unitOfMeasureType; 027 private ItemWeightTypeTransfer itemWeightType; 028 private String weight; 029 030 /** Creates a new instance of ItemWeightTransfer */ 031 public ItemWeightTransfer(ItemTransfer item, UnitOfMeasureTypeTransfer unitOfMeasureType, 032 ItemWeightTypeTransfer itemWeightType, String weight) { 033 this.item = item; 034 this.unitOfMeasureType = unitOfMeasureType; 035 this.itemWeightType = itemWeightType; 036 this.weight = weight; 037 } 038 039 public ItemTransfer getItem() { 040 return item; 041 } 042 043 public void setItem(final ItemTransfer item) { 044 this.item = item; 045 } 046 047 public UnitOfMeasureTypeTransfer getUnitOfMeasureType() { 048 return unitOfMeasureType; 049 } 050 051 public void setUnitOfMeasureType(final UnitOfMeasureTypeTransfer unitOfMeasureType) { 052 this.unitOfMeasureType = unitOfMeasureType; 053 } 054 055 public ItemWeightTypeTransfer getItemWeightType() { 056 return itemWeightType; 057 } 058 059 public void setItemWeightType(final ItemWeightTypeTransfer itemWeightType) { 060 this.itemWeightType = itemWeightType; 061 } 062 063 public String getWeight() { 064 return weight; 065 } 066 067 public void setWeight(final String weight) { 068 this.weight = weight; 069 } 070 071}