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.cancellationpolicy.common.transfer; 018 019import com.echothree.model.control.sequence.common.transfer.SequenceTypeTransfer; 020import com.echothree.util.common.transfer.BaseTransfer; 021 022public class CancellationKindTransfer 023 extends BaseTransfer { 024 025 private String cancellationKindName; 026 private SequenceTypeTransfer cancellationSequenceType; 027 private Boolean isDefault; 028 private Integer sortOrder; 029 private String description; 030 031 /** Creates a new instance of CancellationKindTransfer */ 032 public CancellationKindTransfer(String cancellationKindName, SequenceTypeTransfer cancellationSequenceType, Boolean isDefault, Integer sortOrder, String description) { 033 this.cancellationKindName = cancellationKindName; 034 this.cancellationSequenceType = cancellationSequenceType; 035 this.isDefault = isDefault; 036 this.sortOrder = sortOrder; 037 this.description = description; 038 } 039 040 public String getCancellationKindName() { 041 return cancellationKindName; 042 } 043 044 public void setCancellationKindName(String cancellationKindName) { 045 this.cancellationKindName = cancellationKindName; 046 } 047 048 public SequenceTypeTransfer getCancellationSequenceType() { 049 return cancellationSequenceType; 050 } 051 052 public void setCancellationSequenceType(SequenceTypeTransfer cancellationSequenceType) { 053 this.cancellationSequenceType = cancellationSequenceType; 054 } 055 056 public Boolean getIsDefault() { 057 return isDefault; 058 } 059 060 public void setIsDefault(Boolean isDefault) { 061 this.isDefault = isDefault; 062 } 063 064 public Integer getSortOrder() { 065 return sortOrder; 066 } 067 068 public void setSortOrder(Integer sortOrder) { 069 this.sortOrder = sortOrder; 070 } 071 072 public String getDescription() { 073 return description; 074 } 075 076 public void setDescription(String description) { 077 this.description = description; 078 } 079 080}