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.chain.common.transfer;
018
019import com.echothree.model.control.core.common.transfer.EntityInstanceTransfer;
020import com.echothree.util.common.transfer.BaseTransfer;
021
022public class ChainInstanceEntityRoleTransfer
023        extends BaseTransfer {
024    
025    private ChainInstanceTransfer chainInstance;
026    private ChainEntityRoleTypeTransfer chainEntityRoleType;
027    private EntityInstanceTransfer entityInstance;
028    
029    /** Creates a new instance of ChainInstanceEntityRoleTransfer */
030    public ChainInstanceEntityRoleTransfer(ChainInstanceTransfer chainInstance, ChainEntityRoleTypeTransfer chainEntityRoleType, EntityInstanceTransfer entityInstance) {
031        this.chainInstance = chainInstance;
032        this.chainEntityRoleType = chainEntityRoleType;
033        this.entityInstance = entityInstance;
034    }
035
036    /**
037     * Returns the chainInstance.
038     * @return the chainInstance
039     */
040    public ChainInstanceTransfer getChainInstance() {
041        return chainInstance;
042    }
043
044    /**
045     * Sets the chainInstance.
046     * @param chainInstance the chainInstance to set
047     */
048    public void setChainInstance(ChainInstanceTransfer chainInstance) {
049        this.chainInstance = chainInstance;
050    }
051
052    /**
053     * Returns the chainEntityRoleType.
054     * @return the chainEntityRoleType
055     */
056    public ChainEntityRoleTypeTransfer getChainEntityRoleType() {
057        return chainEntityRoleType;
058    }
059
060    /**
061     * Sets the chainEntityRoleType.
062     * @param chainEntityRoleType the chainEntityRoleType to set
063     */
064    public void setChainEntityRoleType(ChainEntityRoleTypeTransfer chainEntityRoleType) {
065        this.chainEntityRoleType = chainEntityRoleType;
066    }
067
068    /**
069     * Returns the entityInstance.
070     * @return the entityInstance
071     */
072    @Override
073    public EntityInstanceTransfer getEntityInstance() {
074        return entityInstance;
075    }
076
077    /**
078     * Sets the entityInstance.
079     * @param entityInstance the entityInstance to set
080     */
081    @Override
082    public void setEntityInstance(EntityInstanceTransfer entityInstance) {
083        this.entityInstance = entityInstance;
084    }
085    
086}