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.core.common.transfer; 018 019import com.echothree.util.common.transfer.BaseTransfer; 020 021public class EntityIntegerRangeTransfer 022 extends BaseTransfer { 023 024 private EntityAttributeTransfer entityAttribute; 025 private String entityIntegerRangeName; 026 private Integer minimumIntegerValue; 027 private Integer maximumIntegerValue; 028 private Boolean isDefault; 029 private Integer sortOrder; 030 private String description; 031 032 /** Creates a new instance of EntityIntegerRangeTransfer */ 033 public EntityIntegerRangeTransfer(EntityAttributeTransfer entityAttribute, String entityIntegerRangeName, Integer minimumIntegerValue, 034 Integer maximumIntegerValue, Boolean isDefault, Integer sortOrder, String description) { 035 this.entityAttribute = entityAttribute; 036 this.entityIntegerRangeName = entityIntegerRangeName; 037 this.minimumIntegerValue = minimumIntegerValue; 038 this.maximumIntegerValue = maximumIntegerValue; 039 this.isDefault = isDefault; 040 this.sortOrder = sortOrder; 041 this.description = description; 042 } 043 044 /** 045 * Returns the entityAttribute. 046 * @return the entityAttribute 047 */ 048 public EntityAttributeTransfer getEntityAttribute() { 049 return entityAttribute; 050 } 051 052 /** 053 * Sets the entityAttribute. 054 * @param entityAttribute the entityAttribute to set 055 */ 056 public void setEntityAttribute(EntityAttributeTransfer entityAttribute) { 057 this.entityAttribute = entityAttribute; 058 } 059 060 /** 061 * Returns the entityIntegerRangeName. 062 * @return the entityIntegerRangeName 063 */ 064 public String getEntityIntegerRangeName() { 065 return entityIntegerRangeName; 066 } 067 068 /** 069 * Sets the entityIntegerRangeName. 070 * @param entityIntegerRangeName the entityIntegerRangeName to set 071 */ 072 public void setEntityIntegerRangeName(String entityIntegerRangeName) { 073 this.entityIntegerRangeName = entityIntegerRangeName; 074 } 075 076 /** 077 * Returns the minimumIntegerValue. 078 * @return the minimumIntegerValue 079 */ 080 public Integer getMinimumIntegerValue() { 081 return minimumIntegerValue; 082 } 083 084 /** 085 * Sets the minimumIntegerValue. 086 * @param minimumIntegerValue the minimumIntegerValue to set 087 */ 088 public void setMinimumIntegerValue(Integer minimumIntegerValue) { 089 this.minimumIntegerValue = minimumIntegerValue; 090 } 091 092 /** 093 * Returns the maximumIntegerValue. 094 * @return the maximumIntegerValue 095 */ 096 public Integer getMaximumIntegerValue() { 097 return maximumIntegerValue; 098 } 099 100 /** 101 * Sets the maximumIntegerValue. 102 * @param maximumIntegerValue the maximumIntegerValue to set 103 */ 104 public void setMaximumIntegerValue(Integer maximumIntegerValue) { 105 this.maximumIntegerValue = maximumIntegerValue; 106 } 107 108 /** 109 * Returns the isDefault. 110 * @return the isDefault 111 */ 112 public Boolean getIsDefault() { 113 return isDefault; 114 } 115 116 /** 117 * Sets the isDefault. 118 * @param isDefault the isDefault to set 119 */ 120 public void setIsDefault(Boolean isDefault) { 121 this.isDefault = isDefault; 122 } 123 124 /** 125 * Returns the sortOrder. 126 * @return the sortOrder 127 */ 128 public Integer getSortOrder() { 129 return sortOrder; 130 } 131 132 /** 133 * Sets the sortOrder. 134 * @param sortOrder the sortOrder to set 135 */ 136 public void setSortOrder(Integer sortOrder) { 137 this.sortOrder = sortOrder; 138 } 139 140 /** 141 * Returns the description. 142 * @return the description 143 */ 144 public String getDescription() { 145 return description; 146 } 147 148 /** 149 * Sets the description. 150 * @param description the description to set 151 */ 152 public void setDescription(String description) { 153 this.description = description; 154 } 155 156}