public void addDimension ( DimensionTable table , boolean mandatory ) { sqlTables . put ( table . getTableName ( ) , table ) ; dimensions . put ( table . getDimensionName ( ) . toUpperCase ( ) , table ) ; if ( mandatory ) { mandatoryDimensionNames . add ( table . getDimensionName ( ) . toUpperCase ( Locale . ENGLISH ) ) ; } }
Add a dimension as mandatory . Mandatory dimension names are stored in upper case .