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.cancellationpolicy.common.transfer;
018
019import com.echothree.model.control.party.common.transfer.PartyTransfer;
020import com.echothree.model.control.workflow.common.transfer.WorkflowEntityStatusTransfer;
021import com.echothree.util.common.transfer.BaseTransfer;
022
023public class PartyCancellationPolicyTransfer
024        extends BaseTransfer {
025    
026    private PartyTransfer party;
027    private CancellationPolicyTransfer cancellationPolicy;
028    private WorkflowEntityStatusTransfer partyCancellationPolicyStatus;
029    
030    /** Creates a new instance of PartyCancellationPolicyTransfer */
031    public PartyCancellationPolicyTransfer(PartyTransfer party, CancellationPolicyTransfer cancellationPolicy, WorkflowEntityStatusTransfer partyCancellationPolicyStatus) {
032        this.party = party;
033        this.cancellationPolicy = cancellationPolicy;
034        this.partyCancellationPolicyStatus = partyCancellationPolicyStatus;
035    }
036
037    /**
038     * Returns the party.
039     * @return the party
040     */
041    public PartyTransfer getParty() {
042        return party;
043    }
044
045    /**
046     * Sets the party.
047     * @param party the party to set
048     */
049    public void setParty(PartyTransfer party) {
050        this.party = party;
051    }
052
053    /**
054     * Returns the cancellationPolicy.
055     * @return the cancellationPolicy
056     */
057    public CancellationPolicyTransfer getCancellationPolicy() {
058        return cancellationPolicy;
059    }
060
061    /**
062     * Sets the cancellationPolicy.
063     * @param cancellationPolicy the cancellationPolicy to set
064     */
065    public void setCancellationPolicy(CancellationPolicyTransfer cancellationPolicy) {
066        this.cancellationPolicy = cancellationPolicy;
067    }
068
069    /**
070     * Returns the partyCancellationPolicyStatus.
071     * @return the partyCancellationPolicyStatus
072     */
073    public WorkflowEntityStatusTransfer getPartyCancellationPolicyStatus() {
074        return partyCancellationPolicyStatus;
075    }
076
077    /**
078     * Sets the partyCancellationPolicyStatus.
079     * @param partyCancellationPolicyStatus the partyCancellationPolicyStatus to set
080     */
081    public void setPartyCancellationPolicyStatus(WorkflowEntityStatusTransfer partyCancellationPolicyStatus) {
082        this.partyCancellationPolicyStatus = partyCancellationPolicyStatus;
083    }
084    
085}