[Volute] r3541 - trunk/projects/dm/vo-dml/models/sample/EnumLiteral

Volute commit messages volutecommits at g-vo.org
Wed Oct 26 18:06:00 CEST 2016


Author: lmichel
Date: Mon Sep 12 14:49:01 2016
New Revision: 3541

Log:
Added HTML

Added:
   trunk/projects/dm/vo-dml/models/sample/EnumLiteral/EnumLiteral.gvd
   trunk/projects/dm/vo-dml/models/sample/EnumLiteral/EnumLiteral.html   (contents, props changed)
   trunk/projects/dm/vo-dml/models/sample/EnumLiteral/EnumLiteral.map
   trunk/projects/dm/vo-dml/models/sample/EnumLiteral/EnumLiteral.png   (contents, props changed)

Added: trunk/projects/dm/vo-dml/models/sample/EnumLiteral/EnumLiteral.gvd
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ trunk/projects/dm/vo-dml/models/sample/EnumLiteral/EnumLiteral.gvd	Mon Sep 12 14:49:01 2016	(r3541)
@@ -0,0 +1,45 @@
+
+digraph GVmap {  
+	label = "\n\nEnumLiteral data model"
+	rankdir=TB
+	
+	node [ 
+	  shape=tab
+	  style=filled
+	]
+	subgraph cluster_packages {
+	  label="Model"
+	  rankdir=TB
+      style=filled
+      fillcolor="/set312/1"
+	  
+    "base" [
+    URL="#base"
+    label = "base"
+    fillcolor="/set312/2"
+    ] ;
+    
+	}
+	
+	node [
+	shape=record
+	fontsize=8
+	style=filled] 
+	"EnumLiteral:base.energyBand" [
+    URL="#base.energyBand"
+    label = "{<<enumeration>>\lbase/enum|+Xray\l+Visible\l+IR\l}"
+    fillcolor="/set312/2"
+    ] ;
+  "EnumLiteral:base.imageComponent" [
+    URL="#base.imageComponent"
+    label = "{<<datatype>>\nbase/ImageComponent|+URL : ivoa:string\l+band : EnumLiteral:base.energyBand\l}"
+    fillcolor="/set312/2"
+    ] ;
+  "EnumLiteral:base.imageComposite" [
+    URL="#base.imageComposite"
+    label = "{base/ImageComposite|+redComponent : EnumLiteral:base.imageComponent\l+greenComponent : EnumLiteral:base.imageComponent\l+blueComponent : EnumLiteral:base.imageComponent\l}"
+    fillcolor="/set312/2"
+    ] ;
+    
+}
+  
\ No newline at end of file

Added: trunk/projects/dm/vo-dml/models/sample/EnumLiteral/EnumLiteral.html
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ trunk/projects/dm/vo-dml/models/sample/EnumLiteral/EnumLiteral.html	Mon Sep 12 14:49:01 2016	(r3541)
@@ -0,0 +1,466 @@
+<html xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:vo-dml="http://www.ivoa.net/xml/VODML/v1.0">
+  <head>
+    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+    <title>VO-DML data model snipet</title>
+    <link rel="stylesheet" href="https://volute.g-vo.org/svn/trunk/projects/dm/vo-dml/models/ivoa_wg.css" type="text/css">
+    <link rel="stylesheet" href="https://volute.g-vo.org/svn/trunk/projects/dm/vo-dml/models/xmi.css" type="text/css">
+  </head>
+  <body>
+    <h1>VO-DML data model snipet</h1>
+    <h2><a id="contents" name="contents">Table of Contents</a></h2>
+    <div class="head">
+      <table class=".toc">
+        <tr>
+          <td>1.</td>
+          <td>    <a href="#model_section">model: EnumLiteral</a></td>
+        </tr>
+        <tr>
+          <td>2.</td>
+          <td>    <a href="#packages">Packages and Types</a></td>
+        </tr>
+        <tr>
+          <td>2.1</td>
+          <td>    <a href="#rootpackage">[root package]</a></td>
+        </tr>
+        <tr>
+          <td>2.2</td>
+          <td>    <a href="#base">package: base</a></td>
+        </tr>
+        <tr>
+          <td>2.2.1</td>
+          <td>    <a href="#base.imageComponent">dataType: ImageComponent</a></td>
+        </tr>
+        <tr>
+          <td>2.2.2</td>
+          <td>    <a href="#base.imageComposite">objectType: ImageComposite</a></td>
+        </tr>
+        <tr>
+          <td>2.2.3</td>
+          <td>    <a href="#base.energyBand">enumeration: enum</a></td>
+        </tr>
+        <tr>
+          <td>3.</td>
+          <td>
+                <a href="#vodml-ids">vodml-id-s</a></td>
+        </tr>
+        <tr>
+          <td>4.</td>
+          <td>
+                <a href="#modelimports">Imported Models</a></td>
+        </tr>
+        <tr>
+          <td>4.1</td>
+          <td>
+                <a href="#ivoa">ivoa</a></td>
+        </tr>
+      </table>
+    </div>
+    <hr>
+    <h1><a name="model_section">1. Model: VO-DML data model snipet (EnumLiteral)</a></h1>
+    <table>
+      <tr>
+        <td align="right"><b>Authors</b></td>
+        <td> : </td>
+        <td></td>
+      </tr>
+      <tr>
+        <td align="right"><b>Date</b></td>
+        <td> : </td>
+        <td>2016-08-29T10:55:49</td>
+      </tr>
+      <tr>
+        <td align="right"><b>Version</b></td>
+        <td> : </td>
+        <td>1.0</td>
+      </tr>
+      <tr>
+        <td align="right" valign="top"><b>Abstract</b></td>
+        <td valign="top"> : </td>
+        <td>This DM snipet shows a basic composition example: Wings are part of the plane</td>
+      </tr>
+      <tr>
+        <td align="right" valign="top"><b>Diagram</b></td>
+        <td valign="top"> : </td>
+        <td>The following diagram has been generated from the model using the <a href="http://www.graphviz.org/" target="_blank">GraphViz</a> tool.<br>
+          The classes and packages in the diagram can be clicked and are mapped to the descriptions of the corresponding element elsewhere
+          in the document. 
+          
+        </td>
+      </tr>
+      <tr>
+        <td colspan="3"></td>
+      </tr>
+    </table><img src="EnumLiteral.png}" usemap="#GVmap"><map id="GVmap" name="GVmap">
+<area shape="rect" id="node1" href="#base" title="base" alt="" coords="27,57,99,105"/>
+<area shape="rect" id="node2" href="#base.energyBand" title="{<<enumeration>>\lbase/enum|+Xray\l+Visible\l+IR\l}" alt="" coords="123,40,221,123"/>
+<area shape="rect" id="node3" href="#base.imageComponent" title="{<<datatype>>\nbase/ImageComponent|+URL : ivoa:string\l+band : EnumLiteral:base.energyBand\l}" alt="" coords="246,46,434,117"/>
+<area shape="rect" id="node4" href="#base.imageComposite" title="{base/ImageComposite|+redComponent : EnumLiteral:base.imageComponent\l+greenComponent : EnumLiteral:base.imageComponent\l+blueComponent : EnumLiteral:base.imageComponent\l}" alt="" coords="458,46,721,117"/>
+</map>
+
+    <hr>
+    <h1>2.<a name="packages">Model contents: Packages and Types</a></h1>
+    <p>
+      The following sub-sections present all packages in the model with their types.
+      The packages are listed here in alphabetical order.
+      Each sub-section contains a description of the package and a table containing its various features.
+      
+    </p>
+    <h3><a name="rootpackage"></a>2.1 [root package]
+    </h3>
+    <table border="1" cellspacing="2" width="100%">
+      <tr>
+        <td class="objecttype-title" width="20%">Model</td>
+        <td class="objecttype-name">EnumLiteral</td>
+      </tr>
+      <tr>
+        <td width="20%" class="info-title">child package(s)</td>
+        <td colspan="2" class="feature-detail"><a href="#base">base</a> 
+        </td>
+      </tr>
+    </table>
+    <h3><a name="base"></a>2.2 package: base
+    </h3>
+    <table border="1" cellspacing="2" width="100%">
+      <tr>
+        <td class="objecttype-title" width="20%">vodml-id</td>
+        <td class="objecttype-name" colspan="1">base</td>
+      </tr>
+      <tr>
+        <td class="info-title">description</td>
+        <td class="feature-detail" colspan="1">[TODO add description!]</td>
+      </tr>
+      <tr>
+        <td width="20%" class="info-title">parent</td>
+        <td colspan="2" class="feature-detail"><a href="#model_section">EnumLiteral</a></td>
+      </tr>
+      <tr>
+        <td width="20%" class="info-title">Object types</td>
+        <td colspan="2" class="feature-detail"><a href="#base.imageComposite">ImageComposite</a> 
+        </td>
+      </tr>
+      <tr>
+        <td width="20%" class="info-title">Data types</td>
+        <td colspan="2" class="feature-detail"><a href="#base.imageComponent">ImageComponent</a> 
+        </td>
+      </tr>
+      <tr>
+        <td width="20%" class="info-title">Enumerations</td>
+        <td colspan="2" class="feature-detail"><a href="#base.energyBand">enum</a> 
+        </td>
+      </tr>
+    </table>
+    <h3><a name="base.imageComponent"></a>2.2.1 dataType: ImageComponent
+    </h3>
+    <div align="center">
+      <table border="1" width="100%" cellspacing="2">
+        <tr>
+          <td class="objecttype-title" width="20%">vodml-id</td>
+          <td class="objecttype-name" colspan="1">base.imageComponent</td>
+        </tr>
+        <tr>
+          <td class="info-title">description</td>
+          <td class="feature-detail" colspan="1">[TODO add description!]</td>
+        </tr>
+        <tr>
+          <td colspan="2">
+            <table width="100%" cellpadding="0" cellspacing="0" border="0">
+              <tr>
+                <td colspan="2" bgcolor="#cacaca">
+                  <table width="100%" border="0" cellpadding="3" cellspacing="1">
+                    <tr>
+                      <td width="20%" class="info-title">package</td>
+                      <td colspan="3" class="feature-detail"><a href="#base">base</a></td>
+                    </tr>
+                    <tr>
+                      <td colspan="3" class="info-title">attributes</td>
+                    </tr>
+                    <tr>
+                      <td class="feature-heading" width="20%">name</td>
+                      <td class="feature-heading" width="10%">feature</td>
+                      <td class="feature-heading" width="70%">value</td>
+                    </tr>
+                    <tr>
+                      <td class="feature-detail" valign="top" rowspan="4"><a name="ImageComponent.URL"></a><b>URL</b></td>
+                      <td class="feature-heading">type</td>
+                      <td class="feature-detail"><a href="#ivoa">ivoa</a>:<a href="http://volute.g-vo.org/svn/trunk/projects/dm/vo-dml/models/ivoa/IVOA.html#string">string</a></td>
+                    </tr>
+                    <tr>
+                      <td class="feature-heading">vodml-id</td>
+                      <td class="feature-detail">ImageComponent.URL</td>
+                    </tr>
+                    <tr>
+                      <td class="feature-heading">multiplicity</td>
+                      <td class="feature-detail">1</td>
+                    </tr>
+                    <tr>
+                      <td class="feature-heading">description</td>
+                      <td class="feature-detail">TBD</td>
+                    </tr>
+                    <tr>
+                      <td class="feature-detail" valign="top" rowspan="4"><a name="ImageComponent.band"></a><b>band</b></td>
+                      <td class="feature-heading">type</td>
+                      <td class="feature-detail"><a href="#base.energyBand">enum [EnumLiteral:base.energyBand]</a></td>
+                    </tr>
+                    <tr>
+                      <td class="feature-heading">vodml-id</td>
+                      <td class="feature-detail">ImageComponent.band</td>
+                    </tr>
+                    <tr>
+                      <td class="feature-heading">multiplicity</td>
+                      <td class="feature-detail">1</td>
+                    </tr>
+                    <tr>
+                      <td class="feature-heading">description</td>
+                      <td class="feature-detail">TBD</td>
+                    </tr>
+                  </table>
+                </td>
+              </tr>
+            </table>
+          </td>
+        </tr>
+      </table>
+    </div><br><h3><a name="base.imageComposite"></a>2.2.2 objectType: ImageComposite
+    </h3>
+    <div align="center">
+      <table border="1" width="100%" cellspacing="2">
+        <tr>
+          <td class="objecttype-title" width="20%">vodml-id</td>
+          <td class="objecttype-name" colspan="1">base.imageComposite</td>
+        </tr>
+        <tr>
+          <td class="info-title">description</td>
+          <td class="feature-detail" colspan="1">[TODO add description!]</td>
+        </tr>
+        <tr>
+          <td colspan="2">
+            <table width="100%" cellpadding="0" cellspacing="0" border="0">
+              <tr>
+                <td colspan="2" bgcolor="#cacaca">
+                  <table width="100%" border="0" cellpadding="3" cellspacing="1">
+                    <tr>
+                      <td width="20%" class="info-title">package</td>
+                      <td colspan="3" class="feature-detail"><a href="#base">base</a></td>
+                    </tr>
+                    <tr>
+                      <td colspan="3" class="info-title">attributes</td>
+                    </tr>
+                    <tr>
+                      <td class="feature-heading" width="20%">name</td>
+                      <td class="feature-heading" width="10%">feature</td>
+                      <td class="feature-heading" width="70%">value</td>
+                    </tr>
+                    <tr>
+                      <td class="feature-detail" valign="top" rowspan="4"><a name="base.imageComposite.redComponent"></a><b>redComponent</b></td>
+                      <td class="feature-heading">type</td>
+                      <td class="feature-detail"><a href="#base.imageComponent">ImageComponent [EnumLiteral:base.imageComponent]</a></td>
+                    </tr>
+                    <tr>
+                      <td class="feature-heading">vodml-id</td>
+                      <td class="feature-detail">base.imageComposite.redComponent</td>
+                    </tr>
+                    <tr>
+                      <td class="feature-heading">multiplicity</td>
+                      <td class="feature-detail">1</td>
+                    </tr>
+                    <tr>
+                      <td class="feature-heading">description</td>
+                      <td class="feature-detail">TBD</td>
+                    </tr>
+                    <tr>
+                      <td class="feature-detail" valign="top" rowspan="4"><a name="base.imageComposite.greenComponent"></a><b>greenComponent</b></td>
+                      <td class="feature-heading">type</td>
+                      <td class="feature-detail"><a href="#base.imageComponent">ImageComponent [EnumLiteral:base.imageComponent]</a></td>
+                    </tr>
+                    <tr>
+                      <td class="feature-heading">vodml-id</td>
+                      <td class="feature-detail">base.imageComposite.greenComponent</td>
+                    </tr>
+                    <tr>
+                      <td class="feature-heading">multiplicity</td>
+                      <td class="feature-detail">1</td>
+                    </tr>
+                    <tr>
+                      <td class="feature-heading">description</td>
+                      <td class="feature-detail">TBD</td>
+                    </tr>
+                    <tr>
+                      <td class="feature-detail" valign="top" rowspan="4"><a name="base.imageComposite.blueComponent"></a><b>blueComponent</b></td>
+                      <td class="feature-heading">type</td>
+                      <td class="feature-detail"><a href="#base.imageComponent">ImageComponent [EnumLiteral:base.imageComponent]</a></td>
+                    </tr>
+                    <tr>
+                      <td class="feature-heading">vodml-id</td>
+                      <td class="feature-detail">base.imageComposite.blueComponent</td>
+                    </tr>
+                    <tr>
+                      <td class="feature-heading">multiplicity</td>
+                      <td class="feature-detail">1</td>
+                    </tr>
+                    <tr>
+                      <td class="feature-heading">description</td>
+                      <td class="feature-detail">TBD</td>
+                    </tr>
+                  </table>
+                </td>
+              </tr>
+            </table>
+          </td>
+        </tr>
+      </table>
+    </div><br><h3><a name="base.energyBand"></a>2.2.3 enumeration: enum
+    </h3>
+    <table border="1" width="100%" cellspacing="2">
+      <tr>
+        <td class="objecttype-title" width="20%">vodml-id</td>
+        <td class="objecttype-name" colspan="2">base.energyBand</td>
+      </tr>
+      <tr>
+        <td class="info-title">description</td>
+        <td class="feature-detail" colspan="2">[TODO add description!]</td>
+      </tr>
+      <tr>
+        <td width="20%" class="info-title">package</td>
+        <td colspan="3" class="feature-detail"><a href="#base">base</a></td>
+      </tr>
+      <tr>
+        <td colspan="3" class="info-title" align="center">literals</td>
+      </tr>
+      <tr>
+        <td class="feature-heading" width="25%">name</td>
+        <td class="feature-heading" width="25%">feature</td>
+        <td class="feature-heading" width="50%">value</td>
+      </tr>
+      <tr>
+        <td class="feature-detail" rowspan="2" valign="top"><a name="base.enum.xray"></a>Xray
+        </td>
+        <td class="feature-heading">vodml-id</td>
+        <td class="feature-detail">base.enum.xray</td>
+      </tr>
+      <tr>
+        <td class="feature-heading">description</td>
+        <td class="feature-detail">TBD</td>
+      </tr>
+      <tr>
+        <td class="feature-detail" rowspan="2" valign="top"><a name="base.enum.visible"></a>Visible
+        </td>
+        <td class="feature-heading">vodml-id</td>
+        <td class="feature-detail">base.enum.visible</td>
+      </tr>
+      <tr>
+        <td class="feature-heading">description</td>
+        <td class="feature-detail">TBD</td>
+      </tr>
+      <tr>
+        <td class="feature-detail" rowspan="2" valign="top"><a name="base.enum.infrared"></a>IR
+        </td>
+        <td class="feature-heading">vodml-id</td>
+        <td class="feature-detail">base.enum.infrared</td>
+      </tr>
+      <tr>
+        <td class="feature-heading">description</td>
+        <td class="feature-detail">TBD</td>
+      </tr>
+    </table><br><hr>
+    <h1>3.<a name="vodml-ids">Element Identifiers/VO-DMLrefs</a></h1>  
+    The following table shows all fully qualified vodml-ids for this data model.
+    It is ordered alphabetically and the identifiers are hyper-linked to the location
+    in the document where the actual element is fully defined.
+    
+    
+    <table style="border-style:solid;border-width:1px;" border="1" cellspacing="0" cellpadding="0">
+      <tr>
+        <td class="feature-heading">vodml-id</td>
+        <td class="feature-heading">feature type</td>
+        <td class="feature-heading">description</td>
+      </tr>
+      <tr>
+        <td class="feature-detail"><a href="#"></a></td>
+        <td class="feature-detail">vo-dml:model</td>
+        <td class="feature-detail">This DM snipet shows a basic composition example: Wings are part of the plane</td>
+      </tr>
+      <tr>
+        <td class="feature-detail"><a href="#base">base</a></td>
+        <td class="feature-detail">package</td>
+        <td class="feature-detail"></td>
+      </tr>
+      <tr>
+        <td class="feature-detail"><a href="#base.imageComponent">base.imageComponent</a></td>
+        <td class="feature-detail">dataType</td>
+        <td class="feature-detail"></td>
+      </tr>
+      <tr>
+        <td class="feature-detail"><a href="#ImageComponent.URL">ImageComponent.URL</a></td>
+        <td class="feature-detail">attribute</td>
+        <td class="feature-detail"></td>
+      </tr>
+      <tr>
+        <td class="feature-detail"><a href="#ImageComponent.band">ImageComponent.band</a></td>
+        <td class="feature-detail">attribute</td>
+        <td class="feature-detail"></td>
+      </tr>
+      <tr>
+        <td class="feature-detail"><a href="#base.imageComposite">base.imageComposite</a></td>
+        <td class="feature-detail">objectType</td>
+        <td class="feature-detail"></td>
+      </tr>
+      <tr>
+        <td class="feature-detail"><a href="#base.imageComposite.blueComponent">base.imageComposite.blueComponent</a></td>
+        <td class="feature-detail">attribute</td>
+        <td class="feature-detail"></td>
+      </tr>
+      <tr>
+        <td class="feature-detail"><a href="#base.imageComposite.greenComponent">base.imageComposite.greenComponent</a></td>
+        <td class="feature-detail">attribute</td>
+        <td class="feature-detail"></td>
+      </tr>
+      <tr>
+        <td class="feature-detail"><a href="#base.imageComposite.redComponent">base.imageComposite.redComponent</a></td>
+        <td class="feature-detail">attribute</td>
+        <td class="feature-detail"></td>
+      </tr>
+      <tr>
+        <td class="feature-detail"><a href="#base.energyBand">base.energyBand</a></td>
+        <td class="feature-detail">enumeration</td>
+        <td class="feature-detail"></td>
+      </tr>
+      <tr>
+        <td class="feature-detail"><a href="#base.enum.infrared">base.enum.infrared</a></td>
+        <td class="feature-detail">literal</td>
+        <td class="feature-detail"></td>
+      </tr>
+      <tr>
+        <td class="feature-detail"><a href="#base.enum.visible">base.enum.visible</a></td>
+        <td class="feature-detail">literal</td>
+        <td class="feature-detail"></td>
+      </tr>
+      <tr>
+        <td class="feature-detail"><a href="#base.enum.xray">base.enum.xray</a></td>
+        <td class="feature-detail">literal</td>
+        <td class="feature-detail"></td>
+      </tr>
+    </table>
+    <hr>
+    <h1>4.<a name="modelimports">Imported Models</a></h1>
+    <p>This section lists the external models imported by the current data model.
+      For each imported model we list URLs to the VO-DML and HTML representations and the prefix used for vodml-ids from inside
+      the model.
+    </p>
+    <h2><a name="ivoa"></a>4.1 ivoa
+    </h2>
+    <table border="1" cellspacing="2" width="100%">
+      <tr>
+        <td class="objecttype-title" width="20%">Model vodml-id</td>
+        <td class="objecttype-name">ivoa</td>
+      </tr>
+      <tr>
+        <td width="30%" class="info-title">url</td>
+        <td><a href="http://volute.g-vo.org/svn/trunk/projects/dm/vo-dml/models/ivoa/IVOA.vo-dml.xml">http://volute.g-vo.org/svn/trunk/projects/dm/vo-dml/models/ivoa/IVOA.vo-dml.xml</a></td>
+      </tr>
+      <tr>
+        <td width="30%" class="info-title">documentation url</td>
+        <td><a href="http://volute.g-vo.org/svn/trunk/projects/dm/vo-dml/models/ivoa/IVOA.html">http://volute.g-vo.org/svn/trunk/projects/dm/vo-dml/models/ivoa/IVOA.html</a></td>
+      </tr>
+    </table>
+  </body>
+</html>
\ No newline at end of file

Added: trunk/projects/dm/vo-dml/models/sample/EnumLiteral/EnumLiteral.map
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ trunk/projects/dm/vo-dml/models/sample/EnumLiteral/EnumLiteral.map	Mon Sep 12 14:49:01 2016	(r3541)
@@ -0,0 +1,6 @@
+<map id="GVmap" name="GVmap">
+<area shape="rect" id="node1" href="#base" title="base" alt="" coords="27,57,99,105"/>
+<area shape="rect" id="node2" href="#base.energyBand" title="{<<enumeration>>\lbase/enum|+Xray\l+Visible\l+IR\l}" alt="" coords="123,40,221,123"/>
+<area shape="rect" id="node3" href="#base.imageComponent" title="{<<datatype>>\nbase/ImageComponent|+URL : ivoa:string\l+band : EnumLiteral:base.energyBand\l}" alt="" coords="246,46,434,117"/>
+<area shape="rect" id="node4" href="#base.imageComposite" title="{base/ImageComposite|+redComponent : EnumLiteral:base.imageComponent\l+greenComponent : EnumLiteral:base.imageComponent\l+blueComponent : EnumLiteral:base.imageComponent\l}" alt="" coords="458,46,721,117"/>
+</map>

Added: trunk/projects/dm/vo-dml/models/sample/EnumLiteral/EnumLiteral.png
==============================================================================
Binary file. No diff available.


More information about the Volutecommits mailing list