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.accounting.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 class TransactionGroupTransfer 024 extends BaseTransfer { 025 026 private String transactionGroupName; 027 private WorkflowEntityStatusTransfer transactionGroupStatus; 028 029 private ListWrapper<TransactionTransfer> transactions; 030 031 /** Creates a new instance of TransactionGroupTransfer */ 032 public TransactionGroupTransfer(String transactionGroupName, 033 WorkflowEntityStatusTransfer transactionGroupStatus) { 034 this.transactionGroupName = transactionGroupName; 035 this.transactionGroupStatus = transactionGroupStatus; 036 } 037 038 public String getTransactionGroupName() { 039 return transactionGroupName; 040 } 041 042 public void setTransactionGroupName(String transactionGroupName) { 043 this.transactionGroupName = transactionGroupName; 044 } 045 046 public WorkflowEntityStatusTransfer getTransactionGroupStatus() { 047 return transactionGroupStatus; 048 } 049 050 public void setTransactionGroupStatus(WorkflowEntityStatusTransfer transactionGroupStatus) { 051 this.transactionGroupStatus = transactionGroupStatus; 052 } 053 054 public ListWrapper<TransactionTransfer> getTransactions() { 055 return transactions; 056 } 057 058 public void setTransactions(ListWrapper<TransactionTransfer> transactions) { 059 this.transactions = transactions; 060 } 061 062}