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.associate.common.transfer; 018 019import com.echothree.model.control.core.common.transfer.EntityInstanceTransfer; 020import com.echothree.util.common.transfer.BaseTransfer; 021 022public class AssociateReferralTransfer 023 extends BaseTransfer { 024 025 private String associateReferralName; 026 private AssociateTransfer associate; 027 private AssociatePartyContactMechanismTransfer associateContactMechanism; 028 private EntityInstanceTransfer targetEntityInstance; 029 private Long unformattedAssociateReferralTime; 030 private String associateReferralTime; 031 032 /** Creates a new instance of AssociateReferralTransfer */ 033 public AssociateReferralTransfer(String associateReferralName, AssociateTransfer associate, AssociatePartyContactMechanismTransfer associateContactMechanism, 034 EntityInstanceTransfer targetEntityInstance, Long unformattedAssociateReferralTime, String associateReferralTime) { 035 this.associateReferralName = associateReferralName; 036 this.associate = associate; 037 this.associateContactMechanism = associateContactMechanism; 038 this.targetEntityInstance = targetEntityInstance; 039 this.unformattedAssociateReferralTime = unformattedAssociateReferralTime; 040 this.associateReferralTime = associateReferralTime; 041 } 042 043 /** 044 * Returns the associateReferralName. 045 * @return the associateReferralName 046 */ 047 public String getAssociateReferralName() { 048 return associateReferralName; 049 } 050 051 /** 052 * Sets the associateReferralName. 053 * @param associateReferralName the associateReferralName to set 054 */ 055 public void setAssociateReferralName(String associateReferralName) { 056 this.associateReferralName = associateReferralName; 057 } 058 059 /** 060 * Returns the associate. 061 * @return the associate 062 */ 063 public AssociateTransfer getAssociate() { 064 return associate; 065 } 066 067 /** 068 * Sets the associate. 069 * @param associate the associate to set 070 */ 071 public void setAssociate(AssociateTransfer associate) { 072 this.associate = associate; 073 } 074 075 /** 076 * Returns the associateContactMechanism. 077 * @return the associateContactMechanism 078 */ 079 public AssociatePartyContactMechanismTransfer getAssociateContactMechanism() { 080 return associateContactMechanism; 081 } 082 083 /** 084 * Sets the associateContactMechanism. 085 * @param associateContactMechanism the associateContactMechanism to set 086 */ 087 public void setAssociateContactMechanism(AssociatePartyContactMechanismTransfer associateContactMechanism) { 088 this.associateContactMechanism = associateContactMechanism; 089 } 090 091 /** 092 * Returns the targetEntityInstance. 093 * @return the targetEntityInstance 094 */ 095 public EntityInstanceTransfer getTargetEntityInstance() { 096 return targetEntityInstance; 097 } 098 099 /** 100 * Sets the targetEntityInstance. 101 * @param targetEntityInstance the targetEntityInstance to set 102 */ 103 public void setTargetEntityInstance(EntityInstanceTransfer targetEntityInstance) { 104 this.targetEntityInstance = targetEntityInstance; 105 } 106 107 /** 108 * Returns the unformattedAssociateReferralTime. 109 * @return the unformattedAssociateReferralTime 110 */ 111 public Long getUnformattedAssociateReferralTime() { 112 return unformattedAssociateReferralTime; 113 } 114 115 /** 116 * Sets the unformattedAssociateReferralTime. 117 * @param unformattedAssociateReferralTime the unformattedAssociateReferralTime to set 118 */ 119 public void setUnformattedAssociateReferralTime(Long unformattedAssociateReferralTime) { 120 this.unformattedAssociateReferralTime = unformattedAssociateReferralTime; 121 } 122 123 /** 124 * Returns the associateReferralTime. 125 * @return the associateReferralTime 126 */ 127 public String getAssociateReferralTime() { 128 return associateReferralTime; 129 } 130 131 /** 132 * Sets the associateReferralTime. 133 * @param associateReferralTime the associateReferralTime to set 134 */ 135 public void setAssociateReferralTime(String associateReferralTime) { 136 this.associateReferralTime = associateReferralTime; 137 } 138 139}