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.user.common.transfer;
018
019import com.echothree.model.control.party.common.transfer.PartyRelationshipTransfer;
020import com.echothree.model.control.party.common.transfer.PartyTransfer;
021import com.echothree.util.common.transfer.BaseTransfer;
022
023public class UserKeyTransfer
024        extends BaseTransfer {
025    
026    private String userKeyName;
027    private PartyTransfer party;
028    private PartyRelationshipTransfer partyRelationship;
029    
030    /** Creates a new instance of UserKeyTransfer */
031    public UserKeyTransfer(String userKeyName, PartyTransfer party, PartyRelationshipTransfer partyRelationship) {
032        this.userKeyName = userKeyName;
033        this.party = party;
034        this.partyRelationship = partyRelationship;
035    }
036    
037    public String getUserKeyName() {
038        return userKeyName;
039    }
040    
041    public void setUserKeyName(String userKeyName) {
042        this.userKeyName = userKeyName;
043    }
044    
045    public PartyTransfer getParty() {
046        return party;
047    }
048    
049    public void setParty(PartyTransfer party) {
050        this.party = party;
051    }
052    
053    public PartyRelationshipTransfer getPartyRelationship() {
054        return partyRelationship;
055    }
056    
057    public void setPartyRelationship(PartyRelationshipTransfer partyRelationship) {
058        this.partyRelationship = partyRelationship;
059    }
060    
061}