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.workflow.common.transfer;
018
019import com.echothree.util.common.transfer.BaseTransfer;
020
021public class WorkflowStepTransfer
022        extends BaseTransfer {
023    
024    private WorkflowTransfer workflow;
025    private String workflowStepName;
026    private WorkflowStepTypeTransfer workflowStepType;
027    private Boolean isDefault;
028    private Integer sortOrder;
029    private Boolean hasDestinations;
030    private String description;
031    
032    /** Creates a new instance of WorkflowStepTransfer */
033    public WorkflowStepTransfer(WorkflowTransfer workflow, String workflowStepName, WorkflowStepTypeTransfer workflowStepType,
034            Boolean isDefault, Integer sortOrder, Boolean hasDestinations, String description) {
035        this.workflow = workflow;
036        this.workflowStepName = workflowStepName;
037        this.workflowStepType = workflowStepType;
038        this.isDefault = isDefault;
039        this.sortOrder = sortOrder;
040        this.hasDestinations = hasDestinations;
041        this.description = description;
042    }
043    
044    public WorkflowTransfer getWorkflow() {
045        return workflow;
046    }
047    
048    public void setWorkflow(WorkflowTransfer workflow) {
049        this.workflow = workflow;
050    }
051    
052    public String getWorkflowStepName() {
053        return workflowStepName;
054    }
055    
056    public void setWorkflowStepName(String workflowStepName) {
057        this.workflowStepName = workflowStepName;
058    }
059    
060    public WorkflowStepTypeTransfer getWorkflowStepType() {
061        return workflowStepType;
062    }
063    
064    public void setWorkflowStepType(WorkflowStepTypeTransfer workflowStepType) {
065        this.workflowStepType = workflowStepType;
066    }
067    
068    public Boolean getIsDefault() {
069        return isDefault;
070    }
071    
072    public void setIsDefault(Boolean isDefault) {
073        this.isDefault = isDefault;
074    }
075    
076    public Integer getSortOrder() {
077        return sortOrder;
078    }
079    
080    public void setSortOrder(Integer sortOrder) {
081        this.sortOrder = sortOrder;
082    }
083    
084    public Boolean getHasDestinations() {
085        return hasDestinations;
086    }
087    
088    public void setHasDestinations(Boolean hasDestinations) {
089        this.hasDestinations = hasDestinations;
090    }
091    
092    public String getDescription() {
093        return description;
094    }
095    
096    public void setDescription(String description) {
097        this.description = description;
098    }
099    
100}