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.communication.common.transfer; 018 019import com.echothree.util.common.transfer.BaseTransfer; 020 021public class CommunicationSourceTransfer 022 extends BaseTransfer { 023 024 private String communicationSourceName; 025 private CommunicationSourceTypeTransfer communicationSourceType; 026 private Integer sortOrder; 027 private String description; 028 private CommunicationEmailSourceTransfer communicationEmailSource; 029 030 /** Creates a new instance of CommunicationSourceTransfer */ 031 public CommunicationSourceTransfer(String communicationSourceName, CommunicationSourceTypeTransfer communicationSourceType, 032 Integer sortOrder, String description, 033 CommunicationEmailSourceTransfer communicationEmailSource) { 034 this.communicationSourceName = communicationSourceName; 035 this.communicationSourceType = communicationSourceType; 036 this.sortOrder = sortOrder; 037 this.description = description; 038 this.communicationEmailSource = communicationEmailSource; 039 } 040 041 public String getCommunicationSourceName() { 042 return communicationSourceName; 043 } 044 045 public void setCommunicationSourceName(String communicationSourceName) { 046 this.communicationSourceName = communicationSourceName; 047 } 048 049 public CommunicationSourceTypeTransfer getCommunicationSourceType() { 050 return communicationSourceType; 051 } 052 053 public void setCommunicationSourceType(CommunicationSourceTypeTransfer communicationSourceType) { 054 this.communicationSourceType = communicationSourceType; 055 } 056 057 public Integer getSortOrder() { 058 return sortOrder; 059 } 060 061 public void setSortOrder(Integer sortOrder) { 062 this.sortOrder = sortOrder; 063 } 064 065 public String getDescription() { 066 return description; 067 } 068 069 public void setDescription(String description) { 070 this.description = description; 071 } 072 073 public CommunicationEmailSourceTransfer getCommunicationEmailSource() { 074 return communicationEmailSource; 075 } 076 077 public void setCommunicationEmailSource(CommunicationEmailSourceTransfer communicationEmailSource) { 078 this.communicationEmailSource = communicationEmailSource; 079 } 080 081}