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.model.control.party.common.transfer.PartyTransfer;
020import com.echothree.util.common.transfer.BaseTransfer;
021
022public class PartyContactMechanismAliasTransfer
023        extends BaseTransfer {
024    
025    private PartyTransfer party;
026    private ContactMechanismTransfer contactMechanism;
027    private ContactMechanismAliasTypeTransfer contactMechanismAliasType;
028    private String alias;
029    
030    /** Creates a new instance of PartyContactMechanismAliasTransfer */
031    public PartyContactMechanismAliasTransfer(PartyTransfer party, ContactMechanismTransfer contactMechanism,
032            ContactMechanismAliasTypeTransfer contactMechanismAliasType, String alias) {
033        this.party = party;
034        this.contactMechanism = contactMechanism;
035        this.contactMechanismAliasType = contactMechanismAliasType;
036        this.alias = alias;
037    }
038    
039    public PartyTransfer getParty() {
040        return party;
041    }
042    
043    public void setParty(PartyTransfer party) {
044        this.party = party;
045    }
046    
047    public ContactMechanismTransfer getContactMechanism() {
048        return contactMechanism;
049    }
050    
051    public void setContactMechanism(ContactMechanismTransfer contactMechanism) {
052        this.contactMechanism = contactMechanism;
053    }
054    
055    public ContactMechanismAliasTypeTransfer getContactMechanismAliasType() {
056        return contactMechanismAliasType;
057    }
058    
059    public void setContactMechanismAliasType(ContactMechanismAliasTypeTransfer contactMechanismAliasType) {
060        this.contactMechanismAliasType = contactMechanismAliasType;
061    }
062    
063    public String getAlias() {
064        return alias;
065    }
066    
067    public void setAlias(String alias) {
068        this.alias = alias;
069    }
070    
071}