Template:Class Definition: Difference between revisions

From City Data Model Project Collaboratory
Jump to navigation Jump to search
No edit summary
No edit summary
 
(74 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<noinclude>
<noinclude>
This is the "Subclass 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>
{{Subclass Definition
{{Class Definition
|Class Name=
|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=
}}
}}
</pre>
</pre>
Edit the page to see the template text.
Edit the page to see the template text.
</noinclude><includeonly>
</noinclude><includeonly>
{{#default_form:Subclass Definition}}
{{#default_form:Class_Definition}}
{| class="wikitable"


! Name
== Pattern ==
| {{{Class Name|}}}
This class has been associated with the following pattern:
|-
{{#arraymap:{{{Pattern|}}}|,|x|[[UsedInPattern::x]]}}
! Subclass Of
{{#ask:[[UsedInPattern::{{PAGENAME}}]] OR [[-UsedInPattern::{{PAGENAME}}]] |format=list}}
| [[Owl:SubClassOf::{{{Subclass Of}}}]]
 
|-
== Subclass Of ==
! Namespace (context for definition)
{{#arraymap:{{{Subclass Of|}}}|,|x|[[Owl:SubClassOf::x]]}}
| {{{Namespace|}}}
 
|-
== Description ==
! Description (what distinguishes this sense of the term?)
An English description of the definition (what distinguishes this sense of the term?).
| {{{Description|}}}
 
|-
{{{Description|}}}
<!-- ! Use Case (why is this specialized definition needed?) -->
 
<!-- | {{{Use Case(s)|}}} -->
== Class Diagram Description ==
<!-- |- -->
{{{Class Diagram Description|}}}
! Required by Use Case(s)
 
| {{#ask:[[RequiresClass::{{PAGENAME}}]]|format=list}}
== Required by Use Case(s) ==
|-
(why is this specialized definition needed?)
! Formal Definition (UML and DL)
{{#arraymap:{{{Required by Use Cases|}}}|,|x|[[RequiredByUseCase::x]]}}
| {{{Definition|}}}
{{#ask:[[RequiresClass::{{PAGENAME}}]] OR [[-RequiredByUseCase::{{PAGENAME}}]] |format=list}}
|-
 
! Status
== CDM References ==
| [[Term status::{{{Definition Status|}}}]]
What other classes or properties reference this term?
|-
{{Special:WhatLinksHere/{{PAGENAME}}}}
! Has Subclass
 
| {{#ask: [[Owl:SubClassOf::{{PAGENAME}}]]  
== Interface Specification References ==
|format=ul
This class has been associated with the following interface specification items:
|limit=50
{{#arraymap:{{{Interface Specification References|}}}|,|x|[[x]]}}
|offset=0
 
|link=all
== Sources ==
|sort=
Sources considered when developing the class:
|order=asc
{{{Sources|}}}
|headers=show
 
|searchlabel=... further results
== Status ==
|propsep=,
[[Term status::{{{Definition Status|}}}]]
|valuesep=,
 
}}
== Has Subclass(es) ==
{{#forminput:form=Subclass_Definition|query string=Subclass_Definition[Subclass Of]={{PAGENAME}}|button text=submit}}
{{#arraymap:{{{Subclasses|}}}|,|x|[[x]]}}
|}
{{#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.