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 |
Constructor and Description |
---|
CIDataSet() |
Modifier and Type | Method and Description |
---|---|
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, isUnitOfMeasureAllowed, readMaxVar, setContext, setDataSetName, setTaskFilterClause
public 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()
DataSet
public java.lang.String getObjectNameDomainID()
DataSet
public java.lang.String getTaskFilterAttributesDomainID()
DataSet
public java.lang.String getTableJoinWhereClauseForComparison(java.lang.String tableName, java.util.Map uidKeys) throws MXException, java.rmi.RemoteException, java.sql.SQLException
CommonDataSet
getTableJoinWhereClauseForComparison
in interface DataSet
getTableJoinWhereClauseForComparison
in class CommonDataSet
tableName
- 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.MXException
java.rmi.RemoteException
java.sql.SQLException
DataSet.getTableJoinWhereClauseForComparison
public ResultTableAttributes getReconResultAttributeNamesForComparison(boolean isDataSet1)
DataSet
ResultTableAttributes
public ResultTableAttributes getReconLinkAttributeNamesForLink(boolean isDataSet1)
ResultTableAttributes
public ResultTableAttributes getReconResultAttributeNamesForLink(boolean isDataSet1)
ResultTableAttributes
public java.lang.String getTableColumnNameForTaskFilter(java.lang.String attributeName)
getTableColumnNameForTaskFilter
in interface DataSet
getTableColumnNameForTaskFilter
in class CommonDataSet
-
- String the column name.DataSet.getTableColumnNameForTaskFilter
public java.lang.String getTableJoinWhereClauseForTaskFilter(java.lang.String tableName)
getTableJoinWhereClauseForTaskFilter
in interface DataSet
getTableJoinWhereClauseForTaskFilter
in class CommonDataSet
the
- name of the table to get the joining table for.DataSet.getTableJoinWhereClauseForTaskFilter
public java.lang.String getTableNameForTaskFilter(java.lang.String attributeName)
getTableNameForTaskFilter
in interface DataSet
getTableNameForTaskFilter
in class CommonDataSet
attributeName
- - the String the column name.DataSet.getTableNameForTaskFilter
public java.lang.String getRootSpecMaxVar(java.lang.String objectname)
CommonDataSet
getRootSpecMaxVar
in class CommonDataSet
public java.lang.String[] getAttributesExcludeList(java.lang.String objectname)
DataSet
getObjectNameDomainID
public java.lang.String[][] getObjectSpecPairs()
DataSet
public java.lang.String[] getObjectNameDomainExcludeList(java.lang.String objectName)
objectName
- Name of object that uses the domain.getObjectNameDomainID
public java.lang.String getFixedTaskFilterWhereClause() throws MXException, java.rmi.RemoteException, java.sql.SQLException
CommonDataSet
getFixedTaskFilterWhereClause
in interface DataSet
getFixedTaskFilterWhereClause
in class CommonDataSet
MXException
java.rmi.RemoteException
java.sql.SQLException
DataSet.getFixedTaskFilterWhereClause