7fd59977 |
1 | -- File: Product.cdl |
2 | -- Created: Fri Dec 1 11:11:25 1995 |
3 | -- Author: EXPRESS->CDL V0.2 Translator |
4 | -- Copyright: Matra-Datavision 1993 |
5 | |
6 | |
7 | class Product from StepBasic |
8 | |
9 | inherits TShared from MMgt |
10 | |
11 | uses |
12 | |
13 | HAsciiString from TCollection, |
14 | HArray1OfProductContext from StepBasic, |
15 | ProductContext from StepBasic |
16 | is |
17 | |
18 | Create returns mutable Product; |
19 | ---Purpose: Returns a Product |
20 | |
21 | Init (me : mutable; |
22 | aId : mutable HAsciiString from TCollection; |
23 | aName : mutable HAsciiString from TCollection; |
24 | aDescription : mutable HAsciiString from TCollection; |
25 | aFrameOfReference : mutable HArray1OfProductContext from StepBasic) is virtual; |
26 | |
27 | -- Specific Methods for Field Data Access -- |
28 | |
29 | SetId(me : mutable; aId : mutable HAsciiString); |
30 | Id (me) returns mutable HAsciiString; |
31 | SetName(me : mutable; aName : mutable HAsciiString); |
32 | Name (me) returns mutable HAsciiString; |
33 | SetDescription(me : mutable; aDescription : mutable HAsciiString); |
34 | Description (me) returns mutable HAsciiString; |
35 | SetFrameOfReference(me : mutable; aFrameOfReference : mutable HArray1OfProductContext); |
36 | FrameOfReference (me) returns mutable HArray1OfProductContext; |
37 | FrameOfReferenceValue (me; num : Integer) returns mutable ProductContext; |
38 | NbFrameOfReference (me) returns Integer; |
39 | |
40 | fields |
41 | |
42 | id : HAsciiString from TCollection; |
43 | name : HAsciiString from TCollection; |
44 | description : HAsciiString from TCollection; |
45 | frameOfReference : HArray1OfProductContext from StepBasic; |
46 | |
47 | end Product; |