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.uom.common.transfer; 018 019import com.echothree.util.common.transfer.BaseTransfer; 020 021public class UnitOfMeasureKindTransfer 022 extends BaseTransfer { 023 024 private String unitOfMeasureKindName; 025 private Integer fractionDigits; 026 private Boolean isDefault; 027 private Integer sortOrder; 028 private String description; 029 030 /** Creates a new instance of UnitOfMeasureKindTransfer */ 031 public UnitOfMeasureKindTransfer(String unitOfMeasureKindName, Integer fractionDigits, Boolean isDefault, Integer sortOrder, String description) { 032 this.unitOfMeasureKindName = unitOfMeasureKindName; 033 this.fractionDigits = fractionDigits; 034 this.isDefault = isDefault; 035 this.sortOrder = sortOrder; 036 this.description = description; 037 } 038 039 /** 040 * Returns the unitOfMeasureKindName. 041 * @return the unitOfMeasureKindName 042 */ 043 public String getUnitOfMeasureKindName() { 044 return unitOfMeasureKindName; 045 } 046 047 /** 048 * Sets the unitOfMeasureKindName. 049 * @param unitOfMeasureKindName the unitOfMeasureKindName to set 050 */ 051 public void setUnitOfMeasureKindName(String unitOfMeasureKindName) { 052 this.unitOfMeasureKindName = unitOfMeasureKindName; 053 } 054 055 /** 056 * Returns the fractionDigits. 057 * @return the fractionDigits 058 */ 059 public Integer getFractionDigits() { 060 return fractionDigits; 061 } 062 063 /** 064 * Sets the fractionDigits. 065 * @param fractionDigits the fractionDigits to set 066 */ 067 public void setFractionDigits(Integer fractionDigits) { 068 this.fractionDigits = fractionDigits; 069 } 070 071 /** 072 * Returns the isDefault. 073 * @return the isDefault 074 */ 075 public Boolean getIsDefault() { 076 return isDefault; 077 } 078 079 /** 080 * Sets the isDefault. 081 * @param isDefault the isDefault to set 082 */ 083 public void setIsDefault(Boolean isDefault) { 084 this.isDefault = isDefault; 085 } 086 087 /** 088 * Returns the sortOrder. 089 * @return the sortOrder 090 */ 091 public Integer getSortOrder() { 092 return sortOrder; 093 } 094 095 /** 096 * Sets the sortOrder. 097 * @param sortOrder the sortOrder to set 098 */ 099 public void setSortOrder(Integer sortOrder) { 100 this.sortOrder = sortOrder; 101 } 102 103 /** 104 * Returns the description. 105 * @return the description 106 */ 107 public String getDescription() { 108 return description; 109 } 110 111 /** 112 * Sets the description. 113 * @param description the description to set 114 */ 115 public void setDescription(String description) { 116 this.description = description; 117 } 118 119}