@Test public void testGetDimArray() { assertArrayEquals(new String[]{"Col1", "Col2", "Col3"}, DbBean.getDimArray("Col1, Col2, Col3")); assertArrayEquals(new String[]{"Col1", "Col3"}, DbBean.getDimArray("Col1, , Col3")); }
@NonNull public String[] getDimArray() { return getDimArray(dimColumns); }
DbBean implements IDataSourceBean { @NonNull public String[] getDimArray() { return getDimArray(dimColumns); } }
DbBean implements IDataSourceBean { @NonNull public String[] getDimArray() { return getDimArray(dimColumns); } DbBean();  DbBean(@NonNull DataSource id); }
DbBean implements IDataSourceBean { @NonNull public String[] getDimArray() { return getDimArray(dimColumns); } DbBean();  DbBean(@NonNull DataSource id); String getDbName(); void setDbName(String dbName); String getTableName(); void setTableName(String tableName); String getDimColumns(); void setDimColumns(String dimColumns); String getPeriodColumn(); void setPeriodColumn(String periodColumn); String getValueColumn(); void setValueColumn(String valueColumn); DataFormat getDataFormat(); void setDataFormat(DataFormat dataFormat); String getVersionColumn(); void setVersionColumn(String versionColumn); TsFrequency getFrequency(); void setFrequency(TsFrequency frequency); TsAggregationType getAggregationType(); void setAggregationType(TsAggregationType aggregationType); @Override DataSource toDataSource(String providerName, String version); @NonNull String[] getDimArray(); @NonNull static String[] getDimArray(@NonNull DataSource dataSource); }
DbBean implements IDataSourceBean { @NonNull public String[] getDimArray() { return getDimArray(dimColumns); } DbBean();  DbBean(@NonNull DataSource id); String getDbName(); void setDbName(String dbName); String getTableName(); void setTableName(String tableName); String getDimColumns(); void setDimColumns(String dimColumns); String getPeriodColumn(); void setPeriodColumn(String periodColumn); String getValueColumn(); void setValueColumn(String valueColumn); DataFormat getDataFormat(); void setDataFormat(DataFormat dataFormat); String getVersionColumn(); void setVersionColumn(String versionColumn); TsFrequency getFrequency(); void setFrequency(TsFrequency frequency); TsAggregationType getAggregationType(); void setAggregationType(TsAggregationType aggregationType); @Override DataSource toDataSource(String providerName, String version); @NonNull String[] getDimArray(); @NonNull static String[] getDimArray(@NonNull DataSource dataSource); static final IParam<DataSource, String> X_DBNAME; static final IParam<DataSource, String> X_TABLENAME; static final IParam<DataSource, String> X_DIMCOLUMNS; static final IParam<DataSource, String> X_PERIODCOLUMN; static final IParam<DataSource, String> X_VALUECOLUMN; static final IParam<DataSource, DataFormat> X_DATAFORMAT; static final IParam<DataSource, String> X_VERSIONCOLUMN; static final IParam<DataSource, TsFrequency> X_FREQUENCY; static final IParam<DataSource, TsAggregationType> X_AGGREGATION_TYPE; }