Index: doc/next-tutorial.html =================================================================== diff -u -r172b35a1009234b4cf2900f5e3c01d257b4cb369 -re87fe21651b656a0aebe214c6d7ca1866d5b2289 --- doc/next-tutorial.html (.../next-tutorial.html) (revision 172b35a1009234b4cf2900f5e3c01d257b4cb369) +++ doc/next-tutorial.html (.../next-tutorial.html) (revision e87fe21651b656a0aebe214c6d7ca1866d5b2289) @@ -2142,19 +2142,54 @@

The class Person has two attributes name and birthday, where the attribute name is required, the attribute birthday is not. The class Student is a subclass of Person with the additional required -attribute matnr. (see Listing 24). These definitions imply in NX, that -instances of the class of Person have name and birthday as -non-positional object parameters. Furthermore it implies, that -instances of Student will have now at least three non-positional -object parameters, namely name and birthday (inherited from -Person) and matnr (defined on Student).

+attribute matnr. (see Listing 24). The class diagram below visualizes these +definitions.

object-parameter.png
Figure 25. System and Application Classes

+

In NX, these definitions imply that instances of the class of Person +have name and birthday as non-positional object parameters. +Furthermore it implies that instances of Student will have at +least the object parameters of Person augmented by the object +parameters from Student (namely matnr).

+
Listing 26: Computed Actual Object Parameter (simplified)

+
+
+
  1
+  2
+  3
+  4
+  5
+  6
+  7
+  8
+  9
+ 10
+ 11
+
Object parameter of p1:
+   -name:required -birthday -mixin:relation -filter:relation
+   ... __initcmd:initcmd,optional
+
+Object parameter of s1:
+   -matnr:required -name:required -birthday -mixin:relation
+   -filter:relation ... __initcmd:initcmd,optional
+
+Object parameter of Student:
+   -mixin:relation -filter:relation -superclass:relation
+   ... -attributes:method __initcmd:initcmd,optional

describe inherited object parameter from nx::Object, describe object parameters for configuring the classes Student and Person, …

@@ -2169,7 +2204,7 @@
slots.png
-
Figure 26. Slot Classes and Objects
+
Figure 27. Slot Classes and Objects

@@ -2294,7 +2329,7 @@ Index: doc/next-tutorial.txt =================================================================== diff -u -r172b35a1009234b4cf2900f5e3c01d257b4cb369 -re87fe21651b656a0aebe214c6d7ca1866d5b2289 --- doc/next-tutorial.txt (.../next-tutorial.txt) (revision 172b35a1009234b4cf2900f5e3c01d257b4cb369) +++ doc/next-tutorial.txt (.../next-tutorial.txt) (revision e87fe21651b656a0aebe214c6d7ca1866d5b2289) @@ -1147,17 +1147,37 @@ attribute +name+ is required, the attribute +birthday+ is not. The class +Student+ is a subclass of +Person+ with the additional required attribute +matnr+. (see <>). These definitions imply in NX, that -instances of the class of +Person+ have +name+ and +birthday+ as -non-positional object parameters. Furthermore it implies, that -instances of +Student+ will have now at least three non-positional -object parameters, namely +name+ and +birthday+ (inherited from -+Person+) and +matnr+ (defined on +Student+). +{xmp-object-parameters}>>). The class diagram below visualizes these +definitions. [[img-slots]] image::object-parameter.png[align="center",title="System and Application Classes"] {set:img-object-parameters:Figure {figure-number}} +In NX, these definitions imply that instances of the class of +Person+ +have +name+ and +birthday+ as _non-positional object parameters_. +Furthermore it implies that instances of +Student+ will have at +least the object parameters of +Person+ augmented by the object +parameters from +Student+ (namely +matnr+). + +[[xmp-object-parameter-list]] +.Listing {counter:figure-number}: Computed Actual Object Parameter (simplified) +{set:xmp-object-parameter-list:Listing {figure-number}} +[source,tcl,numbers] +-------------------------------------------------- +Object parameter of p1: + -name:required -birthday -mixin:relation -filter:relation + ... __initcmd:initcmd,optional + +Object parameter of s1: + -matnr:required -name:required -birthday -mixin:relation + -filter:relation ... __initcmd:initcmd,optional + +Object parameter of Student: + -mixin:relation -filter:relation -superclass:relation + ... -attributes:method __initcmd:initcmd,optional +-------------------------------------------------- + describe inherited object parameter from nx::Object, describe object parameters for configuring the classes Student and Person, ... @@ -1174,6 +1194,8 @@ image::slots.png[align="center",title="Slot Classes and Objects"] {set:img-slots:Figure {figure-number}} + + ==== Special Object Parameters ==== Attribute Slots