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.scale.common.transfer;
018
019import com.echothree.model.control.core.common.transfer.ServerServiceTransfer;
020import com.echothree.util.common.transfer.BaseTransfer;
021
022public class ScaleTransfer
023        extends BaseTransfer {
024    
025    private String scaleName;
026    private ScaleTypeTransfer scaleType;
027    private ServerServiceTransfer serverService;
028    private Boolean isDefault;
029    private Integer sortOrder;
030    private String description;
031
032    /** Creates a new instance of ScaleTransfer */
033    public ScaleTransfer(String scaleName, ScaleTypeTransfer scaleType, ServerServiceTransfer serverService, Boolean isDefault, Integer sortOrder,
034            String description) {
035        this.scaleName = scaleName;
036        this.scaleType = scaleType;
037        this.serverService = serverService;
038        this.isDefault = isDefault;
039        this.sortOrder = sortOrder;
040        this.description = description;
041    }
042
043    /**
044     * Returns the scaleName.
045     * @return the scaleName
046     */
047    public String getScaleName() {
048        return scaleName;
049    }
050
051    /**
052     * Sets the scaleName.
053     * @param scaleName the scaleName to set
054     */
055    public void setScaleName(String scaleName) {
056        this.scaleName = scaleName;
057    }
058
059    /**
060     * Returns the scaleType.
061     * @return the scaleType
062     */
063    public ScaleTypeTransfer getScaleType() {
064        return scaleType;
065    }
066
067    /**
068     * Sets the scaleType.
069     * @param scaleType the scaleType to set
070     */
071    public void setScaleType(ScaleTypeTransfer scaleType) {
072        this.scaleType = scaleType;
073    }
074
075    /**
076     * Returns the serverService.
077     * @return the serverService
078     */
079    public ServerServiceTransfer getServerService() {
080        return serverService;
081    }
082
083    /**
084     * Sets the serverService.
085     * @param serverService the serverService to set
086     */
087    public void setServerService(ServerServiceTransfer serverService) {
088        this.serverService = serverService;
089    }
090
091    /**
092     * Returns the isDefault.
093     * @return the isDefault
094     */
095    public Boolean getIsDefault() {
096        return isDefault;
097    }
098
099    /**
100     * Sets the isDefault.
101     * @param isDefault the isDefault to set
102     */
103    public void setIsDefault(Boolean isDefault) {
104        this.isDefault = isDefault;
105    }
106
107    /**
108     * Returns the sortOrder.
109     * @return the sortOrder
110     */
111    public Integer getSortOrder() {
112        return sortOrder;
113    }
114
115    /**
116     * Sets the sortOrder.
117     * @param sortOrder the sortOrder to set
118     */
119    public void setSortOrder(Integer sortOrder) {
120        this.sortOrder = sortOrder;
121    }
122
123    /**
124     * Returns the description.
125     * @return the description
126     */
127    public String getDescription() {
128        return description;
129    }
130
131    /**
132     * Sets the description.
133     * @param description the description to set
134     */
135    public void setDescription(String description) {
136        this.description = description;
137    }
138
139}