1 package org.kuali.ole.sys.batch;
2
3 /**
4 * A contract of methods which must be implemented by configuration elements which associate setting a substring
5 * of a parsed line as a property on a business object
6 */
7 public interface FlatFilePropertySpecification {
8 /**
9 * Sets the property on the business object
10 * @param value the substring of the parsed line to set
11 * @param businessObject the business object to set the parsed line on
12 * @param lineNumber the current line number
13 */
14 public void setProperty(String value, Object businessObject, int lineNumber);
15
16 /**
17 * @return the name of the property that should be set
18 */
19 public String getPropertyName();
20 }