if ( !dataSetFound && ReportDesign.COMPONENT_SLOT != slot )
if ( !dataSetFound && IModuleModel.COMPONENT_SLOT != slot )
	private List doValidate( Module module, DesignElement toValidate )	{		List list = new ArrayList( );		DesignElement container = toValidate;		int slot = toValidate.getContainerSlot( );		boolean dataSetFound = false;		if ( toValidate instanceof ExtendedItem )		{			if ( ( (ExtendedItem) toValidate ).getDataSetElement( module ) != null )			{				dataSetFound = true;			}			else			{				while ( container.getContainer( ) != null )				{					slot = container.getContainerSlot( );					container = container.getContainer( );				}			}		}		else if ( toValidate instanceof ListingElement )		{			while ( container.getContainer( ) != null && !dataSetFound )			{				if ( container instanceof ListingElement )				{					if ( ( (ListingElement) container )							.getDataSetElement( module ) != null )					{						dataSetFound = true;						break;					}				}				slot = container.getContainerSlot( );				container = container.getContainer( );			}		}		else		{			// now the check is only employed to listing elements, extended			// items.			assert false;		}		// Since element in components slot is considered as incompletely		// defined, the data set is not required on table in components.		if ( !dataSetFound && ReportDesign.COMPONENT_SLOT != slot )		{			list.add( new SemanticError( toValidate,					SemanticError.DESIGN_EXCEPTION_MISSING_DATA_SET ) );		}		return list;	}