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.kfs.batch;
017:
018: import org.kuali.kfs.KFSConstants;
019:
020: /**
021: * Base class for BatchInputFileType implementations.
022: */
023: public abstract class BatchInputFileTypeBase implements
024: BatchInputFileType {
025: private static org.apache.log4j.Logger LOG = org.apache.log4j.Logger
026: .getLogger(BatchInputFileTypeBase.class);
027:
028: private String directoryPath;
029: private String fileExtension;
030: private String digestorRulesFileName;
031: private String schemaLocation;
032:
033: /**
034: * Constructs a BatchInputFileTypeBase.java.
035: */
036: public BatchInputFileTypeBase() {
037: super ();
038: }
039:
040: /**
041: * Gets the digestorRulesFileName attribute.
042: */
043: public String getDigestorRulesFileName() {
044: return digestorRulesFileName;
045: }
046:
047: /**
048: * Sets the digestorRulesFileName attribute value.
049: */
050: public void setDigestorRulesFileName(String digestorRulesFileName) {
051: this .digestorRulesFileName = digestorRulesFileName;
052: }
053:
054: /**
055: * Gets the directoryPath attribute.
056: */
057: public String getDirectoryPath() {
058: return directoryPath;
059: }
060:
061: /**
062: * Sets the directoryPath attribute value.
063: */
064: public void setDirectoryPath(String directoryPath) {
065: this .directoryPath = directoryPath;
066: }
067:
068: /**
069: * Gets the fileExtension attribute.
070: */
071: public String getFileExtension() {
072: return fileExtension;
073: }
074:
075: /**
076: * Sets the fileExtension attribute value.
077: */
078: public void setFileExtension(String fileExtension) {
079: this .fileExtension = fileExtension;
080: }
081:
082: /**
083: * Gets the schemaLocation attribute.
084: */
085: public String getSchemaLocation() {
086: return schemaLocation;
087: }
088:
089: /**
090: * Sets the schemaLocation attribute value.
091: */
092: public void setSchemaLocation(String schemaLocation) {
093: this .schemaLocation = schemaLocation;
094: }
095:
096: public String getWorkgroupParameterName() {
097: return KFSConstants.SystemGroupParameterNames.FILE_TYPE_WORKGROUP_PARAMETER_NAME;
098: }
099:
100: }
|