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 java.util.Map;
019:
020: import org.kuali.module.gl.bo.OriginEntry;
021: import org.kuali.module.gl.bo.OriginEntryGroup;
022:
023: /**
024: * This class represents the status for origin entries through the different origin entry groups (i.e. input, valid, error, and expired)
025: */
026: public class ScrubberStatus {
027: private OriginEntryGroup inputGroup;
028: private OriginEntryGroup validGroup;
029: private OriginEntryGroup errorGroup;
030: private OriginEntryGroup expiredGroup;
031: private Map<OriginEntry, OriginEntry> unscrubbedToScrubbedEntries;
032:
033: /**
034: * Gets the errorGroup attribute.
035: *
036: * @return Returns the errorGroup.
037: */
038: public OriginEntryGroup getErrorGroup() {
039: return errorGroup;
040: }
041:
042: /**
043: * Sets the errorGroup attribute value.
044: *
045: * @param errorGroup The errorGroup to set.
046: */
047: public void setErrorGroup(OriginEntryGroup errorGroup) {
048: this .errorGroup = errorGroup;
049: }
050:
051: /**
052: * Gets the expiredGroup attribute.
053: *
054: * @return Returns the expiredGroup.
055: */
056: public OriginEntryGroup getExpiredGroup() {
057: return expiredGroup;
058: }
059:
060: /**
061: * Sets the expiredGroup attribute value.
062: *
063: * @param expiredGroup The expiredGroup to set.
064: */
065: public void setExpiredGroup(OriginEntryGroup expiredGroup) {
066: this .expiredGroup = expiredGroup;
067: }
068:
069: /**
070: * Gets the inputGroup attribute.
071: *
072: * @return Returns the inputGroup.
073: */
074: public OriginEntryGroup getInputGroup() {
075: return inputGroup;
076: }
077:
078: /**
079: * Sets the inputGroup attribute value.
080: *
081: * @param inputGroup The inputGroup to set.
082: */
083: public void setInputGroup(OriginEntryGroup inputGroup) {
084: this .inputGroup = inputGroup;
085: }
086:
087: /**
088: * Gets the validGroup attribute.
089: *
090: * @return Returns the validGroup.
091: */
092: public OriginEntryGroup getValidGroup() {
093: return validGroup;
094: }
095:
096: /**
097: * Sets the validGroup attribute value.
098: *
099: * @param validGroup The validGroup to set.
100: */
101: public void setValidGroup(OriginEntryGroup validGroup) {
102: this .validGroup = validGroup;
103: }
104:
105: /**
106: * Gets the unscrubbedToScrubbedEntry attribute.
107: *
108: * @return Returns the unscrubbedToScrubbedEntry.
109: */
110: public Map<OriginEntry, OriginEntry> getUnscrubbedToScrubbedEntries() {
111: return unscrubbedToScrubbedEntries;
112: }
113:
114: /**
115: * Sets the unscrubbedToScrubbedEntry attribute value.
116: *
117: * @param unscrubbedToScrubbedEntry The unscrubbedToScrubbedEntry to set.
118: */
119: public void setUnscrubbedToScrubbedEntries(
120: Map<OriginEntry, OriginEntry> unscrubbedToScrubbedEntry) {
121: this.unscrubbedToScrubbedEntries = unscrubbedToScrubbedEntry;
122: }
123: }
|