b311480e |
1 | // Created on: 2002-12-15 |
2 | // Created by: data exchange team |
973c2be1 |
3 | // Copyright (c) 2002-2014 OPEN CASCADE SAS |
b311480e |
4 | // |
973c2be1 |
5 | // This file is part of Open CASCADE Technology software library. |
b311480e |
6 | // |
d5f74e42 |
7 | // This library is free software; you can redistribute it and/or modify it under |
8 | // the terms of the GNU Lesser General Public License version 2.1 as published |
973c2be1 |
9 | // by the Free Software Foundation, with special exception defined in the file |
10 | // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT |
11 | // distribution for complete text of the license and disclaimer of any warranty. |
b311480e |
12 | // |
973c2be1 |
13 | // Alternatively, this file may be used under the terms of Open CASCADE |
14 | // commercial license or contractual agreement. |
b311480e |
15 | |
7fd59977 |
16 | // Generator: ExpToCas (EXPRESS -> CASCADE/XSTEP Translator) V1.2 |
7fd59977 |
17 | |
42cf5bc1 |
18 | #include <Standard_Type.hxx> |
19 | #include <StepBasic_ProductDefinitionFormation.hxx> |
20 | #include <StepBasic_ProductDefinitionFormationRelationship.hxx> |
21 | #include <TCollection_HAsciiString.hxx> |
7fd59977 |
22 | |
92efcf78 |
23 | IMPLEMENT_STANDARD_RTTIEXT(StepBasic_ProductDefinitionFormationRelationship,MMgt_TShared) |
24 | |
7fd59977 |
25 | //======================================================================= |
26 | //function : StepBasic_ProductDefinitionFormationRelationship |
27 | //purpose : |
28 | //======================================================================= |
7fd59977 |
29 | StepBasic_ProductDefinitionFormationRelationship::StepBasic_ProductDefinitionFormationRelationship () |
30 | { |
31 | } |
32 | |
33 | //======================================================================= |
34 | //function : Init |
35 | //purpose : |
36 | //======================================================================= |
37 | |
38 | void StepBasic_ProductDefinitionFormationRelationship::Init (const Handle(TCollection_HAsciiString) &aId, |
39 | const Handle(TCollection_HAsciiString) &aName, |
40 | const Handle(TCollection_HAsciiString) &aDescription, |
41 | const Handle(StepBasic_ProductDefinitionFormation) &aRelatingProductDefinitionFormation, |
42 | const Handle(StepBasic_ProductDefinitionFormation) &aRelatedProductDefinitionFormation) |
43 | { |
44 | |
45 | theId = aId; |
46 | |
47 | theName = aName; |
48 | |
49 | theDescription = aDescription; |
50 | |
51 | theRelatingProductDefinitionFormation = aRelatingProductDefinitionFormation; |
52 | |
53 | theRelatedProductDefinitionFormation = aRelatedProductDefinitionFormation; |
54 | } |
55 | |
56 | //======================================================================= |
57 | //function : Id |
58 | //purpose : |
59 | //======================================================================= |
60 | |
61 | Handle(TCollection_HAsciiString) StepBasic_ProductDefinitionFormationRelationship::Id () const |
62 | { |
63 | return theId; |
64 | } |
65 | |
66 | //======================================================================= |
67 | //function : SetId |
68 | //purpose : |
69 | //======================================================================= |
70 | |
71 | void StepBasic_ProductDefinitionFormationRelationship::SetId (const Handle(TCollection_HAsciiString) &aId) |
72 | { |
73 | theId = aId; |
74 | } |
75 | |
76 | //======================================================================= |
77 | //function : Name |
78 | //purpose : |
79 | //======================================================================= |
80 | |
81 | Handle(TCollection_HAsciiString) StepBasic_ProductDefinitionFormationRelationship::Name () const |
82 | { |
83 | return theName; |
84 | } |
85 | |
86 | //======================================================================= |
87 | //function : SetName |
88 | //purpose : |
89 | //======================================================================= |
90 | |
91 | void StepBasic_ProductDefinitionFormationRelationship::SetName (const Handle(TCollection_HAsciiString) &aName) |
92 | { |
93 | theName = aName; |
94 | } |
95 | |
96 | //======================================================================= |
97 | //function : Description |
98 | //purpose : |
99 | //======================================================================= |
100 | |
101 | Handle(TCollection_HAsciiString) StepBasic_ProductDefinitionFormationRelationship::Description () const |
102 | { |
103 | return theDescription; |
104 | } |
105 | |
106 | //======================================================================= |
107 | //function : SetDescription |
108 | //purpose : |
109 | //======================================================================= |
110 | |
111 | void StepBasic_ProductDefinitionFormationRelationship::SetDescription (const Handle(TCollection_HAsciiString) &aDescription) |
112 | { |
113 | theDescription = aDescription; |
114 | } |
115 | |
116 | //======================================================================= |
117 | //function : RelatingProductDefinitionFormation |
118 | //purpose : |
119 | //======================================================================= |
120 | |
121 | Handle(StepBasic_ProductDefinitionFormation) StepBasic_ProductDefinitionFormationRelationship::RelatingProductDefinitionFormation () const |
122 | { |
123 | return theRelatingProductDefinitionFormation; |
124 | } |
125 | |
126 | //======================================================================= |
127 | //function : SetRelatingProductDefinitionFormation |
128 | //purpose : |
129 | //======================================================================= |
130 | |
131 | void StepBasic_ProductDefinitionFormationRelationship::SetRelatingProductDefinitionFormation (const Handle(StepBasic_ProductDefinitionFormation) &aRelatingProductDefinitionFormation) |
132 | { |
133 | theRelatingProductDefinitionFormation = aRelatingProductDefinitionFormation; |
134 | } |
135 | |
136 | //======================================================================= |
137 | //function : RelatedProductDefinitionFormation |
138 | //purpose : |
139 | //======================================================================= |
140 | |
141 | Handle(StepBasic_ProductDefinitionFormation) StepBasic_ProductDefinitionFormationRelationship::RelatedProductDefinitionFormation () const |
142 | { |
143 | return theRelatedProductDefinitionFormation; |
144 | } |
145 | |
146 | //======================================================================= |
147 | //function : SetRelatedProductDefinitionFormation |
148 | //purpose : |
149 | //======================================================================= |
150 | |
151 | void StepBasic_ProductDefinitionFormationRelationship::SetRelatedProductDefinitionFormation (const Handle(StepBasic_ProductDefinitionFormation) &aRelatedProductDefinitionFormation) |
152 | { |
153 | theRelatedProductDefinitionFormation = aRelatedProductDefinitionFormation; |
154 | } |