001: /*
002: * Copyright 2007 The Kuali Foundation.
003: *
004: * Licensed under the Educational Community License, Version 1.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/ecl1.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.module.gl.util;
017:
018: import org.kuali.module.gl.bo.OriginEntryGroup;
019: import org.kuali.module.gl.service.OriginEntryGroupService;
020: import org.kuali.module.gl.service.OriginEntryService;
021:
022: /**
023: * This class represents the status for origin entries through the different origin entry groups (i.e. input, valid, error, and expired)
024: */
025: public class CollectorScrubberStatus {
026: private OriginEntryGroup inputGroup;
027: private OriginEntryGroup validGroup;
028: private OriginEntryGroup errorGroup;
029: private OriginEntryGroup expiredGroup;
030:
031: private OriginEntryGroupService originEntryGroupService;
032: private OriginEntryService originEntryService;
033:
034: /**
035: * Gets the errorGroup attribute.
036: *
037: * @return Returns the errorGroup.
038: */
039: public OriginEntryGroup getErrorGroup() {
040: return errorGroup;
041: }
042:
043: /**
044: * Sets the errorGroup attribute value.
045: *
046: * @param errorGroup The errorGroup to set.
047: */
048: public void setErrorGroup(OriginEntryGroup errorGroup) {
049: this .errorGroup = errorGroup;
050: }
051:
052: /**
053: * Gets the expiredGroup attribute.
054: *
055: * @return Returns the expiredGroup.
056: */
057: public OriginEntryGroup getExpiredGroup() {
058: return expiredGroup;
059: }
060:
061: /**
062: * Sets the expiredGroup attribute value.
063: *
064: * @param expiredGroup The expiredGroup to set.
065: */
066: public void setExpiredGroup(OriginEntryGroup expiredGroup) {
067: this .expiredGroup = expiredGroup;
068: }
069:
070: /**
071: * Gets the inputGroup attribute.
072: *
073: * @return Returns the inputGroup.
074: */
075: public OriginEntryGroup getInputGroup() {
076: return inputGroup;
077: }
078:
079: /**
080: * Sets the inputGroup attribute value.
081: *
082: * @param inputGroup The inputGroup to set.
083: */
084: public void setInputGroup(OriginEntryGroup inputGroup) {
085: this .inputGroup = inputGroup;
086: }
087:
088: /**
089: * Gets the originEntryGroupService attribute.
090: *
091: * @return Returns the originEntryGroupService.
092: */
093: public OriginEntryGroupService getOriginEntryGroupService() {
094: return originEntryGroupService;
095: }
096:
097: /**
098: * Sets the originEntryGroupService attribute value.
099: *
100: * @param originEntryGroupService The originEntryGroupService to set.
101: */
102: public void setOriginEntryGroupService(
103: OriginEntryGroupService originEntryGroupService) {
104: this .originEntryGroupService = originEntryGroupService;
105: }
106:
107: /**
108: * Gets the originEntryService attribute.
109: *
110: * @return Returns the originEntryService.
111: */
112: public OriginEntryService getOriginEntryService() {
113: return originEntryService;
114: }
115:
116: /**
117: * Sets the originEntryService attribute value.
118: *
119: * @param originEntryService The originEntryService to set.
120: */
121: public void setOriginEntryService(
122: OriginEntryService originEntryService) {
123: this .originEntryService = originEntryService;
124: }
125:
126: /**
127: * Gets the validGroup attribute.
128: *
129: * @return Returns the validGroup.
130: */
131: public OriginEntryGroup getValidGroup() {
132: return validGroup;
133: }
134:
135: /**
136: * Sets the validGroup attribute value.
137: *
138: * @param validGroup The validGroup to set.
139: */
140: public void setValidGroup(OriginEntryGroup validGroup) {
141: this.validGroup = validGroup;
142: }
143: }
|