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.party.common.transfer.PartyTransfer; 020import com.echothree.model.control.workflow.common.transfer.WorkflowEntityStatusTransfer; 021import com.echothree.util.common.transfer.BaseTransfer; 022 023public class PartyContactListTransfer 024 extends BaseTransfer { 025 026 private PartyTransfer party; 027 private ContactListTransfer contactList; 028 private ContactListContactMechanismPurposeTransfer preferredContactListContactMechanismPurpose; 029 030 private WorkflowEntityStatusTransfer partyContactListStatus; 031 032 /** Creates a new instance of PartyContactListTransfer */ 033 public PartyContactListTransfer(PartyTransfer party, ContactListTransfer contactList, ContactListContactMechanismPurposeTransfer preferredContactListContactMechanismPurpose) { 034 this.party = party; 035 this.contactList = contactList; 036 this.preferredContactListContactMechanismPurpose = preferredContactListContactMechanismPurpose; 037 } 038 039 /** 040 * Returns the party. 041 * @return the party 042 */ 043 public PartyTransfer getParty() { 044 return party; 045 } 046 047 /** 048 * Sets the party. 049 * @param party the party to set 050 */ 051 public void setParty(PartyTransfer party) { 052 this.party = party; 053 } 054 055 /** 056 * Returns the contactList. 057 * @return the contactList 058 */ 059 public ContactListTransfer getContactList() { 060 return contactList; 061 } 062 063 /** 064 * Sets the contactList. 065 * @param contactList the contactList to set 066 */ 067 public void setContactList(ContactListTransfer contactList) { 068 this.contactList = contactList; 069 } 070 071 /** 072 * Returns the preferredContactListContactMechanismPurpose. 073 * @return the preferredContactListContactMechanismPurpose 074 */ 075 public ContactListContactMechanismPurposeTransfer getPreferredContactListContactMechanismPurpose() { 076 return preferredContactListContactMechanismPurpose; 077 } 078 079 /** 080 * Sets the preferredContactListContactMechanismPurpose. 081 * @param preferredContactListContactMechanismPurpose the preferredContactListContactMechanismPurpose to set 082 */ 083 public void setPreferredContactListContactMechanismPurpose(ContactListContactMechanismPurposeTransfer preferredContactListContactMechanismPurpose) { 084 this.preferredContactListContactMechanismPurpose = preferredContactListContactMechanismPurpose; 085 } 086 087 /** 088 * Returns the partyContactListStatus. 089 * @return the partyContactListStatus 090 */ 091 public WorkflowEntityStatusTransfer getPartyContactListStatus() { 092 return partyContactListStatus; 093 } 094 095 /** 096 * Sets the partyContactListStatus. 097 * @param partyContactListStatus the partyContactListStatus to set 098 */ 099 public void setPartyContactListStatus(WorkflowEntityStatusTransfer partyContactListStatus) { 100 this.partyContactListStatus = partyContactListStatus; 101 } 102 103}