01: /*
02: * Copyright 2006-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.gl.util;
17:
18: import org.kuali.module.gl.bo.OriginEntryFull;
19:
20: /**
21: * This class represents a pair of origin entries to carry forward encumbrance.
22: */
23: public class OriginEntryOffsetPair {
24: private OriginEntryFull entry;
25: private OriginEntryFull offset;
26: private boolean fatalErrorFlag;
27:
28: /**
29: * @return Returns the fatalErrorFlag.
30: */
31: public boolean isFatalErrorFlag() {
32: return fatalErrorFlag;
33: }
34:
35: /**
36: * @param fatalErrorFlag The fatalErrorFlag to set.
37: */
38: public void setFatalErrorFlag(boolean fatalErrorFlag) {
39: this .fatalErrorFlag = fatalErrorFlag;
40: }
41:
42: /**
43: * @return Returns the entry.
44: */
45: public OriginEntryFull getEntry() {
46: return entry;
47: }
48:
49: /**
50: * @param entry The entry to set.
51: */
52: public void setEntry(OriginEntryFull entry) {
53: this .entry = entry;
54: }
55:
56: /**
57: * @return Returns the offset.
58: */
59: public OriginEntryFull getOffset() {
60: return offset;
61: }
62:
63: /**
64: * @param offset The offset to set.
65: */
66: public void setOffset(OriginEntryFull offset) {
67: this.offset = offset;
68: }
69:
70: }
|