public class CIDataSet extends CommonDataSet
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String[] |
CI_ATTRIBUTES_EXCLUDE |
static java.lang.String[] |
CI_DOMAIN_EXCLUDE |
static java.lang.String |
OBJECT_CI |
static java.lang.String |
OBJECT_CISPEC |
static java.lang.String |
ROOTMAXVAR |
context, datasetName, filterClause, objectSpecPairs, rootClassStructureId| Constructor and Description |
|---|
CIDataSet() |
| Modifier and Type | Method and Description |
|---|---|
protected java.lang.String |
buildClassStructureFilteringWhere(java.lang.String objectName)
Build the where clause for filtering the object to ensure that it's classtructureid, if there is one, is a
decendant of the root classtructureid as defined in a maxvar.
|
java.lang.String[] |
getAttributesExcludeList(java.lang.String objectname)
Not all attributes of an object may be available for linking, comparison filtering, or comparison.
|
java.lang.String |
getFixedTaskFilterWhereClause()
Returns the where clause for filtering the main object to ensure that it's classtructureid, if there is one,
is a decendant of the root classtructureid as defined in a maxvar.
|
java.lang.String |
getMainObjectName()
The data set class needs to implement this method to provide the name of its main object that will be
reconciled.
|
java.lang.String[] |
getObjectNameDomainExcludeList(java.lang.String objectName)
Returns a list of elements to exclude from the domain.
|
java.lang.String |
getObjectNameDomainID()
All objects, including class spec objects, that can be linked or compared with the data set must be defined
in a synonym domain.
|
java.lang.String[][] |
getObjectSpecPairs()
If the reconciliation can be performed on a class specification of an object, the recon engine will read in
the spec object data along with that of the master object.
|
ResultTableAttributes |
getReconLinkAttributeNamesForLink(boolean isDataSet1)
Returns the mapping between the actual columns in the reconlink table
and this data set's proxy names for them.
|
ResultTableAttributes |
getReconResultAttributeNamesForComparison(boolean isDataSet1)
The data set uses this method to map database table columns that are specific to the data set to the ones
in the RECONRESULT table for the successful or unsuccessful results of the comparison phase.
|
ResultTableAttributes |
getReconResultAttributeNamesForLink(boolean isDataSet1)
Returns the mapping between the actual columns in the reconresult table
and this data set's proxy names for them.
|
java.lang.String |
getRootSpecMaxVar(java.lang.String objectname)
In many cases the root classstructure id for class specs of a data set is defined in a maxvar.
|
java.lang.String |
getTableColumnNameForTaskFilter(java.lang.String attributeName)
Returns the column name based on an attribute name encountered in the
task filter being used with the data set.
|
java.lang.String |
getTableJoinWhereClauseForComparison(java.lang.String tableName,
java.util.Map uidKeys)
Throws IllegalArgumentException exception
|
java.lang.String |
getTableJoinWhereClauseForTaskFilter(java.lang.String tableName)
Returns the joining clause for task filter based on a table name.
|
java.lang.String |
getTableNameForTaskFilter(java.lang.String attributeName)
Returns the table name in which the passed in attribute name resides.
|
java.lang.String |
getTaskFilterAttributesDomainID()
The available attributes of task filters for any data set are defined by synonym domain.
|
getDataSetName, getExtraTableNamesForComparison, getMainObjectPrimaryKeys, getMainObjectUID, getMasterForSpec, getObjectUID, getReconLinker, getRecordCount, getRootClassstructureID, getSpecForMaster, getTaskFilterClause, getTheOtherDataSet, getUID, isUnitOfMeasureAllowed, readMaxVar, setContext, setDataSetName, setTaskFilterClausepublic static final java.lang.String ROOTMAXVAR
public static final java.lang.String OBJECT_CI
public static final java.lang.String OBJECT_CISPEC
public static final java.lang.String[] CI_ATTRIBUTES_EXCLUDE
public static final java.lang.String[] CI_DOMAIN_EXCLUDE
public java.lang.String getMainObjectName()
DataSetpublic java.lang.String getObjectNameDomainID()
DataSetpublic java.lang.String getTaskFilterAttributesDomainID()
DataSetpublic java.lang.String getTableJoinWhereClauseForComparison(java.lang.String tableName,
java.util.Map uidKeys)
throws MXException,
java.rmi.RemoteException,
java.sql.SQLException
CommonDataSetgetTableJoinWhereClauseForComparison in interface DataSetgetTableJoinWhereClauseForComparison in class CommonDataSettableName - The name of the table from which data is to be retrieved.uidKeys - The key values of the main table. this should at least include the unique IDs and
primary key values. This parameter maps attribute names to attribute values.MXExceptionjava.rmi.RemoteExceptionjava.sql.SQLExceptionDataSet.getTableJoinWhereClauseForComparisonpublic ResultTableAttributes getReconResultAttributeNamesForComparison(boolean isDataSet1)
DataSetResultTableAttributespublic ResultTableAttributes getReconLinkAttributeNamesForLink(boolean isDataSet1)
ResultTableAttributespublic ResultTableAttributes getReconResultAttributeNamesForLink(boolean isDataSet1)
ResultTableAttributespublic java.lang.String getTableColumnNameForTaskFilter(java.lang.String attributeName)
getTableColumnNameForTaskFilter in interface DataSetgetTableColumnNameForTaskFilter in class CommonDataSet- - String the column name.DataSet.getTableColumnNameForTaskFilterpublic java.lang.String getTableJoinWhereClauseForTaskFilter(java.lang.String tableName)
getTableJoinWhereClauseForTaskFilter in interface DataSetgetTableJoinWhereClauseForTaskFilter in class CommonDataSetthe - name of the table to get the joining table for.DataSet.getTableJoinWhereClauseForTaskFilterpublic java.lang.String getTableNameForTaskFilter(java.lang.String attributeName)
getTableNameForTaskFilter in interface DataSetgetTableNameForTaskFilter in class CommonDataSetattributeName - - the String the column name.DataSet.getTableNameForTaskFilterpublic java.lang.String getRootSpecMaxVar(java.lang.String objectname)
CommonDataSetgetRootSpecMaxVar in class CommonDataSetpublic java.lang.String[] getAttributesExcludeList(java.lang.String objectname)
DataSetgetObjectNameDomainIDpublic java.lang.String[][] getObjectSpecPairs()
DataSetpublic java.lang.String[] getObjectNameDomainExcludeList(java.lang.String objectName)
objectName - Name of object that uses the domain.getObjectNameDomainIDpublic java.lang.String getFixedTaskFilterWhereClause()
throws MXException,
java.rmi.RemoteException,
java.sql.SQLException
CommonDataSetgetFixedTaskFilterWhereClause in interface DataSetgetFixedTaskFilterWhereClause in class CommonDataSetMXExceptionjava.rmi.RemoteExceptionjava.sql.SQLExceptionDataSet.getFixedTaskFilterWhereClauseprotected java.lang.String buildClassStructureFilteringWhere(java.lang.String objectName)
throws MXException,
java.rmi.RemoteException,
java.sql.SQLException
CommonDataSetbuildClassStructureFilteringWhere in class CommonDataSetMXExceptionjava.rmi.RemoteExceptionjava.sql.SQLException