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 ServerTransfer
022        extends BaseTransfer {
023
024    private String serverName;
025    private Boolean isDefault;
026    private Integer sortOrder;
027    private String description;
028
029    /** Creates a new instance of ServerTransfer */
030    public ServerTransfer(String serverName, Boolean isDefault, Integer sortOrder, String description) {
031        this.serverName = serverName;
032        this.isDefault = isDefault;
033        this.sortOrder = sortOrder;
034        this.description = description;
035    }
036
037    /**
038     * Returns the serverName.
039     * @return the serverName
040     */
041    public String getServerName() {
042        return serverName;
043    }
044
045    /**
046     * Sets the serverName.
047     * @param serverName the serverName to set
048     */
049    public void setServerName(String serverName) {
050        this.serverName = serverName;
051    }
052
053    /**
054     * Returns the isDefault.
055     * @return the isDefault
056     */
057    public Boolean getIsDefault() {
058        return isDefault;
059    }
060
061    /**
062     * Sets the isDefault.
063     * @param isDefault the isDefault to set
064     */
065    public void setIsDefault(Boolean isDefault) {
066        this.isDefault = isDefault;
067    }
068
069    /**
070     * Returns the sortOrder.
071     * @return the sortOrder
072     */
073    public Integer getSortOrder() {
074        return sortOrder;
075    }
076
077    /**
078     * Sets the sortOrder.
079     * @param sortOrder the sortOrder to set
080     */
081    public void setSortOrder(Integer sortOrder) {
082        this.sortOrder = sortOrder;
083    }
084
085    /**
086     * Returns the description.
087     * @return the description
088     */
089    public String getDescription() {
090        return description;
091    }
092
093    /**
094     * Sets the description.
095     * @param description the description to set
096     */
097    public void setDescription(String description) {
098        this.description = description;
099    }
100
101}