Bug 320462 Refactor script data set related pages' codes[29044]
Build Identifier: 20100719 Refactor script functions related codes. Reproducible: Always
UI/org.eclipse.birt.report.designer.ui.data/src/org/eclipse/birt/report/designer/data/ui/dataset/OutputColumnDefnPage.java
public void setColumnName( String columnName )
		{
			if ( this.rsColumnHandle != null && this.columnHintHandle != null )
			{
				try
				{
					rsColumnHandle.setColumnName( columnName );
					columnHintHandle.setColumnName( columnName );
				}
				catch ( SemanticException e )
				{
				}
			}
			else if ( this.rsColumn != null && this.columnHint != null )
			{
				rsColumn.setColumnName( columnName );
				columnHint.setProperty( ColumnHint.COLUMN_NAME_MEMBER,
						columnName );
			}
		}
		
		/**
		 * Gets the analysis type
		 * 
		 * @return
		 */
		public String getAnalysisType( )
		{
			if ( this.columnHintHandle != null )
				return columnHintHandle.getAnalysis( );