public class ReconciliationDaoOjb extends org.kuali.rice.core.framework.persistence.ojb.dao.PlatformAwareDaoBaseOjb implements ReconciliationDao
Constructor and Description |
---|
ReconciliationDaoOjb()
Constructs a ReconciliationDaoOjb.java.
|
Modifier and Type | Method and Description |
---|---|
List<String> |
convertDBColumnNamesToJavaName(Class<? extends OriginEntryFull> clazz,
String[] columnNames,
boolean caseInsensitive)
Converts a list of DB column names to a list of java attribute names.
|
protected String |
convertDBColumnNameToJavaName(org.apache.ojb.broker.metadata.ClassDescriptor classDescriptor,
String columnName,
boolean caseInsensitive)
Returns the java attribute name corresponding to the column name
|
protected <E extends OriginEntryFull> |
getClassDescriptor(Class<E> persistableClass)
Returns the OJB class descriptor
|
protected org.apache.ojb.broker.metadata.DescriptorRepository |
getDescriptorRepository()
Gets the descriptorRepository attribute.
|
void |
setDescriptorRepository(org.apache.ojb.broker.metadata.DescriptorRepository descriptorRepository)
Sets the descriptorRepository attribute value.
|
getDbPlatform, setDbPlatform
public ReconciliationDaoOjb()
public List<String> convertDBColumnNamesToJavaName(Class<? extends OriginEntryFull> clazz, String[] columnNames, boolean caseInsensitive)
convertDBColumnNamesToJavaName
in interface ReconciliationDao
clazz
- a class for the OriginEntryFull classcolumnNames
- an array of database columnscaseInsensitive
- whether to do matchingorg.kuali.ole.gl.batch.dataaccess.ReconciliationDao#convertDBColumnNamesToJavaName(java.lang.String[])
protected String convertDBColumnNameToJavaName(org.apache.ojb.broker.metadata.ClassDescriptor classDescriptor, String columnName, boolean caseInsensitive)
classDescriptor
- the origin entry classcolumnName
- the DB column namecaseInsensitive
- whether to do case insensitive matchingprotected <E extends OriginEntryFull> org.apache.ojb.broker.metadata.ClassDescriptor getClassDescriptor(Class<E> persistableClass)
E
- an origin entry classpersistableClass
- the classprotected org.apache.ojb.broker.metadata.DescriptorRepository getDescriptorRepository()
public void setDescriptorRepository(org.apache.ojb.broker.metadata.DescriptorRepository descriptorRepository)
descriptorRepository
- The descriptorRepository to set.Copyright © 2004–2014 The Kuali Foundation. All rights reserved.