001 /* 002 * Copyright 2011 The Kuali Foundation. 003 * 004 * Licensed under the Educational Community 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.opensource.org/licenses/ecl2.php 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 package org.kuali.kfs.gl.batch.service.impl; 017 018 import org.kuali.kfs.gl.businessobject.OriginEntryFull; 019 020 /** 021 * This class represents a pair of origin entries to carry forward encumbrance. 022 */ 023 public class OriginEntryOffsetPair { 024 private OriginEntryFull entry; 025 private OriginEntryFull offset; 026 private boolean fatalErrorFlag; 027 028 /** 029 * @return Returns the fatalErrorFlag. 030 */ 031 public boolean isFatalErrorFlag() { 032 return fatalErrorFlag; 033 } 034 035 /** 036 * @param fatalErrorFlag The fatalErrorFlag to set. 037 */ 038 public void setFatalErrorFlag(boolean fatalErrorFlag) { 039 this.fatalErrorFlag = fatalErrorFlag; 040 } 041 042 /** 043 * @return Returns the entry. 044 */ 045 public OriginEntryFull getEntry() { 046 return entry; 047 } 048 049 /** 050 * @param entry The entry to set. 051 */ 052 public void setEntry(OriginEntryFull entry) { 053 this.entry = entry; 054 } 055 056 /** 057 * @return Returns the offset. 058 */ 059 public OriginEntryFull getOffset() { 060 return offset; 061 } 062 063 /** 064 * @param offset The offset to set. 065 */ 066 public void setOffset(OriginEntryFull offset) { 067 this.offset = offset; 068 } 069 070 071 }