Bug 322347 Refactor data set editor pages' codes[29949]
Build Identifier: 20100810 Refactor data set editor pages' codes. Reproducible: Always
UI/org.eclipse.birt.report.designer.ui.data/src/org/eclipse/birt/report/designer/data/ui/dataset/OutputColumnDefnPage.java
alias = resolveNull( this.columnDefn.getAlias( ) );
				displayName = resolveNull( this.columnDefn.getDisplayName( ) );
				displayNameKey = resolveNull( this.columnDefn.getDisplayNameKey( ) );
				this.dataType = getTypeIndex( this.columnDefn.getDataType( ) );
			}
			else
			{
				columnName = EMPTY_STRING;
				alias = EMPTY_STRING;
				displayName = EMPTY_STRING;
				displayNameKey = EMPTY_STRING;
				this.dataType = defaultDataTypeIndex;
			}
		}
		protected void rollback( )
		{
			
		}
		protected IStatus validateSyntax( Object structureOrHandle )
		{
			if ( columnName == null || columnName.trim( ).length( ) == 0 )
			{
				return getMiscStatus( IStatus.ERROR,
						Messages.getString( "ResultSetColumnPage.inputDialog.warning.emptyColumnName" ) ); 
			}
			else if ( columnName.equals( alias ) )
			{
				return getMiscStatus( IStatus.ERROR,
						Messages.getString( "ResultSetColumnPage.inputDialog.error.sameValue.columnNameAndAlias" ) ); 
			}