Skip to content

Commit

Permalink
Deploying to gh-pages from @ aa5c1f7 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
atextor committed Feb 22, 2024
1 parent 4158d65 commit adb0aff
Show file tree
Hide file tree
Showing 19 changed files with 1,809 additions and 248 deletions.
16 changes: 16 additions & 0 deletions esmf-developer-guide/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,22 @@ <h3 class="title"><a href="index.html">ESMF SDK Developer Guide</a></h3>
<li class="nav-item" data-depth="1">
<a class="nav-link" href="tooling-guide/bamm-migration.html">Migration from BAMM</a>
</li>
</ul>
</li>
<li class="nav-item" data-depth="0">
<ul class="nav-list">
<li class="nav-item" data-depth="1">
<button class="nav-item-toggle"></button>
<a class="nav-link" href="static-metaclasses/index.html">Using Java Static Meta Classes</a>
<ul class="nav-list">
<li class="nav-item" data-depth="2">
<a class="nav-link" href="static-metaclasses/basic-usage.html">Basic Usage</a>
</li>
<li class="nav-item" data-depth="2">
<a class="nav-link" href="static-metaclasses/advanced-usage.html">Advanced Usage</a>
</li>
</ul>
</li>
</ul>
</li>
</ul>
Expand Down
460 changes: 460 additions & 0 deletions esmf-developer-guide/static-metaclasses/advanced-usage.html

Large diffs are not rendered by default.

609 changes: 609 additions & 0 deletions esmf-developer-guide/static-metaclasses/basic-usage.html

Large diffs are not rendered by default.

410 changes: 410 additions & 0 deletions esmf-developer-guide/static-metaclasses/index.html

Large diffs are not rendered by default.

16 changes: 16 additions & 0 deletions esmf-developer-guide/tooling-guide/bamm-migration.html
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,22 @@ <h3 class="title"><a href="../index.html">ESMF SDK Developer Guide</a></h3>
<li class="nav-item is-current-page" data-depth="1">
<a class="nav-link" href="bamm-migration.html">Migration from BAMM</a>
</li>
</ul>
</li>
<li class="nav-item" data-depth="0">
<ul class="nav-list">
<li class="nav-item" data-depth="1">
<button class="nav-item-toggle"></button>
<a class="nav-link" href="../static-metaclasses/index.html">Using Java Static Meta Classes</a>
<ul class="nav-list">
<li class="nav-item" data-depth="2">
<a class="nav-link" href="../static-metaclasses/basic-usage.html">Basic Usage</a>
</li>
<li class="nav-item" data-depth="2">
<a class="nav-link" href="../static-metaclasses/advanced-usage.html">Advanced Usage</a>
</li>
</ul>
</li>
</ul>
</li>
</ul>
Expand Down
24 changes: 20 additions & 4 deletions esmf-developer-guide/tooling-guide/java-aspect-tooling.html
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,22 @@ <h3 class="title"><a href="../index.html">ESMF SDK Developer Guide</a></h3>
<li class="nav-item" data-depth="1">
<a class="nav-link" href="bamm-migration.html">Migration from BAMM</a>
</li>
</ul>
</li>
<li class="nav-item" data-depth="0">
<ul class="nav-list">
<li class="nav-item" data-depth="1">
<button class="nav-item-toggle"></button>
<a class="nav-link" href="../static-metaclasses/index.html">Using Java Static Meta Classes</a>
<ul class="nav-list">
<li class="nav-item" data-depth="2">
<a class="nav-link" href="../static-metaclasses/basic-usage.html">Basic Usage</a>
</li>
<li class="nav-item" data-depth="2">
<a class="nav-link" href="../static-metaclasses/advanced-usage.html">Advanced Usage</a>
</li>
</ul>
</li>
</ul>
</li>
</ul>
Expand Down Expand Up @@ -2286,7 +2302,7 @@ <h3 id="translate-aspect-model-to-aas"><a class="anchor" href="#translate-aspect
<pre class="highlightjs highlight"><code class="language-java hljs" data-lang="java">import java.io.File;
import java.io.IOException;

import org.eclipse.esmf.aspectmodel.aas.AspectModelAASGenerator;
import org.eclipse.esmf.aspectmodel.aas.AspectModelAasGenerator;
import org.eclipse.esmf.aspectmodel.aas.AasFileFormat;
import org.eclipse.esmf.aspectmodel.resolver.AspectModelResolver;
import org.eclipse.esmf.metamodel.Aspect;
Expand All @@ -2299,7 +2315,7 @@ <h3 id="translate-aspect-model-to-aas"><a class="anchor" href="#translate-aspect
<pre class="highlightjs highlight"><code class="language-java hljs" data-lang="java">// Aspect as created by the AspectModelLoader
final Aspect aspect = // ...

final AspectModelAASGenerator generator = new AspectModelAASGenerator();
final AspectModelAasGenerator generator = new AspectModelAasGenerator();

// Generate AAS .aasx for input Aspect
generator.generate( AasFileFormat.AASX, aspect, this::outputStreamForName );
Expand Down Expand Up @@ -2383,7 +2399,7 @@ <h3 id="translate-aas-to-aspect-model"><a class="anchor" href="#translate-aas-to

import org.eclipse.esmf.aspectmodel.aas.AasFileFormat;
import org.eclipse.esmf.aspectmodel.aas.AasToAspectModelGenerator;
import org.eclipse.esmf.aspectmodel.aas.AspectModelAASGenerator;
import org.eclipse.esmf.aspectmodel.aas.AspectModelAasGenerator;
import org.eclipse.esmf.aspectmodel.resolver.AspectModelResolver;
import org.eclipse.esmf.metamodel.Aspect;
import org.eclipse.esmf.metamodel.loader.AspectModelLoader;
Expand All @@ -2403,7 +2419,7 @@ <h3 id="translate-aas-to-aspect-model"><a class="anchor" href="#translate-aas-to
@Test
public void generate() throws IOException {
final Path outputDirectory = Files.createTempDirectory( "junit" );
new AspectModelAASGenerator().generate( AasFileFormat.AASX,
new AspectModelAasGenerator().generate( AasFileFormat.AASX,
AspectModelResolver.loadAndResolveModel( new File( "aspect-models/org.eclipse.esmf.examples.movement/1.0.0/Movement.ttl" ) )
.flatMap( AspectModelLoader::getSingleAspect ).get(),
name -&gt; outputStream( outputDirectory, name ) );
Expand Down
16 changes: 16 additions & 0 deletions esmf-developer-guide/tooling-guide/maven-plugin.html
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,22 @@ <h3 class="title"><a href="../index.html">ESMF SDK Developer Guide</a></h3>
<li class="nav-item" data-depth="1">
<a class="nav-link" href="bamm-migration.html">Migration from BAMM</a>
</li>
</ul>
</li>
<li class="nav-item" data-depth="0">
<ul class="nav-list">
<li class="nav-item" data-depth="1">
<button class="nav-item-toggle"></button>
<a class="nav-link" href="../static-metaclasses/index.html">Using Java Static Meta Classes</a>
<ul class="nav-list">
<li class="nav-item" data-depth="2">
<a class="nav-link" href="../static-metaclasses/basic-usage.html">Basic Usage</a>
</li>
<li class="nav-item" data-depth="2">
<a class="nav-link" href="../static-metaclasses/advanced-usage.html">Advanced Usage</a>
</li>
</ul>
</li>
</ul>
</li>
</ul>
Expand Down
16 changes: 16 additions & 0 deletions esmf-developer-guide/tooling-guide/samm-cli.html
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,22 @@ <h3 class="title"><a href="../index.html">ESMF SDK Developer Guide</a></h3>
<li class="nav-item" data-depth="1">
<a class="nav-link" href="bamm-migration.html">Migration from BAMM</a>
</li>
</ul>
</li>
<li class="nav-item" data-depth="0">
<ul class="nav-list">
<li class="nav-item" data-depth="1">
<button class="nav-item-toggle"></button>
<a class="nav-link" href="../static-metaclasses/index.html">Using Java Static Meta Classes</a>
<ul class="nav-list">
<li class="nav-item" data-depth="2">
<a class="nav-link" href="../static-metaclasses/basic-usage.html">Basic Usage</a>
</li>
<li class="nav-item" data-depth="2">
<a class="nav-link" href="../static-metaclasses/advanced-usage.html">Advanced Usage</a>
</li>
</ul>
</li>
</ul>
</li>
</ul>
Expand Down
20 changes: 6 additions & 14 deletions js-sdk-aml-guide/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -203,18 +203,10 @@ <h1 class="page">Introduction</h1>
<h2 id="getting-started"><a class="anchor" href="#getting-started"></a>Getting Started</h2>
<div class="sectionbody">
<div class="sect2">
<h3 id="install-from-the-public-npm-currently-not-available"><a class="anchor" href="#install-from-the-public-npm-currently-not-available"></a>Install from the public npm (Currently not available):</h3>
<h3 id="install-from-github-release-repository"><a class="anchor" href="#install-from-github-release-repository"></a>Install from GitHub release repository</h3>
<div class="listingblock">
<div class="content">
<pre class="highlightjs highlight"><code class="language-bash hljs" data-lang="bash">npm install @esmf/aspect-model-loader</code></pre>
</div>
</div>
</div>
<div class="sect2">
<h3 id="install-from-github-release-repository"><a class="anchor" href="#install-from-github-release-repository"></a>Install from github release repository:</h3>
<div class="listingblock">
<div class="content">
<pre class="highlightjs highlight"><code class="language-bash hljs" data-lang="bash">npm install https://github.com/eclipse-esmf/esmf-sdk-js-aspect-model-loader/releases/download/&lt;TAG_VERSION&gt;/esmf-aspect-model-loader-x.x.x.tgz</code></pre>
<pre class="highlightjs highlight"><code class="language-shell hljs" data-lang="shell">npm install https://github.com/eclipse-esmf/esmf-sdk-js-aspect-model-loader/releases/download/v2.3.0/esmf-aspect-model-loader-2.3.0.tgz</code></pre>
</div>
</div>
</div>
Expand All @@ -231,7 +223,7 @@ <h2 id="usage"><a class="anchor" href="#usage"></a>Usage</h2>
</div>
<div class="listingblock">
<div class="content">
<pre class="highlightjs highlight"><code class="language-bash hljs" data-lang="bash">new AspectModelLoader().loadSelfContainedModel(ttl).subscribe((aspect: Aspect) =&gt; {
<pre class="highlightjs highlight"><code class="language-javascript hljs" data-lang="javascript">new AspectModelLoader().loadSelfContainedModel(ttl).subscribe((aspect: Aspect) =&gt; {
...
});</code></pre>
</div>
Expand All @@ -241,7 +233,7 @@ <h2 id="usage"><a class="anchor" href="#usage"></a>Usage</h2>
</div>
<div class="listingblock">
<div class="content">
<pre class="highlightjs highlight"><code class="language-bash hljs" data-lang="bash">new AspectModelLoader().load('&lt;aspect-model-urn&gt;', ttl-1, ttl-2, ttl-3).subscribe((aspect: Aspect) =&gt; {
<pre class="highlightjs highlight"><code class="language-javascript hljs" data-lang="javascript">new AspectModelLoader().load('&lt;aspect-model-urn&gt;', ttl-1, ttl-2, ttl-3).subscribe((aspect: Aspect) =&gt; {
...
});</code></pre>
</div>
Expand All @@ -262,15 +254,15 @@ <h2 id="helpful-functions"><a class="anchor" href="#helpful-functions"></a>Helpf
</div>
<div class="listingblock">
<div class="content">
<pre class="highlightjs highlight"><code class="language-bash hljs" data-lang="bash">let specificElement = loader.findByUrn(options.urnSelectedModelElement)</code></pre>
<pre class="highlightjs highlight"><code class="language-javascript hljs" data-lang="javascript">let specificElement = loader.findByUrn(options.urnSelectedModelElement)</code></pre>
</div>
</div>
<div class="paragraph">
<p>Find a specific model element by name, and returns the found elements.</p>
</div>
<div class="listingblock">
<div class="content">
<pre class="highlightjs highlight"><code class="language-bash hljs" data-lang="bash">let specificElement = loader.findByName(options.selectedModelName)</code></pre>
<pre class="highlightjs highlight"><code class="language-javascript hljs" data-lang="javascript">let specificElement = loader.findByName(options.selectedModelName)</code></pre>
</div>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion samm-specification/snapshot/datatypes.html
Original file line number Diff line number Diff line change
Expand Up @@ -459,7 +459,7 @@ <h2 id="type-hierarchy"><a class="anchor" href="#type-hierarchy"></a>Type Hierar
</tr>
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock"><code><a href="https://www.w3.org/TR/xmlschema11-2/#int">xsd:int</a></code></p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">2147483648…+2147483647 (32 bit)</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">-2147483648…+2147483647 (32 bit)</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">-1, 0, 2147483647</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock"><span class="icon red"><i class="fa fa-times-circle fa-2x"></i></span></p></td>
</tr>
Expand Down
6 changes: 2 additions & 4 deletions samm-specification/snapshot/modeling-guidelines.html
Original file line number Diff line number Diff line change
Expand Up @@ -1320,10 +1320,8 @@ <h4 id="extending-entities"><a class="anchor" href="#extending-entities"></a>Ext
<div class="sect3">
<h4 id="declaring-abstract-entities"><a class="anchor" href="#declaring-abstract-entities"></a>Declaring Abstract Entities</h4>
<div class="paragraph">
<p>In contrast to Entities, Abstract Entities cannot directly be used as data types. The main use case
for Abstract Entities is to share Properties across multiple Entities. This can be achieved through
inheritance: Abstract Entities can extend other Entities and Abstract Entities and can themselves be
extended in a manner not dissimilar to how abstract classes are used in many programming languages.</p>
<p>In contrast to Entities, Abstract Entities cannot directly be instantiated. A Characteristic class may have a type <code>samm:entity</code> or <code>samm:AbstractEntity</code>. But a Characteristic instance cannot have a type <code>samm:AbstractEntity</code>. If there is an instance created from a Characteristic that uses an Abstract Entity as its type, this Characteristic instance&#8217;s dataType must be a sub-Entity of the Abstract Entity.
The main use case for Abstract Entities is to share Properties across multiple Entities. This can be achieved through inheritance: Abstract Entities can extend other Entities and Abstract Entities and can themselves be extended in a manner not dissimilar to how abstract classes are used in many programming languages.</p>
</div>
<div class="paragraph">
<p>In the following example, both <code>SteeringWheel</code> and <code>Seat</code> <em>extend</em> the Abstract Entity
Expand Down
2 changes: 1 addition & 1 deletion search-index.js

Large diffs are not rendered by default.

Loading

0 comments on commit adb0aff

Please sign in to comment.