table = model.findLogicalTable( ltblId ); nvp = getKeyValuePairs( cube, "CWM:TaggedValue", "tag", "value" ); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ cubeObj.setLogicalTable( model.findLogicalTable( nvp.get( "CUBE_BUSINESS_TABLE" ) ) ); //$NON-NLS-1$
String biztbl = nvp.get( "BUSINESS_COLUMN_BUSINESS_TABLE" ); //$NON-NLS-1$ String pcol = nvp.get( "BUSINESS_COLUMN_PHYSICAL_COLUMN_NAME" ); //$NON-NLS-1$ LogicalTable parent = logicalModel.findLogicalTable( biztbl ); if ( parent != null ) { col.setLogicalTable( parent ); String fieldparent = nvp.get( "RELATIONSHIP_FIELDNAME_PARENT" ); //$NON-NLS-1$ relation.setFromTable( logicalModel.findLogicalTable( tableparent ) ); if ( fieldparent != null ) { relation.setFromColumn( logicalModel.findLogicalColumn( fieldparent ) ); relation.setToTable( logicalModel.findLogicalTable( tablechild ) ); if ( fieldchild != null ) { relation.setToColumn( logicalModel.findLogicalColumn( fieldchild ) );
logicalTable = model.findLogicalTable( tblcol[0] ); if ( logicalTable == null ) {
toTable = logicalModel.findLogicalTable( rel.getTableTo().getId() ); fromTable = logicalModel.findLogicalTable( rel.getTableFrom().getId() );