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.batch.common.transfer;
018
019import com.echothree.model.control.workflow.common.transfer.WorkflowEntityStatusTransfer;
020import com.echothree.util.common.transfer.BaseTransfer;
021import com.echothree.util.common.transfer.ListWrapper;
022
023public abstract class GenericBatchTransfer
024        extends BaseTransfer {
025    
026    private BatchTypeTransfer batchType;
027    private String batchName;
028    private WorkflowEntityStatusTransfer batchStatus;
029    
030    private ListWrapper<BatchAliasTransfer> batchAliases;
031    private ListWrapper<BatchEntityTransfer> batchEntities;
032    
033    /** Creates a new instance of GenericBatchTransfer */
034    protected GenericBatchTransfer(BatchTypeTransfer batchType, String batchName, WorkflowEntityStatusTransfer batchStatus) {
035        this.batchType = batchType;
036        this.batchName = batchName;
037        this.batchStatus = batchStatus;
038    }
039
040    /**
041     * Returns the batchType.
042     * @return the batchType
043     */
044    public BatchTypeTransfer getBatchType() {
045        return batchType;
046    }
047
048    /**
049     * Sets the batchType.
050     * @param batchType the batchType to set
051     */
052    public void setBatchType(BatchTypeTransfer batchType) {
053        this.batchType = batchType;
054    }
055
056    /**
057     * Returns the batchName.
058     * @return the batchName
059     */
060    public String getBatchName() {
061        return batchName;
062    }
063
064    /**
065     * Sets the batchName.
066     * @param batchName the batchName to set
067     */
068    public void setBatchName(String batchName) {
069        this.batchName = batchName;
070    }
071
072    /**
073     * Returns the batchStatus.
074     * @return the batchStatus
075     */
076    public WorkflowEntityStatusTransfer getBatchStatus() {
077        return batchStatus;
078    }
079
080    /**
081     * Sets the batchStatus.
082     * @param batchStatus the batchStatus to set
083     */
084    public void setBatchStatus(WorkflowEntityStatusTransfer batchStatus) {
085        this.batchStatus = batchStatus;
086    }
087
088    /**
089     * Returns the batchAliases.
090     * @return the batchAliases
091     */
092    public ListWrapper<BatchAliasTransfer> getBatchAliases() {
093        return batchAliases;
094    }
095
096    /**
097     * Sets the batchAliases.
098     * @param batchAliases the batchAliases to set
099     */
100    public void setBatchAliases(ListWrapper<BatchAliasTransfer> batchAliases) {
101        this.batchAliases = batchAliases;
102    }
103
104    /**
105     * Returns the batchEntities.
106     * @return the batchEntities
107     */
108    public ListWrapper<BatchEntityTransfer> getBatchEntities() {
109        return batchEntities;
110    }
111
112    /**
113     * Sets the batchEntities.
114     * @param batchEntities the batchEntities to set
115     */
116    public void setBatchEntities(ListWrapper<BatchEntityTransfer> batchEntities) {
117        this.batchEntities = batchEntities;
118    }
119
120}