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.contact.common.transfer.PartyContactMechanismTransfer;
020import com.echothree.model.control.party.common.transfer.CompanyTransfer;
021import com.echothree.util.common.transfer.BaseTransfer;
022
023public class LetterSourceTransfer
024        extends BaseTransfer {
025    
026    private String letterSourceName;
027    private CompanyTransfer company;
028    private PartyContactMechanismTransfer emailAddressPartyContactMechanism;
029    private PartyContactMechanismTransfer postalAddressPartyContactMechanism;
030    private PartyContactMechanismTransfer letterSourcePartyContactMechanism;
031    private Boolean isDefault;
032    private Integer sortOrder;
033    private String description;
034    
035    /** Creates a new instance of LetterSourceTransfer */
036    public LetterSourceTransfer(String letterSourceName, CompanyTransfer company,
037            PartyContactMechanismTransfer emailAddressPartyContactMechanism,
038            PartyContactMechanismTransfer postalAddressPartyContactMechanism,
039            PartyContactMechanismTransfer letterSourcePartyContactMechanism, Boolean isDefault, Integer sortOrder, String description) {
040        this.letterSourceName = letterSourceName;
041        this.company = company;
042        this.emailAddressPartyContactMechanism = emailAddressPartyContactMechanism;
043        this.postalAddressPartyContactMechanism = postalAddressPartyContactMechanism;
044        this.letterSourcePartyContactMechanism = letterSourcePartyContactMechanism;
045        this.isDefault = isDefault;
046        this.sortOrder = sortOrder;
047        this.description = description;
048    }
049    
050    public String getLetterSourceName() {
051        return letterSourceName;
052    }
053    
054    public void setLetterSourceName(String letterSourceName) {
055        this.letterSourceName = letterSourceName;
056    }
057    
058    public CompanyTransfer getCompany() {
059        return company;
060    }
061    
062    public void setCompany(CompanyTransfer company) {
063        this.company = company;
064    }
065    
066    public PartyContactMechanismTransfer getEmailAddressPartyContactMechanism() {
067        return emailAddressPartyContactMechanism;
068    }
069    
070    public void setEmailAddressPartyContactMechanism(PartyContactMechanismTransfer emailAddressPartyContactMechanism) {
071        this.emailAddressPartyContactMechanism = emailAddressPartyContactMechanism;
072    }
073    
074    public PartyContactMechanismTransfer getPostalAddressPartyContactMechanism() {
075        return postalAddressPartyContactMechanism;
076    }
077    
078    public void setPostalAddressPartyContactMechanism(PartyContactMechanismTransfer postalAddressPartyContactMechanism) {
079        this.postalAddressPartyContactMechanism = postalAddressPartyContactMechanism;
080    }
081    
082    public PartyContactMechanismTransfer getLetterSourcePartyContactMechanism() {
083        return letterSourcePartyContactMechanism;
084    }
085    
086    public void setLetterSourcePartyContactMechanism(PartyContactMechanismTransfer letterSourcePartyContactMechanism) {
087        this.letterSourcePartyContactMechanism = letterSourcePartyContactMechanism;
088    }
089    
090    public Boolean getIsDefault() {
091        return isDefault;
092    }
093    
094    public void setIsDefault(Boolean isDefault) {
095        this.isDefault = isDefault;
096    }
097    
098    public Integer getSortOrder() {
099        return sortOrder;
100    }
101    
102    public void setSortOrder(Integer sortOrder) {
103        this.sortOrder = sortOrder;
104    }
105    
106    public String getDescription() {
107        return description;
108    }
109    
110    public void setDescription(String description) {
111        this.description = description;
112    }
113    
114}