pcmd.setProperty( ReportItem.REF_TEMPLATE_PARAMETER_PROP,
pcmd.setProperty( IDesignElementModel.REF_TEMPLATE_PARAMETER_PROP,
	public void transformToReportItem( TemplateReportItem templateItem,			ReportItem reportItem, int slotID ) throws SemanticException	{		// if the template report item has no template definition, it can not be		// transformed to a report item		TemplateParameterDefinition templateparam = templateItem				.getTemplateParameterElement( module );		if ( templateparam == null )			throw new TemplateException(					templateItem,					TemplateException.DESIGN_EXCEPTION_TRANSFORM_TO_REPORT_ITEM_FORBIDDEN );		module.rename( reportItem );		ActivityStack stack = getActivityStack( );		stack.startTrans( );		try		{			PropertyCommand pcmd = new PropertyCommand( module, reportItem );			pcmd.setProperty( ReportItem.REF_TEMPLATE_PARAMETER_PROP,					templateparam.getName( ) );			ContentCommand cmd = new ContentCommand( module, element );			cmd.transformTemplate( templateItem, reportItem, slotID, false );		}		catch ( SemanticException e )		{			stack.rollback( );			throw e;		}		stack.commit( );	}