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.chain.common.transfer; 018 019import com.echothree.model.control.sequence.common.transfer.SequenceTransfer; 020import com.echothree.util.common.transfer.BaseTransfer; 021 022public class ChainTransfer 023 extends BaseTransfer { 024 025 private ChainTypeTransfer chainType; 026 private String chainName; 027 private SequenceTransfer chainInstanceSequence; 028 private Boolean isDefault; 029 private Integer sortOrder; 030 private String description; 031 032 /** Creates a new instance of ChainTransfer */ 033 public ChainTransfer(ChainTypeTransfer chainType, String chainName, SequenceTransfer chainInstanceSequence, Boolean isDefault, 034 Integer sortOrder, String description) { 035 this.chainType = chainType; 036 this.chainName = chainName; 037 this.chainInstanceSequence = chainInstanceSequence; 038 this.isDefault = isDefault; 039 this.sortOrder = sortOrder; 040 this.description = description; 041 } 042 043 public ChainTypeTransfer getChainType() { 044 return chainType; 045 } 046 047 public void setChainType(ChainTypeTransfer chainType) { 048 this.chainType = chainType; 049 } 050 051 public String getChainName() { 052 return chainName; 053 } 054 055 public void setChainName(String chainName) { 056 this.chainName = chainName; 057 } 058 059 public SequenceTransfer getChainInstanceSequence() { 060 return chainInstanceSequence; 061 } 062 063 public void setChainInstanceSequence(SequenceTransfer chainInstanceSequence) { 064 this.chainInstanceSequence = chainInstanceSequence; 065 } 066 067 public Boolean getIsDefault() { 068 return isDefault; 069 } 070 071 public void setIsDefault(Boolean isDefault) { 072 this.isDefault = isDefault; 073 } 074 075 public Integer getSortOrder() { 076 return sortOrder; 077 } 078 079 public void setSortOrder(Integer sortOrder) { 080 this.sortOrder = sortOrder; 081 } 082 083 public String getDescription() { 084 return description; 085 } 086 087 public void setDescription(String description) { 088 this.description = description; 089 } 090 091}