Index: doc/next-tutorial.html =================================================================== diff -u -rfdecdc39d01dbc9fc816e432e793aeff2a78d82e -r6f01a5690062d994d0bb791c599424c2bc1e7bb3 --- doc/next-tutorial.html (.../next-tutorial.html) (revision fdecdc39d01dbc9fc816e432e793aeff2a78d82e) +++ doc/next-tutorial.html (.../next-tutorial.html) (revision 6f01a5690062d994d0bb791c599424c2bc1e7bb3) @@ -1604,7 +1604,7 @@ are defined. Both classes have accessor methods for all their attributes specified (Note that we show the accessor methods only in this example). By defining properties we can use the name of the -attribute as method name to access the variable. . The listing below +attribute as method name to access the variable. The listing below shows an implementation of this conceptual model in NX.

Listing 18: Properties

@@ -1672,14 +1672,12 @@ # Access property value via accessor method puts "The name of s1 is [s1 name]"
-

We define here a class named Person with two properties, namely - name and birthday.

When the class Person is defined, NX provides as well automatically -accessors. Accessors are methods named like the variables, which are -used to access (to read and write) the underlying instance -variables. Therefore, in our example, the class Person has two -methods implied by the property definition, namely the method name -and the method birthday.

+accessors for its properties. Accessors are methods named like the +variables, which are used to access (to read and write) the underlying +instance variables. Therefore, in our example, the class Person has +two methods implied by the property definition, namely the method +name and the method birthday.

The class Student is defined as a specialization of Person with two additional properties, namely matnr and oncampus. The property matnr is required (it has to be provided, when an instance of this @@ -2251,14 +2249,14 @@ class. This object (or class) contains the method. If the object (or class) is deleted, the contained methods will be deleted as well.

-

3.4.1. Inherited Methods

+

3.4.1. Instance Methods

Typically, methods are defined on a class, and the methods defined on the class are applicable to the instances (direct or indirect) of this -class. These methods are called inherited methods.

+class. These methods are called instance methods.

-

In the following example method foo is an inherited method defined +

In the following example method foo is an instance method defined on class C.

Listing 27: Methods applicable for instances

@@ -2304,7 +2302,7 @@ baz defined on the object o1. An object-specific method is defined simply by defining the method on an object.

Note that we can define a per-object method that shadows (redefines) -for this object an inherited method.

+for this object an intrisic instance method.

Listing 28: Per-object Method