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.letter.common.transfer;
018
019import com.echothree.model.control.chain.common.transfer.ChainTypeTransfer;
020import com.echothree.model.control.contactlist.common.transfer.ContactListTransfer;
021import com.echothree.util.common.transfer.BaseTransfer;
022
023public class LetterTransfer
024        extends BaseTransfer {
025    
026    private ChainTypeTransfer chainType;
027    private String letterName;
028    private LetterSourceTransfer letterSource;
029    private ContactListTransfer contactList;
030    private Boolean isDefault;
031    private Integer sortOrder;
032    private String description;
033    
034    /** Creates a new instance of LetterTransfer */
035    public LetterTransfer(ChainTypeTransfer chainType, String letterName, LetterSourceTransfer letterSource,
036            ContactListTransfer contactList, Boolean isDefault, Integer sortOrder,
037            String description) {
038        this.chainType = chainType;
039        this.letterName = letterName;
040        this.letterSource = letterSource;
041        this.contactList = contactList;
042        this.isDefault = isDefault;
043        this.sortOrder = sortOrder;
044        this.description = description;
045    }
046    
047    public ChainTypeTransfer getChainType() {
048        return chainType;
049    }
050    
051    public void setChainType(ChainTypeTransfer chainType) {
052        this.chainType = chainType;
053    }
054    
055    public String getLetterName() {
056        return letterName;
057    }
058    
059    public void setLetterName(String letterName) {
060        this.letterName = letterName;
061    }
062    
063    public LetterSourceTransfer getLetterSource() {
064        return letterSource;
065    }
066    
067    public void setLetterSource(LetterSourceTransfer letterSource) {
068        this.letterSource = letterSource;
069    }
070    
071    public ContactListTransfer getContactList() {
072        return contactList;
073    }
074    
075    public void setContactList(ContactListTransfer contactList) {
076        this.contactList = contactList;
077    }
078    
079    public Boolean getIsDefault() {
080        return isDefault;
081    }
082    
083    public void setIsDefault(Boolean isDefault) {
084        this.isDefault = isDefault;
085    }
086    
087    public Integer getSortOrder() {
088        return sortOrder;
089    }
090    
091    public void setSortOrder(Integer sortOrder) {
092        this.sortOrder = sortOrder;
093    }
094    
095    public String getDescription() {
096        return description;
097    }
098    
099    public void setDescription(String description) {
100        this.description = description;
101    }
102    
103}