Modifying topic classes and instances

From WandoraWiki
(Difference between revisions)
Jump to: navigation, search
Line 1: Line 1:
Class is a topic that describes the type of the topic. Each topic may contain zero or more classes.
+
Each topic may contain zero or more class topics. Class topic sets up a class-instance relation between the class topic and it's carrier, called here as the instance topic.
  
 
Class is added to a topic by right-clicking the title header '''Classes''' and selecting '''Add class'''. Operation employs pick-a-topic-type window used to point the topic class. Topic's class is deleted selecting a row in the class table, right-clicking the row and selecting '''Delete classes...'''. Multiple classes can be removed at once.
 
Class is added to a topic by right-clicking the title header '''Classes''' and selecting '''Add class'''. Operation employs pick-a-topic-type window used to point the topic class. Topic's class is deleted selecting a row in the class table, right-clicking the row and selecting '''Delete classes...'''. Multiple classes can be removed at once.
Line 7: Line 7:
 
==Modifying topic instances==
 
==Modifying topic instances==
  
Instance is added to a topic by right clicking the title header of Instances table and selecting '''Add instance...'''. Instance is deleted by selecting row in the instance table, right-clicking selected row and selecting '''Loose instances...'''.
+
Instance is added to a topic by right clicking the title header of Instances table and selecting '''Add instance...'''. Instance is deleted by selecting row in the instance table, right-clicking selected row and selecting '''Delete instances...'''.
  
 
Also menu selections '''Topics > Add to topic > Add instance''' and '''Topics >Delete from topic > Delete instances''' can be used to add and delete instances.
 
Also menu selections '''Topics > Add to topic > Add instance''' and '''Topics >Delete from topic > Delete instances''' can be used to add and delete instances.
 +
 +
== Additional notes ==
 +
 +
Wandora models class-instance relations using internal data structures. Wandora doesn't contain a topic that represents the relation type or role types '''class''' and '''instance'''. This means that Wandora user can not use the relation '''class-instance''' nor the role types in other relations, associations, for example, as players. Wandora user can't set a superclass of a '''class-instance''', for example.
 +
 +
Wandora speaks of classes and instances while the Topic map standard speaks of '''types''' and instances. Reader should understand that a '''type''' described in Topic map standard is equivalent to a '''class''' of Wandora.
  
 
== See also ==
 
== See also ==

Revision as of 18:31, 22 February 2013

Each topic may contain zero or more class topics. Class topic sets up a class-instance relation between the class topic and it's carrier, called here as the instance topic.

Class is added to a topic by right-clicking the title header Classes and selecting Add class. Operation employs pick-a-topic-type window used to point the topic class. Topic's class is deleted selecting a row in the class table, right-clicking the row and selecting Delete classes.... Multiple classes can be removed at once.

Also Topics > Add to topic > Add class menu selection adds topic a class and Topics > Delete from topic > Delete classes deletes the class but leaves the class topic intact.

Modifying topic instances

Instance is added to a topic by right clicking the title header of Instances table and selecting Add instance.... Instance is deleted by selecting row in the instance table, right-clicking selected row and selecting Delete instances....

Also menu selections Topics > Add to topic > Add instance and Topics >Delete from topic > Delete instances can be used to add and delete instances.

Additional notes

Wandora models class-instance relations using internal data structures. Wandora doesn't contain a topic that represents the relation type or role types class and instance. This means that Wandora user can not use the relation class-instance nor the role types in other relations, associations, for example, as players. Wandora user can't set a superclass of a class-instance, for example.

Wandora speaks of classes and instances while the Topic map standard speaks of types and instances. Reader should understand that a type described in Topic map standard is equivalent to a class of Wandora.

See also

Personal tools