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.service.impl;
017
018 import java.util.Map;
019
020 import org.kuali.kfs.gl.businessobject.OriginEntryInformation;
021 import org.kuali.kfs.gl.businessobject.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 String inputFileName;
028 private String validFileName;
029 private String errorFileName;
030 private String expiredFileName;
031 private Map<OriginEntryInformation, OriginEntryInformation> unscrubbedToScrubbedEntries;
032
033 /**
034 * Gets the errorFileName attribute.
035 *
036 * @return Returns the errorFileName.
037 */
038 public String getErrorFileName() {
039 return errorFileName;
040 }
041
042 /**
043 * Sets the errorFileName attribute value.
044 *
045 * @param errorFileName The errorFileName to set.
046 */
047 public void setErrorFileName(String errorFileName) {
048 this.errorFileName = errorFileName;
049 }
050
051 /**
052 * Gets the expiredFileName attribute.
053 *
054 * @return Returns the expiredFileName.
055 */
056 public String getExpiredFileName() {
057 return expiredFileName;
058 }
059
060 /**
061 * Sets the expiredFileName attribute value.
062 *
063 * @param expiredFileName The expiredFileName to set.
064 */
065 public void setExpiredFileName(String expiredFileName) {
066 this.expiredFileName = expiredFileName;
067 }
068
069 /**
070 * Gets the inputFileName attribute.
071 *
072 * @return Returns the inputFileName.
073 */
074 public String getInputFileName() {
075 return inputFileName;
076 }
077
078 /**
079 * Sets the inputFileName attribute value.
080 *
081 * @param inputFileName The inputFileName to set.
082 */
083 public void setInputFileName(String inputFileName) {
084 this.inputFileName = inputFileName;
085 }
086
087 /**
088 * Gets the validFileName attribute.
089 *
090 * @return Returns the validFileName.
091 */
092 public String getValidFileName() {
093 return validFileName;
094 }
095
096 /**
097 * Sets the validFileName attribute value.
098 *
099 * @param validFileName The validFileName to set.
100 */
101 public void setValidFileName(String validFileName) {
102 this.validFileName = validFileName;
103 }
104
105 /**
106 * Gets the unscrubbedToScrubbedEntry attribute.
107 *
108 * @return Returns the unscrubbedToScrubbedEntry.
109 */
110 public Map<OriginEntryInformation, OriginEntryInformation> 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(Map<OriginEntryInformation, OriginEntryInformation> unscrubbedToScrubbedEntry) {
120 this.unscrubbedToScrubbedEntries = unscrubbedToScrubbedEntry;
121 }
122 }