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.contactlist.common.transfer; 018 019import com.echothree.model.control.workflow.common.transfer.WorkflowEntranceTransfer; 020import com.echothree.util.common.transfer.BaseTransfer; 021 022public class ContactListTransfer 023 extends BaseTransfer { 024 025 private String contactListName; 026 private ContactListGroupTransfer contactListGroup; 027 private ContactListTypeTransfer contactListType; 028 private ContactListFrequencyTransfer contactListFrequency; 029 private WorkflowEntranceTransfer defaultPartyContactListStatus; 030 private Boolean isDefault; 031 private Integer sortOrder; 032 private String description; 033 034 /** Creates a new instance of ContactListTransfer */ 035 public ContactListTransfer(String contactListName, ContactListGroupTransfer contactListGroup, ContactListTypeTransfer contactListType, 036 ContactListFrequencyTransfer contactListFrequency, WorkflowEntranceTransfer defaultPartyContactListStatus, Boolean isDefault, Integer sortOrder, 037 String description) { 038 this.contactListName = contactListName; 039 this.contactListGroup = contactListGroup; 040 this.contactListType = contactListType; 041 this.contactListFrequency = contactListFrequency; 042 this.defaultPartyContactListStatus = defaultPartyContactListStatus; 043 this.isDefault = isDefault; 044 this.sortOrder = sortOrder; 045 this.description = description; 046 } 047 048 /** 049 * Returns the contactListName. 050 * @return the contactListName 051 */ 052 public String getContactListName() { 053 return contactListName; 054 } 055 056 /** 057 * Sets the contactListName. 058 * @param contactListName the contactListName to set 059 */ 060 public void setContactListName(String contactListName) { 061 this.contactListName = contactListName; 062 } 063 064 /** 065 * Returns the contactListGroup. 066 * @return the contactListGroup 067 */ 068 public ContactListGroupTransfer getContactListGroup() { 069 return contactListGroup; 070 } 071 072 /** 073 * Sets the contactListGroup. 074 * @param contactListGroup the contactListGroup to set 075 */ 076 public void setContactListGroup(ContactListGroupTransfer contactListGroup) { 077 this.contactListGroup = contactListGroup; 078 } 079 080 /** 081 * Returns the contactListType. 082 * @return the contactListType 083 */ 084 public ContactListTypeTransfer getContactListType() { 085 return contactListType; 086 } 087 088 /** 089 * Sets the contactListType. 090 * @param contactListType the contactListType to set 091 */ 092 public void setContactListType(ContactListTypeTransfer contactListType) { 093 this.contactListType = contactListType; 094 } 095 096 /** 097 * Returns the contactListFrequency. 098 * @return the contactListFrequency 099 */ 100 public ContactListFrequencyTransfer getContactListFrequency() { 101 return contactListFrequency; 102 } 103 104 /** 105 * Sets the contactListFrequency. 106 * @param contactListFrequency the contactListFrequency to set 107 */ 108 public void setContactListFrequency(ContactListFrequencyTransfer contactListFrequency) { 109 this.contactListFrequency = contactListFrequency; 110 } 111 112 /** 113 * Returns the defaultPartyContactListStatus. 114 * @return the defaultPartyContactListStatus 115 */ 116 public WorkflowEntranceTransfer getDefaultPartyContactListStatus() { 117 return defaultPartyContactListStatus; 118 } 119 120 /** 121 * Sets the defaultPartyContactListStatus. 122 * @param defaultPartyContactListStatus the defaultPartyContactListStatus to set 123 */ 124 public void setDefaultPartyContactListStatus(WorkflowEntranceTransfer defaultPartyContactListStatus) { 125 this.defaultPartyContactListStatus = defaultPartyContactListStatus; 126 } 127 128 /** 129 * Returns the isDefault. 130 * @return the isDefault 131 */ 132 public Boolean getIsDefault() { 133 return isDefault; 134 } 135 136 /** 137 * Sets the isDefault. 138 * @param isDefault the isDefault to set 139 */ 140 public void setIsDefault(Boolean isDefault) { 141 this.isDefault = isDefault; 142 } 143 144 /** 145 * Returns the sortOrder. 146 * @return the sortOrder 147 */ 148 public Integer getSortOrder() { 149 return sortOrder; 150 } 151 152 /** 153 * Sets the sortOrder. 154 * @param sortOrder the sortOrder to set 155 */ 156 public void setSortOrder(Integer sortOrder) { 157 this.sortOrder = sortOrder; 158 } 159 160 /** 161 * Returns the description. 162 * @return the description 163 */ 164 public String getDescription() { 165 return description; 166 } 167 168 /** 169 * Sets the description. 170 * @param description the description to set 171 */ 172 public void setDescription(String description) { 173 this.description = description; 174 } 175 176}