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.contact.common.transfer;
018
019import com.echothree.util.common.transfer.BaseTransfer;
020
021public class PartyContactMechanismRelationshipTransfer
022        extends BaseTransfer {
023   
024    private PartyContactMechanismTransfer fromPartyContactMechanism;
025    private PartyContactMechanismTransfer toPartyContactMechanism;
026    
027    /** Creates a new instance of PostalAddressLineTransfer */
028    public PartyContactMechanismRelationshipTransfer(PartyContactMechanismTransfer fromPartyContactMechanism,
029            PartyContactMechanismTransfer toPartyContactMechanism) {
030        this.fromPartyContactMechanism = fromPartyContactMechanism;
031        this.toPartyContactMechanism = toPartyContactMechanism;
032    }
033
034    /**
035     * Returns the fromPartyContactMechanism.
036     * @return the fromPartyContactMechanism
037     */
038    public PartyContactMechanismTransfer getFromPartyContactMechanism() {
039        return fromPartyContactMechanism;
040    }
041
042    /**
043     * Sets the fromPartyContactMechanism.
044     * @param fromPartyContactMechanism the fromPartyContactMechanism to set
045     */
046    public void setFromPartyContactMechanism(PartyContactMechanismTransfer fromPartyContactMechanism) {
047        this.fromPartyContactMechanism = fromPartyContactMechanism;
048    }
049
050    /**
051     * Returns the toPartyContactMechanism.
052     * @return the toPartyContactMechanism
053     */
054    public PartyContactMechanismTransfer getToPartyContactMechanism() {
055        return toPartyContactMechanism;
056    }
057
058    /**
059     * Sets the toPartyContactMechanism.
060     * @param toPartyContactMechanism the toPartyContactMechanism to set
061     */
062    public void setToPartyContactMechanism(PartyContactMechanismTransfer toPartyContactMechanism) {
063        this.toPartyContactMechanism = toPartyContactMechanism;
064    }
065    
066}