setName( bindingColumn.getName( ) ); setTypeSelect( DATA_TYPE_CHOICE_SET.findChoice( bindingColumn.getDataType( ) ) .getDisplayName( ) ); setExpression( bindingColumn.getExpression( ) ); setAggregateOnSelect( bindingColumn.getAggregateOn( ) );
if ( bindingColumn != null ) { setName( bindingColumn.getName( ) ); setTypeSelect( DATA_TYPE_CHOICE_SET.findChoice( bindingColumn.getDataType( ) ) .getDisplayName( ) ); setExpression( bindingColumn.getExpression( ) ); setAggregateOnSelect( bindingColumn.getAggregateOn( ) ); } else { createColumnName( input,  ( (DataItemHandle) input ).getResultSetColumn( ) ); setTypeSelect( dataTypes[0] ); }
	public void setInput( ReportItemHandle input )	{		this.input = input;		setAggregateOns( DEUtil.getGroups( input ) );		setDataTypes( ChoiceSetFactory.getDisplayNamefromChoiceSet( DATA_TYPE_CHOICE_SET ) );		try		{			if ( !isCreateNew )			{				bindingColumn = getInputBinding( input, ( (DataItemHandle) input ).getResultSetColumn( ) );			}			if ( isCreateNew )			{				createColumnName( input, DEFAULT_ITEM_NAME );				setTypeSelect( dataTypes[0] );			}			else			{				setName( bindingColumn.getName( ) );				setTypeSelect( DATA_TYPE_CHOICE_SET.findChoice( bindingColumn.getDataType( ) )						.getDisplayName( ) );				setExpression( bindingColumn.getExpression( ) );				setAggregateOnSelect( bindingColumn.getAggregateOn( ) );			}		}		catch ( Exception e )		{			ExceptionHandler.handle( e );		}	}