if ( obj.hasReferences( ) ) { writer .startElement( DesignSchemaConstants.TEMPLATE_PARAMETER_DEFINITION_TAG ); attribute( obj, DesignSchemaConstants.NAME_ATTRIB, DesignElement.NAME_PROP ); writer.attribute( DesignSchemaConstants.ID_ATTRIB, new Long( obj .getID( ) ).toString( ) );
writer .startElement( DesignSchemaConstants.TEMPLATE_PARAMETER_DEFINITION_TAG ); attribute( obj, DesignSchemaConstants.NAME_ATTRIB, DesignElement.NAME_PROP ); writer.attribute( DesignSchemaConstants.ID_ATTRIB, new Long( obj .getID( ) ).toString( ) );
	public void visitTemplateParameterDefinition(			TemplateParameterDefinition obj )	{		if ( obj.hasReferences( ) )		{			writer					.startElement( DesignSchemaConstants.TEMPLATE_PARAMETER_DEFINITION_TAG );			attribute( obj, DesignSchemaConstants.NAME_ATTRIB,					DesignElement.NAME_PROP );			writer.attribute( DesignSchemaConstants.ID_ATTRIB, new Long( obj					.getID( ) ).toString( ) );			property( obj, TemplateParameterDefinition.ALLOWED_TYPE_PROP );			resourceKey( obj, TemplateParameterDefinition.DESCRIPTION_ID_PROP,					TemplateParameterDefinition.DESCRIPTION_PROP );			writeContents( obj, TemplateParameterDefinition.DEFAULT_SLOT,					DesignSchemaConstants.DEFAULT_TAG );			writer.endElement( );		}	}