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.module.bc.businessobject;
017
018 import java.util.LinkedHashMap;
019
020 import org.kuali.rice.kns.bo.TransientBusinessObjectBase;
021
022 public class BudgetConstructionRequestImport extends TransientBusinessObjectBase {
023 private String fileName;
024 private String fileType;
025 private String fieldDelimiter;
026 private String textFieldDelimiter;
027 private String otherFieldDelimiter;
028 private String otherTextFieldDelimiter;
029
030 /**
031 * Gets the field delimiter
032 *
033 * @return
034 */
035 public String getFieldDelimiter() {
036 return fieldDelimiter;
037 }
038
039 /**
040 * Sets the field delimiter
041 *
042 * @param fieldDelimiter
043 */
044 public void setFieldDelimiter(String fieldDelimiter) {
045 this.fieldDelimiter = fieldDelimiter;
046 }
047
048 /**
049 * Gets the file name to import
050 *
051 * @return
052 */
053 public String getFileName() {
054 return fileName;
055 }
056
057 /**
058 * Sets the file name to import
059 * This method...
060 * @param fileName
061 */
062 public void setFileName(String fileName) {
063 this.fileName = fileName;
064 }
065
066 /**
067 * Gets the file type
068 *
069 * @return
070 */
071 public String getFileType() {
072 return fileType;
073 }
074
075 /**
076 * Sets the file type
077 *
078 * @param fileType
079 */
080 public void setFileType(String fileType) {
081 this.fileType = fileType;
082 }
083
084 /**
085 * Gets the text field delimiter
086 *
087 * @return
088 */
089 public String getTextFieldDelimiter() {
090 return textFieldDelimiter;
091 }
092
093 /**
094 * Sets the text field delimiter
095 *
096 * @param textFieldDelimiter
097 */
098 public void setTextFieldDelimiter(String textFieldDelimiter) {
099 this.textFieldDelimiter = textFieldDelimiter;
100 }
101
102 /**
103 * Gets Field delimiter
104 *
105 * @return
106 */
107 public String getOtherFieldDelimiter() {
108 return otherFieldDelimiter;
109 }
110
111 /**
112 * Sets field delimiter
113 *
114 * @param otherFieldDelimiter
115 */
116 public void setOtherFieldDelimiter(String otherFieldDelimiter) {
117 this.otherFieldDelimiter = otherFieldDelimiter;
118 }
119
120 /**
121 * gets text field delimiter
122 *
123 * @return
124 */
125 public String getOtherTextFieldDelimiter() {
126 return otherTextFieldDelimiter;
127 }
128
129 /**
130 * Sets text field delimiter
131 * This method...
132 * @param otherTextFieldDelimiter
133 */
134 public void setOtherTextFieldDelimiter(String otherTextFieldDelimiter) {
135 this.otherTextFieldDelimiter = otherTextFieldDelimiter;
136 }
137
138 @Override
139 protected LinkedHashMap toStringMapper() {
140 LinkedHashMap m = new LinkedHashMap();
141
142 m.put("fileName", fileName);
143 m.put("fileType", fileType);
144 m.put("fieldDelimiter", fieldDelimiter);
145 m.put("textFieldDelimiter", textFieldDelimiter);
146
147 return m;
148 }
149
150 }