01: /*
02: * Copyright 2007 The Kuali Foundation.
03: *
04: * Licensed under the Educational Community License, Version 1.0 (the "License");
05: * you may not use this file except in compliance with the License.
06: * You may obtain a copy of the License at
07: *
08: * http://www.opensource.org/licenses/ecl1.php
09: *
10: * Unless required by applicable law or agreed to in writing, software
11: * distributed under the License is distributed on an "AS IS" BASIS,
12: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13: * See the License for the specific language governing permissions and
14: * limitations under the License.
15: */
16: package org.kuali.module.purap.util;
17:
18: import java.util.List;
19:
20: import org.kuali.core.util.TypedArrayList;
21: import org.kuali.kfs.bo.SourceAccountingLine;
22: import org.kuali.module.purap.bo.PurApSummaryItem;
23:
24: /**
25: *
26: * Summary Account.
27: * This is a special class used to display summary information i.e. what items are associated
28: * with this account.
29: */
30: public class SummaryAccount {
31:
32: private SourceAccountingLine account;
33: private List<PurApSummaryItem> items;
34:
35: /**
36: *
37: * Constructs a Summary Account
38: */
39: public SummaryAccount() {
40: super ();
41: items = new TypedArrayList(PurApSummaryItem.class);
42: }
43:
44: public SourceAccountingLine getAccount() {
45: return account;
46: }
47:
48: public void setAccount(SourceAccountingLine account) {
49: this .account = account;
50: }
51:
52: public List<PurApSummaryItem> getItems() {
53: return items;
54: }
55:
56: public void setItems(List<PurApSummaryItem> items) {
57: this.items = items;
58: }
59:
60: }
|