Skip to content

Commit a0752e5

Browse files
authored
Fix section formatting (#324)
* Fix level of sections * Fix syntax of Namespace declaration example
1 parent cd49b4e commit a0752e5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

documentation/modules/ROOT/pages/modeling-guidelines.adoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ descriptions to it.
105105

106106
[source,turtle,subs="attributes+,+quotes"]
107107
----
108-
@prefix : urn:samm:{example-ns}.myapplication:1.0.0# .
108+
@prefix : <urn:samm:{example-ns}.myapplication:1.0.0#> .
109109
@prefix samm: <{samm}> .
110110
111111
# The colon denotes the namespace as defined in the first @prefix declaration above.
@@ -641,7 +641,7 @@ include::example$extending-entity-declaration-inheritance.ttl[tags=extending-ent
641641
----
642642

643643
[[declaring-abstract-entities]]
644-
==== Declaring Abstract Entities
644+
=== Declaring Abstract Entities
645645

646646
In contrast to Entities, Abstract Entities cannot directly be instantiated. A Characteristic class may have a type `samm:entity` or `samm:AbstractEntity`. But a Characteristic instance cannot have a type `samm:AbstractEntity`. If there is an instance created from a Characteristic that uses an Abstract Entity as its type, this Characteristic instance's dataType must be a sub-Entity of the Abstract Entity.
647647
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.
@@ -655,7 +655,7 @@ include::example$aspect-sample.ttl[tags=abstract-entity-declaration]
655655
----
656656

657657
[[abstract-entities-with-abstract-properties]]
658-
==== Abstract Entities with Abstract Properties
658+
=== Abstract Entities with Abstract Properties
659659

660660
When an Abstract Entity needs to be defined with a certain Property, but the modeler using the
661661
Abstract Entity (i.e., extending it) should be able to decide the Property's Characteristic, the

0 commit comments

Comments
 (0)