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.model.control.contact.common.transfer.PartyContactMechanismTransfer;
020import com.echothree.model.control.document.common.transfer.DocumentTransfer;
021import com.echothree.util.common.transfer.BaseTransfer;
022
023public class CommunicationEventTransfer
024        extends BaseTransfer {
025    
026    private String communicationEventName;
027    private CommunicationEventTypeTransfer communicationEventType;
028    private CommunicationSourceTransfer communicationSource;
029    private CommunicationEventPurposeTransfer communicationEventPurpose;
030    private CommunicationEventTransfer originalCommunicationEvent;
031    private CommunicationEventTransfer parentCommunicationEvent;
032    private PartyContactMechanismTransfer partyContactMechanism;
033    private DocumentTransfer document;
034    
035    /** Creates a new instance of CommunicationEventTransfer */
036    public CommunicationEventTransfer(String communicationEventName, CommunicationEventTypeTransfer communicationEventType,
037            CommunicationSourceTransfer communicationSource, CommunicationEventPurposeTransfer communicationEventPurpose,
038            CommunicationEventTransfer originalCommunicationEvent, CommunicationEventTransfer parentCommunicationEvent,
039            PartyContactMechanismTransfer partyContactMechanism, DocumentTransfer document) {
040        this.communicationEventName = communicationEventName;
041        this.communicationEventType = communicationEventType;
042        this.communicationSource = communicationSource;
043        this.communicationEventPurpose = communicationEventPurpose;
044        this.originalCommunicationEvent = originalCommunicationEvent;
045        this.parentCommunicationEvent = parentCommunicationEvent;
046        this.partyContactMechanism = partyContactMechanism;
047        this.document = document;
048    }
049    
050    public String getCommunicationEventName() {
051        return communicationEventName;
052    }
053    
054    public void setCommunicationEventName(String communicationEventName) {
055        this.communicationEventName = communicationEventName;
056    }
057    
058    public CommunicationEventTypeTransfer getCommunicationEventType() {
059        return communicationEventType;
060    }
061    
062    public void setCommunicationEventType(CommunicationEventTypeTransfer communicationEventType) {
063        this.communicationEventType = communicationEventType;
064    }
065    
066    public CommunicationSourceTransfer getCommunicationSource() {
067        return communicationSource;
068    }
069    
070    public void setCommunicationSource(CommunicationSourceTransfer communicationSource) {
071        this.communicationSource = communicationSource;
072    }
073    
074    public CommunicationEventPurposeTransfer getCommunicationEventPurpose() {
075        return communicationEventPurpose;
076    }
077    
078    public void setCommunicationEventPurpose(CommunicationEventPurposeTransfer communicationEventPurpose) {
079        this.communicationEventPurpose = communicationEventPurpose;
080    }
081    
082    public CommunicationEventTransfer getOriginalCommunicationEvent() {
083        return originalCommunicationEvent;
084    }
085    
086    public void setOriginalCommunicationEvent(CommunicationEventTransfer originalCommunicationEvent) {
087        this.originalCommunicationEvent = originalCommunicationEvent;
088    }
089    
090    public CommunicationEventTransfer getParentCommunicationEvent() {
091        return parentCommunicationEvent;
092    }
093    
094    public void setParentCommunicationEvent(CommunicationEventTransfer parentCommunicationEvent) {
095        this.parentCommunicationEvent = parentCommunicationEvent;
096    }
097    
098    public PartyContactMechanismTransfer getPartyContactMechanism() {
099        return partyContactMechanism;
100    }
101    
102    public void setPartyContactMechanism(PartyContactMechanismTransfer partyContactMechanism) {
103        this.partyContactMechanism = partyContactMechanism;
104    }
105    
106    public DocumentTransfer getDocument() {
107        return document;
108    }
109    
110    public void setDocument(DocumentTransfer document) {
111        this.document = document;
112    }
113    
114}