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.model.control.security.common.transfer.SecurityRoleGroupTransfer;
020import com.echothree.model.control.selector.common.transfer.SelectorTypeTransfer;
021import com.echothree.util.common.transfer.BaseTransfer;
022
023public class WorkflowTransfer
024        extends BaseTransfer {
025    
026    private String workflowName;
027    private SelectorTypeTransfer selectorType;
028    private SecurityRoleGroupTransfer securityRoleGroup;
029    private Integer sortOrder;
030    private String description;
031    
032    /** Creates a new instance of WorkflowTransfer */
033    public WorkflowTransfer(String workflowName, SelectorTypeTransfer selectorType,
034            SecurityRoleGroupTransfer securityRoleGroup, Integer sortOrder, String description) {
035        this.workflowName = workflowName;
036        this.securityRoleGroup = securityRoleGroup;
037        this.sortOrder = sortOrder;
038        this.description = description;
039    }
040    
041    public String getWorkflowName() {
042        return workflowName;
043    }
044    
045    public void setWorkflowName(String workflowName) {
046        this.workflowName = workflowName;
047    }
048    
049    public SelectorTypeTransfer getSelectorType() {
050        return selectorType;
051    }
052    
053    public void setSelectorType(SelectorTypeTransfer selectorType) {
054        this.selectorType = selectorType;
055    }
056    
057    public SecurityRoleGroupTransfer getSecurityRoleGroup() {
058        return securityRoleGroup;
059    }
060    
061    public void setSecurityRoleGroup(SecurityRoleGroupTransfer securityRoleGroup) {
062        this.securityRoleGroup = securityRoleGroup;
063    }
064    
065    public Integer getSortOrder() {
066        return sortOrder;
067    }
068    
069    public void setSortOrder(Integer sortOrder) {
070        this.sortOrder = sortOrder;
071    }
072    
073    public String getDescription() {
074        return description;
075    }
076    
077    public void setDescription(String description) {
078        this.description = description;
079    }
080    
081}