return getDataSetColumns( null );
DataSetHandle dataSet = getDataSet( handle ); if ( dataSet == null ) { return new String[0]; } CachedMetaDataHandle metaHandle = dataSet.getCachedMetaDataHandle( ); if ( metaHandle == null ) { try { metaHandle = DataSetUIUtil.getCachedMetaDataHandle( dataSet ); } catch ( SemanticException e ) { ExceptionHandler.handle( e ); return new String[0]; } } if ( metaHandle == null || metaHandle.getResultSet( ) == null ) { return new String[0]; } ArrayList valueList = new ArrayList( ); for ( Iterator iter = metaHandle.getResultSet( ).iterator( ); iter.hasNext( ); ) { ResultSetColumnHandle columnHandle = (ResultSetColumnHandle) iter.next( ); if ( !needFilter || matchDataType( handle, columnHandle ) ) { valueList.add( columnHandle.getColumnName( ) ); } } return (String[]) valueList.toArray( new String[0] );
	private String[] getDataSetColumns( )	{		return getDataSetColumns( null );	}