org.kuali.kfs.module.ld.batch.service.impl
Class ReconciliationServiceImpl.JavaAttributeAugmentedColumnReconciliation

java.lang.Object
  extended by org.kuali.kfs.module.ld.batch.service.impl.ReconciliationServiceImpl.JavaAttributeAugmentedColumnReconciliation
Enclosing class:
ReconciliationServiceImpl

protected class ReconciliationServiceImpl.JavaAttributeAugmentedColumnReconciliation
extends Object

A wrapper around ColumnReconciliation objects to provide it with information specific to the java beans representing each BO.

In the default implementation of ReconciliationParserService, each ColumnReconciliation object may actually represent the sum of multiple fields across all origin entries (i.e. ColumnReconciliation.getTokenizedFieldNames().length may be > 1).

Furthermore, the parser service returns database field names as the identifier. This service requires the use of java bean names, so this class is used to maintain a mapping between the DB names (in columnReconciliation.getTokenizedFieldNames()) and the java bean names (in javaAttributeNames). These lists/arrays are the same size, and each element at the same position in both lists are mapped to each other.


Field Summary
protected  ColumnReconciliation columnReconciliation
           
protected  List<String> javaAttributeNames
           
 
Constructor Summary
protected ReconciliationServiceImpl.JavaAttributeAugmentedColumnReconciliation()
           
 
Method Summary
protected  ColumnReconciliation getColumnReconciliation()
          Gets the columnReconciliation attribute.
protected  String getJavaAttributeName(int index)
           
protected  void setColumnReconciliation(ColumnReconciliation columnReconciliation)
          Sets the columnReconciliation attribute value.
protected  void setJavaAttributeNames(List<String> javaAttributeNames)
          Sets the javaAttributeNames attribute value.
protected  int size()
          Returns the number of attributes this object is holing
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

columnReconciliation

protected ColumnReconciliation columnReconciliation

javaAttributeNames

protected List<String> javaAttributeNames
Constructor Detail

ReconciliationServiceImpl.JavaAttributeAugmentedColumnReconciliation

protected ReconciliationServiceImpl.JavaAttributeAugmentedColumnReconciliation()
Method Detail

getColumnReconciliation

protected ColumnReconciliation getColumnReconciliation()
Gets the columnReconciliation attribute.

Returns:
Returns the columnReconciliation.

setColumnReconciliation

protected void setColumnReconciliation(ColumnReconciliation columnReconciliation)
Sets the columnReconciliation attribute value.

Parameters:
columnReconciliation - The columnReconciliation to set.

setJavaAttributeNames

protected void setJavaAttributeNames(List<String> javaAttributeNames)
Sets the javaAttributeNames attribute value.

Parameters:
javaAttributeNames - The javaAttributeNames to set.

getJavaAttributeName

protected String getJavaAttributeName(int index)

size

protected int size()
Returns the number of attributes this object is holing

Returns:
the count of attributes this holding


Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.