Difference between revisions of "Template:Class Definition"

From City Data Model Project Collaboratory
Jump to navigation Jump to search
 
(53 intermediate revisions by 2 users not shown)
Line 4: Line 4:
 
<pre>
 
<pre>
 
{{Class Definition
 
{{Class Definition
 +
|Pattern=
 
|Subclass Of=
 
|Subclass Of=
|Namespace=
 
 
|Description=
 
|Description=
 +
|Class Diagram Description=
 
|Required By Use Cases=
 
|Required By Use Cases=
|Definition=
+
|Interface Specification References=
 +
|Sources=
 
|Definition Status=
 
|Definition Status=
|Has Subclasses=
+
|Subclasses=
|Has Specification Model=
 
 
}}
 
}}
 
</pre>
 
</pre>
Line 17: Line 18:
 
</noinclude><includeonly>
 
</noinclude><includeonly>
 
{{#default_form:Class_Definition}}
 
{{#default_form:Class_Definition}}
{| class="wikitable"
 
  
! Subclass Of
+
== Pattern ==
| {{#arraymap:{{{SubClassOf|}}}|,|x|[[Owl:SubClassOf::x]]}}
+
This class has been associated with the following pattern:
|-
+
{{#arraymap:{{{Pattern|}}}|,|x|[[UsedInPattern::x]]}}
! Namespace (context for definition)
+
{{#ask:[[UsedInPattern::{{PAGENAME}}]] OR [[-UsedInPattern::{{PAGENAME}}]] |format=list}}
| {{{Namespace|}}}
+
 
|-
+
== Subclass Of ==
! Description (what distinguishes this sense of the term?)
+
{{#arraymap:{{{Subclass Of|}}}|,|x|[[Owl:SubClassOf::x]]}}
| {{{Description|}}}
+
 
|-
+
== Description ==
! Required by Use Case(s) (why is this specialized definition needed?)
+
An English description of the definition (what distinguishes this sense of the term?).
| {{#arraymap:{{{Required by Use Cases|}}}|,|x|[[RequiredByUseCase::x]]}}
+
 
|-
+
{{{Description|}}}
! Formal Definition (UML or DL)
+
 
| {{{Definition|}}}
+
== Class Diagram Description ==
|-
+
{{{Class Diagram Description|}}}
! Referenced by Specification Element(s)
+
 
| {{#ask:[[SpecificationModelFor::{{PAGENAME}}]]|format=list}}
+
== Required by Use Case(s) ==
{{#forminput:form=Specification_Element|query string=Specification_Element[Specification Model For]={{PAGENAME}}|button text=submit}}
+
(why is this specialized definition needed?)
|-
+
{{#arraymap:{{{Required by Use Cases|}}}|,|x|[[RequiredByUseCase::x]]}}
! Status
+
{{#ask:[[RequiresClass::{{PAGENAME}}]] OR [[-RequiredByUseCase::{{PAGENAME}}]] |format=list}}
| [[Term status::{{{Definition Status|}}}]]
+
 
|-
+
== CDM References ==
! Has Subclass
+
What other classes or properties reference this term?
| {{#arraymap:{{{Has Subclass|}}}|,|x|[[-Owl:SubClassOf::x]]}}
+
{{Special:WhatLinksHere/{{PAGENAME}}}}
 +
 
 +
== Interface Specification References ==
 +
This class has been associated with the following interface specification items:
 +
{{#arraymap:{{{Interface Specification References|}}}|,|x|[[x]]}}
 +
 
 +
== Sources ==
 +
Sources considered when developing the class:
 +
{{{Sources|}}}
 +
 
 +
== Status ==
 +
[[Term status::{{{Definition Status|}}}]]
 +
 
 +
== Has Subclass(es) ==
 +
{{#arraymap:{{{Subclasses|}}}|,|x|[[x]]}}
 
{{#forminput:form=Class_Definition|query string=Class_Definition[Subclass Of]={{PAGENAME}}|button text=submit}}
 
{{#forminput:form=Class_Definition|query string=Class_Definition[Subclass Of]={{PAGENAME}}|button text=submit}}
|}
 
  
 
[[Category:Class]]
 
[[Category:Class]]
<comments />
+
[[Category:CDM_Term]]
 +
 
 
</includeonly>
 
</includeonly>
 +
<!-- add this tag to enable discussion via comments on page <comments /> -->

Latest revision as of 18:12, 15 December 2022

This is the "Class Definition" template. It should be called in the following format:

{{Class Definition
|Pattern=
|Subclass Of=
|Description=
|Class Diagram Description=
|Required By Use Cases=
|Interface Specification References=
|Sources=
|Definition Status=
|Subclasses=
}}

Edit the page to see the template text.