Difference between revisions of "Template:Class Definition"

From City Data Model Project Collaboratory
Jump to navigation Jump to search
 
(127 intermediate revisions by 4 users not shown)
Line 1: Line 1:
 
<noinclude>
 
<noinclude>
This is the "Specialized Term Definition" template.
+
This is the "Class Definition" template.
 
It should be called in the following format:
 
It should be called in the following format:
 
<pre>
 
<pre>
{{Specialized Term Definition
+
{{Class Definition
|Term Name=
+
|Pattern=
|Namespace=
+
|Subclass Of=
 
|Description=
 
|Description=
|Use Case(s)=
+
|Class Diagram Description=
|Definition=
+
|Required By Use Cases=
 +
|Interface Specification References=
 +
|Sources=
 
|Definition Status=
 
|Definition Status=
 +
|Subclasses=
 
}}
 
}}
 
</pre>
 
</pre>
 
Edit the page to see the template text.
 
Edit the page to see the template text.
</noinclude><includeonly>{| class="wikitable"
+
</noinclude><includeonly>
! Name
+
{{#default_form:Class_Definition}}
| {{ll | {{{Term Name|}}} }}
+
 
|-
+
== Pattern ==
! Namespace (context for definition)
+
This class has been associated with the following pattern:
| {{{Namespace|}}}
+
{{#arraymap:{{{Pattern|}}}|,|x|[[UsedInPattern::x]]}}
|-
+
{{#ask:[[UsedInPattern::{{PAGENAME}}]] OR [[-UsedInPattern::{{PAGENAME}}]] |format=list}}
! Description (what distinguishes this sense of the term?)
+
 
| {{{Description|}}}
+
== Subclass Of ==
|-
+
{{#arraymap:{{{Subclass Of|}}}|,|x|[[Owl:SubClassOf::x]]}}
! Use Case (why is this specialized definition needed?)
+
 
| {{{Use Case(s)|}}}
+
== Description ==
|-
+
An English description of the definition (what distinguishes this sense of the term?).
! Formal Definition (UML and DL)
+
 
| {{{Definition|}}}
+
{{{Description|}}}
|-
+
 
! Status
+
== Class Diagram Description ==
| {{{Definition Status|}}}
+
{{{Class Diagram Description|}}}
|}
+
 
 +
== Required by Use Case(s) ==
 +
(why is this specialized definition needed?)
 +
{{#arraymap:{{{Required by Use Cases|}}}|,|x|[[RequiredByUseCase::x]]}}
 +
{{#ask:[[RequiresClass::{{PAGENAME}}]] OR [[-RequiredByUseCase::{{PAGENAME}}]] |format=list}}
 +
 
 +
== CDM References ==
 +
What other classes or properties reference this term?
 +
{{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}}
 +
 
 +
[[Category:Class]]
 +
[[Category:CDM_Term]]
  
[[Category: {{{Term Name}}} Definitions]]
 
 
</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.