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.party.common.transfer;
018
019import com.echothree.util.common.transfer.BaseTransfer;
020
021public class PartyRelationshipTransfer
022        extends BaseTransfer {
023    
024    private PartyTransfer fromParty;
025    private RoleTypeTransfer fromRoleType;
026    private PartyTransfer toParty;
027    private RoleTypeTransfer toRoleType;
028    
029    /** Creates a new instance of PartyRelationshipTransfer */
030    public PartyRelationshipTransfer(PartyTransfer fromParty, RoleTypeTransfer fromRoleType, PartyTransfer toParty,
031            RoleTypeTransfer toRoleType) {
032        this.fromParty = fromParty;
033        this.fromRoleType = fromRoleType;
034        this.toParty = toParty;
035        this.toRoleType = toRoleType;
036    }
037    
038    public PartyTransfer getFromParty() {
039        return fromParty;
040    }
041    
042    public void setFromParty(PartyTransfer fromParty) {
043        this.fromParty = fromParty;
044    }
045    
046    public RoleTypeTransfer getFromRoleType() {
047        return fromRoleType;
048    }
049    
050    public void setFromRoleType(RoleTypeTransfer fromRoleType) {
051        this.fromRoleType = fromRoleType;
052    }
053    
054    public PartyTransfer getToParty() {
055        return toParty;
056    }
057    
058    public void setToParty(PartyTransfer toParty) {
059        this.toParty = toParty;
060    }
061    
062    public RoleTypeTransfer getToRoleType() {
063        return toRoleType;
064    }
065    
066    public void setToRoleType(RoleTypeTransfer toRoleType) {
067        this.toRoleType = toRoleType;
068    }
069    
070}