View Javadoc
1   /*
2    * Copyright 2011 The Kuali Foundation.
3    * 
4    * Licensed under the Educational Community License, Version 1.0 (the "License");
5    * you may not use this file except in compliance with the License.
6    * You may obtain a copy of the License at
7    * 
8    * http://www.opensource.org/licenses/ecl1.php
9    * 
10   * Unless required by applicable law or agreed to in writing, software
11   * distributed under the License is distributed on an "AS IS" BASIS,
12   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13   * See the License for the specific language governing permissions and
14   * limitations under the License.
15   */
16  package org.kuali.ole.sys.batch;
17  
18  import java.util.List;
19  
20  /**
21   * Abstract class representing a FlatFilePrefixObjectSpecification - something that helps parse a line into an
22   * object.
23   */
24  public abstract class AbstractFlatFileObjectSpecification implements FlatFileObjectSpecification {
25  
26      protected Class<?> businessObjectClass;
27      protected List <FlatFilePropertySpecification> parseProperties;
28      protected Class<?> parentBusinessObjectClass;
29      protected String parentTargetProperty;
30  
31      public AbstractFlatFileObjectSpecification() {
32          super();
33      }
34  
35      public Class<?> getBusinessObjectClass() {
36          return businessObjectClass;
37      }
38  
39      public void setBusinessObjectClass(Class<?> businessObjectClass) {
40          this.businessObjectClass = businessObjectClass;
41      }
42  
43      public List<FlatFilePropertySpecification> getParseProperties() {
44          return parseProperties;
45      }
46  
47      public void setParseProperties(List<FlatFilePropertySpecification> parseProperties) {
48          this.parseProperties = parseProperties;
49      }
50  
51      public Class<?> getParentBusinessObjectClass() {
52      	return parentBusinessObjectClass;
53      }
54  
55      public void setParentBusinessObjectClass(Class<?> parentBusinessObjectClass) {
56      	this.parentBusinessObjectClass = parentBusinessObjectClass;
57      }
58  
59      public String getParentTargetProperty() {
60      	return parentTargetProperty;
61      }
62  
63      public void setParentTargetProperty(String parentProperty) {
64      	this.parentTargetProperty = parentProperty;
65      }
66  
67  }