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.campaign.common.transfer; 018 019import com.echothree.model.control.workflow.common.transfer.WorkflowEntityStatusTransfer; 020import com.echothree.util.common.transfer.BaseTransfer; 021 022public class CampaignTermTransfer 023 extends BaseTransfer { 024 025 private String campaignTermName; 026 private String valueSha1Hash; 027 private String value; 028 private Boolean isDefault; 029 private Integer sortOrder; 030 private String description; 031 private WorkflowEntityStatusTransfer campaignTermStatus; 032 033 /** Creates a new instance of CampaignTermTransfer */ 034 public CampaignTermTransfer(String campaignTermName, String valueSha1Hash, String value, Boolean isDefault, Integer sortOrder, String description, 035 WorkflowEntityStatusTransfer campaignTermStatus) { 036 this.campaignTermName = campaignTermName; 037 this.valueSha1Hash = valueSha1Hash; 038 this.value = value; 039 this.isDefault = isDefault; 040 this.sortOrder = sortOrder; 041 this.description = description; 042 this.campaignTermStatus = campaignTermStatus; 043 } 044 045 /** 046 * Returns the campaignTermName. 047 * @return the campaignTermName 048 */ 049 public String getCampaignTermName() { 050 return campaignTermName; 051 } 052 053 /** 054 * Sets the campaignTermName. 055 * @param campaignTermName the campaignTermName to set 056 */ 057 public void setCampaignTermName(String campaignTermName) { 058 this.campaignTermName = campaignTermName; 059 } 060 061 /** 062 * Returns the valueSha1Hash. 063 * @return the valueSha1Hash 064 */ 065 public String getValueSha1Hash() { 066 return valueSha1Hash; 067 } 068 069 /** 070 * Sets the valueSha1Hash. 071 * @param valueSha1Hash the valueSha1Hash to set 072 */ 073 public void setValueSha1Hash(String valueSha1Hash) { 074 this.valueSha1Hash = valueSha1Hash; 075 } 076 077 /** 078 * Returns the value. 079 * @return the value 080 */ 081 public String getValue() { 082 return value; 083 } 084 085 /** 086 * Sets the value. 087 * @param value the value to set 088 */ 089 public void setValue(String value) { 090 this.value = value; 091 } 092 093 /** 094 * Returns the isDefault. 095 * @return the isDefault 096 */ 097 public Boolean getIsDefault() { 098 return isDefault; 099 } 100 101 /** 102 * Sets the isDefault. 103 * @param isDefault the isDefault to set 104 */ 105 public void setIsDefault(Boolean isDefault) { 106 this.isDefault = isDefault; 107 } 108 109 /** 110 * Returns the sortOrder. 111 * @return the sortOrder 112 */ 113 public Integer getSortOrder() { 114 return sortOrder; 115 } 116 117 /** 118 * Sets the sortOrder. 119 * @param sortOrder the sortOrder to set 120 */ 121 public void setSortOrder(Integer sortOrder) { 122 this.sortOrder = sortOrder; 123 } 124 125 /** 126 * Returns the description. 127 * @return the description 128 */ 129 public String getDescription() { 130 return description; 131 } 132 133 /** 134 * Sets the description. 135 * @param description the description to set 136 */ 137 public void setDescription(String description) { 138 this.description = description; 139 } 140 141 /** 142 * Returns the campaignTermStatus. 143 * @return the campaignTermStatus 144 */ 145 public WorkflowEntityStatusTransfer getCampaignTermStatus() { 146 return campaignTermStatus; 147 } 148 149 /** 150 * Sets the campaignTermStatus. 151 * @param campaignTermStatus the campaignTermStatus to set 152 */ 153 public void setCampaignTermStatus(WorkflowEntityStatusTransfer campaignTermStatus) { 154 this.campaignTermStatus = campaignTermStatus; 155 } 156 157}