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.document.common.transfer;
018
019import com.echothree.model.control.party.common.transfer.PartyTransfer;
020import com.echothree.util.common.transfer.BaseTransfer;
021
022public class PartyDocumentTransfer
023        extends BaseTransfer {
024    
025    private PartyTransfer party;
026    private DocumentTransfer document;
027    private Boolean isDefault;
028    private Integer sortOrder;
029    
030    /** Creates a new instance of PartyDocumentTransfer */
031    public PartyDocumentTransfer(PartyTransfer party, DocumentTransfer document, Boolean isDefault, Integer sortOrder) {
032        this.party = party;
033        this.document = document;
034        this.isDefault = isDefault;
035        this.sortOrder = sortOrder;
036    }
037
038    /**
039     * Returns the party.
040     * @return the party
041     */
042    public PartyTransfer getParty() {
043        return party;
044    }
045
046    /**
047     * Sets the party.
048     * @param party the party to set
049     */
050    public void setParty(PartyTransfer party) {
051        this.party = party;
052    }
053
054    /**
055     * Returns the document.
056     * @return the document
057     */
058    public DocumentTransfer getDocument() {
059        return document;
060    }
061
062    /**
063     * Sets the document.
064     * @param document the document to set
065     */
066    public void setDocument(DocumentTransfer document) {
067        this.document = document;
068    }
069
070    /**
071     * Returns the isDefault.
072     * @return the isDefault
073     */
074    public Boolean getIsDefault() {
075        return isDefault;
076    }
077
078    /**
079     * Sets the isDefault.
080     * @param isDefault the isDefault to set
081     */
082    public void setIsDefault(Boolean isDefault) {
083        this.isDefault = isDefault;
084    }
085
086    /**
087     * Returns the sortOrder.
088     * @return the sortOrder
089     */
090    public Integer getSortOrder() {
091        return sortOrder;
092    }
093
094    /**
095     * Sets the sortOrder.
096     * @param sortOrder the sortOrder to set
097     */
098    public void setSortOrder(Integer sortOrder) {
099        this.sortOrder = sortOrder;
100    }
101
102}