2 -- File : PartNumber.cdl
3 -- Created : Mon 11 Jan 1993
4 -- Author : CKY / Contract Toubro-Larsen ( Anand NATRAJAN )
6 ---Copyright : MATRA-DATAVISION 1993
9 class PartNumber from IGESAppli inherits IGESEntity
11 ---Purpose: defines PartNumber, Type <406> Form <9>
12 -- in package IGESAppli
13 -- Attaches a set of text strings that define the common
14 -- part numbers to an entity being used to represent a
19 HAsciiString from TCollection
23 Create returns mutable PartNumber;
25 -- Specific Methods pertaining to the class
29 aGenName : HAsciiString;
30 aMilName : HAsciiString;
31 aVendName : HAsciiString;
32 anIntName : HAsciiString);
33 ---Purpose : This method is used to set the fields of the class
35 -- - nbPropVal : number of property values, always = 4
36 -- - aGenName : Generic part number or name
37 -- - aMilName : Military Standard (MIL-STD) part number
38 -- - aVendName : Vendor part number or name
39 -- - anIntName : Internal part number
41 NbPropertyValues (me) returns Integer;
42 ---Purpose : returns number of property values, always = 4
44 GenericNumber (me) returns HAsciiString from TCollection;
45 ---Purpose : returns Generic part number or name
47 MilitaryNumber (me) returns HAsciiString from TCollection;
48 ---Purpose : returns Military Standard (MIL-STD) part number
50 VendorNumber (me) returns HAsciiString from TCollection;
51 ---Purpose : returns Vendor part number or name
53 InternalNumber (me) returns HAsciiString from TCollection;
54 ---Purpose : returns Internal part number
59 -- Class : IGESAppli_PartNumber
61 -- Purpose : Declaration of variables specific to the definition
62 -- of the Class PartNumber.
64 -- Reminder : A PartNumber instance is defined by :
65 -- - number of property values, always = 4
66 -- - Generic part number or name
67 -- - Military Standard (MIL-STD) part number
68 -- - Vendor part number or name
69 -- - Internal part number
71 theNbPropertyValues : Integer;
72 theGenericNumber : HAsciiString;
73 theMilitaryNumber : HAsciiString;
74 theVendorNumber : HAsciiString;
75 theInternalNumber : HAsciiString;