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 EntityLongRangeTransfer 022 extends BaseTransfer { 023 024 private EntityAttributeTransfer entityAttribute; 025 private String entityLongRangeName; 026 private Long minimumLongValue; 027 private Long maximumLongValue; 028 private Boolean isDefault; 029 private Integer sortOrder; 030 private String description; 031 032 /** Creates a new instance of EntityLongRangeTransfer */ 033 public EntityLongRangeTransfer(EntityAttributeTransfer entityAttribute, String entityLongRangeName, Long minimumLongValue, Long maximumLongValue, 034 Boolean isDefault, Integer sortOrder, String description) { 035 this.entityAttribute = entityAttribute; 036 this.entityLongRangeName = entityLongRangeName; 037 this.minimumLongValue = minimumLongValue; 038 this.maximumLongValue = maximumLongValue; 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 entityLongRangeName. 062 * @return the entityLongRangeName 063 */ 064 public String getEntityLongRangeName() { 065 return entityLongRangeName; 066 } 067 068 /** 069 * Sets the entityLongRangeName. 070 * @param entityLongRangeName the entityLongRangeName to set 071 */ 072 public void setEntityLongRangeName(String entityLongRangeName) { 073 this.entityLongRangeName = entityLongRangeName; 074 } 075 076 /** 077 * Returns the minimumLongValue. 078 * @return the minimumLongValue 079 */ 080 public Long getMinimumLongValue() { 081 return minimumLongValue; 082 } 083 084 /** 085 * Sets the minimumLongValue. 086 * @param minimumLongValue the minimumLongValue to set 087 */ 088 public void setMinimumLongValue(Long minimumLongValue) { 089 this.minimumLongValue = minimumLongValue; 090 } 091 092 /** 093 * Returns the maximumLongValue. 094 * @return the maximumLongValue 095 */ 096 public Long getMaximumLongValue() { 097 return maximumLongValue; 098 } 099 100 /** 101 * Sets the maximumLongValue. 102 * @param maximumLongValue the maximumLongValue to set 103 */ 104 public void setMaximumLongValue(Long maximumLongValue) { 105 this.maximumLongValue = maximumLongValue; 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}