OntoDL Statement: define: Unterschied zwischen den Versionen

Aus CTS2-LE
Zur Navigation springen Zur Suche springen
K (Syntax)
(Description)
Zeile 85: Zeile 85:
  
 
== Description ==
 
== Description ==
 +
 +
The ''define'' statement is used for introducing a new named object to OntoDL. Upon introduction a new object is given a name and assigned a type. These properties are fixed then an cannto be changed afterwards. The immediate binding of a new object to a type is important because not only the object's behavior but even the way you may use that object within OntoDL is determined by its type.
  
 
== Examples ==
 
== Examples ==

Version vom 16. September 2016, 08:31 Uhr

Syntax


DefinitionStatement := define TypeName ObjectName DefinitionBody  
ObjectName := Name
DefinitionBody := { FullDefinition * }
| = QualifiedConcept
| = InternalReference
Fulldefinition := DefineStatement
| DefaultStatement
| SetStatement
| PredicateStatement
| SetAsTableStatement Must be formatted as 2-column MS Word table using style "OntoDL"
SetAsTableStatement := PropertyName (($)? Text The prefix "($" advises the OntoDL interpreter to consider the provided text as a string (which will not be further processed)
| PropertyName InternalReference
PropertyName := Name


Description

The define statement is used for introducing a new named object to OntoDL. Upon introduction a new object is given a name and assigned a type. These properties are fixed then an cannto be changed afterwards. The immediate binding of a new object to a type is important because not only the object's behavior but even the way you may use that object within OntoDL is determined by its type.

Examples