1 package org.simantics.structural.stubs;
3 import org.simantics.db.RequestProcessor;
4 import org.simantics.db.Resource;
5 import org.simantics.db.ReadGraph;
6 import org.simantics.db.request.Read;
7 import org.simantics.db.Session;
8 import org.simantics.db.exception.DatabaseException;
9 import org.simantics.db.service.QueryControl;
11 public class StructuralResource2 {
13 public final Resource AbstractDefinedComponentType;
14 public final Resource AllowsConnectionType;
15 public final Resource AllowsConnectionType_Inverse;
16 public final Resource BelongsTo;
17 public final Resource BelongsToInverse;
18 public final Resource Binds;
19 public final Resource CardinalityRestriction;
20 public final Resource Component;
21 public final Resource ComponentGroup;
22 public final Resource ComponentType;
23 public final Resource ComponentTypeScript;
24 public final Resource ComponentTypeScript_code;
25 public final Resource ComponentTypeScript_code_Inverse;
26 public final Resource ComponentTypeScript_type;
27 public final Resource ComponentTypeScript_type_Inverse;
28 public final Resource ComponentType_HasDefaultMonitorValueType;
29 public final Resource ComponentType_HasDefaultPropertyRelationType;
30 public final Resource ComponentType_HasDefaultPropertyValueType;
31 public final Resource ComponentType_Locked;
32 public final Resource ComponentType_hasScript;
33 public final Resource ComponentType_hasScript_Inverse;
34 public final Resource Composite;
35 public final Resource Composite_instantiationFunction;
36 public final Resource Composite_instantiationFunction_Inverse;
37 public final Resource Composite_namingFunction;
38 public final Resource Composite_namingFunction_Inverse;
39 public final Resource Connection;
40 public final Resource ConnectionConstraint;
41 public final Resource ConnectionConstraint_ErrorIssue;
42 public final Resource ConnectionConstraint_Source;
43 public final Resource ConnectionDirection;
44 public final Resource ConnectionJoin;
45 public final Resource ConnectionRelation;
46 public final Resource ConnectionRelation_connectionRequired;
47 public final Resource ConnectionRelation_connectionRequired_Inverse;
48 public final Resource ConnectionRelation_equivalentConnectionPoint;
49 public final Resource ConnectionType;
50 public final Resource ConnectionType_isUserSelectable;
51 public final Resource ConnectionType_isUserSelectable_Inverse;
52 public final Resource Connects;
53 public final Resource DefaultConnectionType;
54 public final Resource DefaultModelingRules;
55 public final Resource DefaultsToConnectionType;
56 public final Resource DefaultsToConnectionType_Inverse;
57 public final Resource DefinedComponentType;
58 public final Resource Defines;
59 public final Resource Functions;
60 public final Resource Functions_computeExpression;
61 public final Resource Functions_connectionExtension;
62 public final Resource Functions_connectionIssueDescription;
63 public final Resource Functions_connectionValidator;
64 public final Resource Functions_connectionValueAccessor;
65 public final Resource Functions_expressionValueAccessor;
66 public final Resource Functions_structuralChildDomainChildren;
67 public final Resource Functions_structuralChildDomainProperties;
68 public final Resource Functions_structuralRunDomainChildren;
69 public final Resource GroupBelongsTo;
70 public final Resource GroupBelongsToInverse;
71 public final Resource GroupSubsumption;
72 public final Resource HasAttachmentRelation;
73 public final Resource HasCardinalityRestriction;
74 public final Resource HasConnectionConstraint;
75 public final Resource HasConnectionDirection;
76 public final Resource HasConnectionJoin;
77 public final Resource HasConnectionType;
78 public final Resource HasExpression;
79 public final Resource HasExpression_Inverse;
80 public final Resource HasJoinClusterSet;
81 public final Resource HasJoinClusterSet_Inverse;
82 public final Resource HasLowerBound;
83 public final Resource HasLowerBound_Inverse;
84 public final Resource HasModelingRules;
85 public final Resource HasSubgroup;
86 public final Resource HasUpperBound;
87 public final Resource HasUpperBound_Inverse;
88 public final Resource InComposite;
89 public final Resource InComposite_Inverse;
90 public final Resource InputDirection;
91 public final Resource InvalidSCLExpressionIssue;
92 public final Resource IsBoundBy;
93 public final Resource IsConnectedTo;
94 public final Resource IsDefinedBy;
95 public final Resource IsIncludedInConnectionType;
96 public final Resource IsIncludedInConnectionType_Inverse;
97 public final Resource IsJoinedBy;
98 public final Resource Joins;
99 public final Resource JoinsComposite;
100 public final Resource ModelingRules;
101 public final Resource MonitorValue;
102 public final Resource MonitorValueType;
103 public final Resource OrderedComposite;
104 public final Resource OutputDirection;
105 public final Resource OverridesConnectionType;
106 public final Resource OverridesConnectionType_Inverse;
107 public final Resource ProceduralComponentType;
108 public final Resource ProceduralComponentTypeCode;
109 public final Resource ProceduralComponentType_code;
110 public final Resource ProceduralComponentType_code_Inverse;
111 public final Resource ProceduralComponentType_environment;
112 public final Resource Property;
113 public final Resource ProvidingConnectionRelation;
114 public final Resource Run;
115 public final Resource SCLValue;
116 public final Resource SimpleModelingRules;
117 public final Resource StandardModelingRules;
118 public final Resource SupportsConnectionType;
119 public final Resource SupportsDirection;
120 public final Resource SynchronizedConnectionRelation;
121 public final Resource SynchronizedRelation;
122 public final Resource UserDefinedProperty;
123 public final Resource input;
124 public final Resource input_Inverse;
125 public final Resource scl;
126 public final Resource sclValue;
127 public final Resource structuralRevision;
128 public final Resource structuralRevision_Inverse;
129 public final Resource synchronizedRevision;
130 public final Resource synchronizedRevision_Inverse;
132 public static class URIs {
133 public static final String AbstractDefinedComponentType = "http://www.simantics.org/Structural-1.2/AbstractDefinedComponentType";
134 public static final String AllowsConnectionType = "http://www.simantics.org/Structural-1.2/AllowsConnectionType";
135 public static final String AllowsConnectionType_Inverse = "http://www.simantics.org/Structural-1.2/AllowsConnectionType/Inverse";
136 public static final String BelongsTo = "http://www.simantics.org/Structural-1.2/BelongsTo";
137 public static final String BelongsToInverse = "http://www.simantics.org/Structural-1.2/BelongsToInverse";
138 public static final String Binds = "http://www.simantics.org/Structural-1.2/Binds";
139 public static final String CardinalityRestriction = "http://www.simantics.org/Structural-1.2/CardinalityRestriction";
140 public static final String Component = "http://www.simantics.org/Structural-1.2/Component";
141 public static final String ComponentGroup = "http://www.simantics.org/Structural-1.2/ComponentGroup";
142 public static final String ComponentType = "http://www.simantics.org/Structural-1.2/ComponentType";
143 public static final String ComponentTypeScript = "http://www.simantics.org/Structural-1.2/ComponentTypeScript";
144 public static final String ComponentTypeScript_code = "http://www.simantics.org/Structural-1.2/ComponentTypeScript/code";
145 public static final String ComponentTypeScript_code_Inverse = "http://www.simantics.org/Structural-1.2/ComponentTypeScript/code/Inverse";
146 public static final String ComponentTypeScript_type = "http://www.simantics.org/Structural-1.2/ComponentTypeScript/type";
147 public static final String ComponentTypeScript_type_Inverse = "http://www.simantics.org/Structural-1.2/ComponentTypeScript/type/Inverse";
148 public static final String ComponentType_HasDefaultMonitorValueType = "http://www.simantics.org/Structural-1.2/ComponentType/HasDefaultMonitorValueType";
149 public static final String ComponentType_HasDefaultPropertyRelationType = "http://www.simantics.org/Structural-1.2/ComponentType/HasDefaultPropertyRelationType";
150 public static final String ComponentType_HasDefaultPropertyValueType = "http://www.simantics.org/Structural-1.2/ComponentType/HasDefaultPropertyValueType";
151 public static final String ComponentType_Locked = "http://www.simantics.org/Structural-1.2/ComponentType/Locked";
152 public static final String ComponentType_hasScript = "http://www.simantics.org/Structural-1.2/ComponentType/hasScript";
153 public static final String ComponentType_hasScript_Inverse = "http://www.simantics.org/Structural-1.2/ComponentType/hasScript/Inverse";
154 public static final String Composite = "http://www.simantics.org/Structural-1.2/Composite";
155 public static final String Composite_instantiationFunction = "http://www.simantics.org/Structural-1.2/Composite/instantiationFunction";
156 public static final String Composite_instantiationFunction_Inverse = "http://www.simantics.org/Structural-1.2/Composite/instantiationFunction/Inverse";
157 public static final String Composite_namingFunction = "http://www.simantics.org/Structural-1.2/Composite/namingFunction";
158 public static final String Composite_namingFunction_Inverse = "http://www.simantics.org/Structural-1.2/Composite/namingFunction/Inverse";
159 public static final String Connection = "http://www.simantics.org/Structural-1.2/Connection";
160 public static final String ConnectionConstraint = "http://www.simantics.org/Structural-1.2/ConnectionConstraint";
161 public static final String ConnectionConstraint_ErrorIssue = "http://www.simantics.org/Structural-1.2/ConnectionConstraint/ErrorIssue";
162 public static final String ConnectionConstraint_Source = "http://www.simantics.org/Structural-1.2/ConnectionConstraint/Source";
163 public static final String ConnectionDirection = "http://www.simantics.org/Structural-1.2/ConnectionDirection";
164 public static final String ConnectionJoin = "http://www.simantics.org/Structural-1.2/ConnectionJoin";
165 public static final String ConnectionRelation = "http://www.simantics.org/Structural-1.2/ConnectionRelation";
166 public static final String ConnectionRelation_connectionRequired = "http://www.simantics.org/Structural-1.2/ConnectionRelation/connectionRequired";
167 public static final String ConnectionRelation_connectionRequired_Inverse = "http://www.simantics.org/Structural-1.2/ConnectionRelation/connectionRequired/Inverse";
168 public static final String ConnectionRelation_equivalentConnectionPoint = "http://www.simantics.org/Structural-1.2/ConnectionRelation/equivalentConnectionPoint";
169 public static final String ConnectionType = "http://www.simantics.org/Structural-1.2/ConnectionType";
170 public static final String ConnectionType_isUserSelectable = "http://www.simantics.org/Structural-1.2/ConnectionType/isUserSelectable";
171 public static final String ConnectionType_isUserSelectable_Inverse = "http://www.simantics.org/Structural-1.2/ConnectionType/isUserSelectable/Inverse";
172 public static final String Connects = "http://www.simantics.org/Structural-1.2/Connects";
173 public static final String DefaultConnectionType = "http://www.simantics.org/Structural-1.2/DefaultConnectionType";
174 public static final String DefaultModelingRules = "http://www.simantics.org/Structural-1.2/DefaultModelingRules";
175 public static final String DefaultsToConnectionType = "http://www.simantics.org/Structural-1.2/DefaultsToConnectionType";
176 public static final String DefaultsToConnectionType_Inverse = "http://www.simantics.org/Structural-1.2/DefaultsToConnectionType/Inverse";
177 public static final String DefinedComponentType = "http://www.simantics.org/Structural-1.2/DefinedComponentType";
178 public static final String Defines = "http://www.simantics.org/Structural-1.2/Defines";
179 public static final String Functions = "http://www.simantics.org/Structural-1.2/Functions";
180 public static final String Functions_computeExpression = "http://www.simantics.org/Structural-1.2/Functions/computeExpression";
181 public static final String Functions_connectionExtension = "http://www.simantics.org/Structural-1.2/Functions/connectionExtension";
182 public static final String Functions_connectionIssueDescription = "http://www.simantics.org/Structural-1.2/Functions/connectionIssueDescription";
183 public static final String Functions_connectionValidator = "http://www.simantics.org/Structural-1.2/Functions/connectionValidator";
184 public static final String Functions_connectionValueAccessor = "http://www.simantics.org/Structural-1.2/Functions/connectionValueAccessor";
185 public static final String Functions_expressionValueAccessor = "http://www.simantics.org/Structural-1.2/Functions/expressionValueAccessor";
186 public static final String Functions_structuralChildDomainChildren = "http://www.simantics.org/Structural-1.2/Functions/structuralChildDomainChildren";
187 public static final String Functions_structuralChildDomainProperties = "http://www.simantics.org/Structural-1.2/Functions/structuralChildDomainProperties";
188 public static final String Functions_structuralRunDomainChildren = "http://www.simantics.org/Structural-1.2/Functions/structuralRunDomainChildren";
189 public static final String GroupBelongsTo = "http://www.simantics.org/Structural-1.2/GroupBelongsTo";
190 public static final String GroupBelongsToInverse = "http://www.simantics.org/Structural-1.2/GroupBelongsToInverse";
191 public static final String GroupSubsumption = "http://www.simantics.org/Structural-1.2/GroupSubsumption";
192 public static final String HasAttachmentRelation = "http://www.simantics.org/Structural-1.2/HasAttachmentRelation";
193 public static final String HasCardinalityRestriction = "http://www.simantics.org/Structural-1.2/HasCardinalityRestriction";
194 public static final String HasConnectionConstraint = "http://www.simantics.org/Structural-1.2/HasConnectionConstraint";
195 public static final String HasConnectionDirection = "http://www.simantics.org/Structural-1.2/HasConnectionDirection";
196 public static final String HasConnectionJoin = "http://www.simantics.org/Structural-1.2/HasConnectionJoin";
197 public static final String HasConnectionType = "http://www.simantics.org/Structural-1.2/HasConnectionType";
198 public static final String HasExpression = "http://www.simantics.org/Structural-1.2/HasExpression";
199 public static final String HasExpression_Inverse = "http://www.simantics.org/Structural-1.2/HasExpression/Inverse";
200 public static final String HasJoinClusterSet = "http://www.simantics.org/Structural-1.2/HasJoinClusterSet";
201 public static final String HasJoinClusterSet_Inverse = "http://www.simantics.org/Structural-1.2/HasJoinClusterSet/Inverse";
202 public static final String HasLowerBound = "http://www.simantics.org/Structural-1.2/HasLowerBound";
203 public static final String HasLowerBound_Inverse = "http://www.simantics.org/Structural-1.2/HasLowerBound/Inverse";
204 public static final String HasModelingRules = "http://www.simantics.org/Structural-1.2/HasModelingRules";
205 public static final String HasSubgroup = "http://www.simantics.org/Structural-1.2/HasSubgroup";
206 public static final String HasUpperBound = "http://www.simantics.org/Structural-1.2/HasUpperBound";
207 public static final String HasUpperBound_Inverse = "http://www.simantics.org/Structural-1.2/HasUpperBound/Inverse";
208 public static final String InComposite = "http://www.simantics.org/Structural-1.2/InComposite";
209 public static final String InComposite_Inverse = "http://www.simantics.org/Structural-1.2/InComposite/Inverse";
210 public static final String InputDirection = "http://www.simantics.org/Structural-1.2/InputDirection";
211 public static final String InvalidSCLExpressionIssue = "http://www.simantics.org/Structural-1.2/InvalidSCLExpressionIssue";
212 public static final String IsBoundBy = "http://www.simantics.org/Structural-1.2/IsBoundBy";
213 public static final String IsConnectedTo = "http://www.simantics.org/Structural-1.2/IsConnectedTo";
214 public static final String IsDefinedBy = "http://www.simantics.org/Structural-1.2/IsDefinedBy";
215 public static final String IsIncludedInConnectionType = "http://www.simantics.org/Structural-1.2/IsIncludedInConnectionType";
216 public static final String IsIncludedInConnectionType_Inverse = "http://www.simantics.org/Structural-1.2/IsIncludedInConnectionType/Inverse";
217 public static final String IsJoinedBy = "http://www.simantics.org/Structural-1.2/IsJoinedBy";
218 public static final String Joins = "http://www.simantics.org/Structural-1.2/Joins";
219 public static final String JoinsComposite = "http://www.simantics.org/Structural-1.2/JoinsComposite";
220 public static final String ModelingRules = "http://www.simantics.org/Structural-1.2/ModelingRules";
221 public static final String MonitorValue = "http://www.simantics.org/Structural-1.2/MonitorValue";
222 public static final String MonitorValueType = "http://www.simantics.org/Structural-1.2/MonitorValueType";
223 public static final String OrderedComposite = "http://www.simantics.org/Structural-1.2/OrderedComposite";
224 public static final String OutputDirection = "http://www.simantics.org/Structural-1.2/OutputDirection";
225 public static final String OverridesConnectionType = "http://www.simantics.org/Structural-1.2/OverridesConnectionType";
226 public static final String OverridesConnectionType_Inverse = "http://www.simantics.org/Structural-1.2/OverridesConnectionType/Inverse";
227 public static final String ProceduralComponentType = "http://www.simantics.org/Structural-1.2/ProceduralComponentType";
228 public static final String ProceduralComponentTypeCode = "http://www.simantics.org/Structural-1.2/ProceduralComponentTypeCode";
229 public static final String ProceduralComponentType_code = "http://www.simantics.org/Structural-1.2/ProceduralComponentType/code";
230 public static final String ProceduralComponentType_code_Inverse = "http://www.simantics.org/Structural-1.2/ProceduralComponentType/code/Inverse";
231 public static final String ProceduralComponentType_environment = "http://www.simantics.org/Structural-1.2/ProceduralComponentType/environment";
232 public static final String Property = "http://www.simantics.org/Structural-1.2/Property";
233 public static final String ProvidingConnectionRelation = "http://www.simantics.org/Structural-1.2/ProvidingConnectionRelation";
234 public static final String Run = "http://www.simantics.org/Structural-1.2/Run";
235 public static final String SCLValue = "http://www.simantics.org/Structural-1.2/SCLValue";
236 public static final String SimpleModelingRules = "http://www.simantics.org/Structural-1.2/SimpleModelingRules";
237 public static final String StandardModelingRules = "http://www.simantics.org/Structural-1.2/StandardModelingRules";
238 public static final String SupportsConnectionType = "http://www.simantics.org/Structural-1.2/SupportsConnectionType";
239 public static final String SupportsDirection = "http://www.simantics.org/Structural-1.2/SupportsDirection";
240 public static final String SynchronizedConnectionRelation = "http://www.simantics.org/Structural-1.2/SynchronizedConnectionRelation";
241 public static final String SynchronizedRelation = "http://www.simantics.org/Structural-1.2/SynchronizedRelation";
242 public static final String UserDefinedProperty = "http://www.simantics.org/Structural-1.2/UserDefinedProperty";
243 public static final String input = "http://www.simantics.org/Structural-1.2/input";
244 public static final String input_Inverse = "http://www.simantics.org/Structural-1.2/input/Inverse";
245 public static final String scl = "http://www.simantics.org/Structural-1.2/scl";
246 public static final String sclValue = "http://www.simantics.org/Structural-1.2/sclValue";
247 public static final String structuralRevision = "http://www.simantics.org/Structural-1.2/structuralRevision";
248 public static final String structuralRevision_Inverse = "http://www.simantics.org/Structural-1.2/structuralRevision/Inverse";
249 public static final String synchronizedRevision = "http://www.simantics.org/Structural-1.2/synchronizedRevision";
250 public static final String synchronizedRevision_Inverse = "http://www.simantics.org/Structural-1.2/synchronizedRevision/Inverse";
253 public static Resource getResourceOrNull(ReadGraph graph, String uri) {
255 return graph.getResource(uri);
256 } catch(DatabaseException e) {
257 System.err.println(e.getMessage());
262 public StructuralResource2(ReadGraph graph) {
263 AbstractDefinedComponentType = getResourceOrNull(graph, URIs.AbstractDefinedComponentType);
264 AllowsConnectionType = getResourceOrNull(graph, URIs.AllowsConnectionType);
265 AllowsConnectionType_Inverse = getResourceOrNull(graph, URIs.AllowsConnectionType_Inverse);
266 BelongsTo = getResourceOrNull(graph, URIs.BelongsTo);
267 BelongsToInverse = getResourceOrNull(graph, URIs.BelongsToInverse);
268 Binds = getResourceOrNull(graph, URIs.Binds);
269 CardinalityRestriction = getResourceOrNull(graph, URIs.CardinalityRestriction);
270 Component = getResourceOrNull(graph, URIs.Component);
271 ComponentGroup = getResourceOrNull(graph, URIs.ComponentGroup);
272 ComponentType = getResourceOrNull(graph, URIs.ComponentType);
273 ComponentTypeScript = getResourceOrNull(graph, URIs.ComponentTypeScript);
274 ComponentTypeScript_code = getResourceOrNull(graph, URIs.ComponentTypeScript_code);
275 ComponentTypeScript_code_Inverse = getResourceOrNull(graph, URIs.ComponentTypeScript_code_Inverse);
276 ComponentTypeScript_type = getResourceOrNull(graph, URIs.ComponentTypeScript_type);
277 ComponentTypeScript_type_Inverse = getResourceOrNull(graph, URIs.ComponentTypeScript_type_Inverse);
278 ComponentType_HasDefaultMonitorValueType = getResourceOrNull(graph, URIs.ComponentType_HasDefaultMonitorValueType);
279 ComponentType_HasDefaultPropertyRelationType = getResourceOrNull(graph, URIs.ComponentType_HasDefaultPropertyRelationType);
280 ComponentType_HasDefaultPropertyValueType = getResourceOrNull(graph, URIs.ComponentType_HasDefaultPropertyValueType);
281 ComponentType_Locked = getResourceOrNull(graph, URIs.ComponentType_Locked);
282 ComponentType_hasScript = getResourceOrNull(graph, URIs.ComponentType_hasScript);
283 ComponentType_hasScript_Inverse = getResourceOrNull(graph, URIs.ComponentType_hasScript_Inverse);
284 Composite = getResourceOrNull(graph, URIs.Composite);
285 Composite_instantiationFunction = getResourceOrNull(graph, URIs.Composite_instantiationFunction);
286 Composite_instantiationFunction_Inverse = getResourceOrNull(graph, URIs.Composite_instantiationFunction_Inverse);
287 Composite_namingFunction = getResourceOrNull(graph, URIs.Composite_namingFunction);
288 Composite_namingFunction_Inverse = getResourceOrNull(graph, URIs.Composite_namingFunction_Inverse);
289 Connection = getResourceOrNull(graph, URIs.Connection);
290 ConnectionConstraint = getResourceOrNull(graph, URIs.ConnectionConstraint);
291 ConnectionConstraint_ErrorIssue = getResourceOrNull(graph, URIs.ConnectionConstraint_ErrorIssue);
292 ConnectionConstraint_Source = getResourceOrNull(graph, URIs.ConnectionConstraint_Source);
293 ConnectionDirection = getResourceOrNull(graph, URIs.ConnectionDirection);
294 ConnectionJoin = getResourceOrNull(graph, URIs.ConnectionJoin);
295 ConnectionRelation = getResourceOrNull(graph, URIs.ConnectionRelation);
296 ConnectionRelation_connectionRequired = getResourceOrNull(graph, URIs.ConnectionRelation_connectionRequired);
297 ConnectionRelation_connectionRequired_Inverse = getResourceOrNull(graph, URIs.ConnectionRelation_connectionRequired_Inverse);
298 ConnectionRelation_equivalentConnectionPoint = getResourceOrNull(graph, URIs.ConnectionRelation_equivalentConnectionPoint);
299 ConnectionType = getResourceOrNull(graph, URIs.ConnectionType);
300 ConnectionType_isUserSelectable = getResourceOrNull(graph, URIs.ConnectionType_isUserSelectable);
301 ConnectionType_isUserSelectable_Inverse = getResourceOrNull(graph, URIs.ConnectionType_isUserSelectable_Inverse);
302 Connects = getResourceOrNull(graph, URIs.Connects);
303 DefaultConnectionType = getResourceOrNull(graph, URIs.DefaultConnectionType);
304 DefaultModelingRules = getResourceOrNull(graph, URIs.DefaultModelingRules);
305 DefaultsToConnectionType = getResourceOrNull(graph, URIs.DefaultsToConnectionType);
306 DefaultsToConnectionType_Inverse = getResourceOrNull(graph, URIs.DefaultsToConnectionType_Inverse);
307 DefinedComponentType = getResourceOrNull(graph, URIs.DefinedComponentType);
308 Defines = getResourceOrNull(graph, URIs.Defines);
309 Functions = getResourceOrNull(graph, URIs.Functions);
310 Functions_computeExpression = getResourceOrNull(graph, URIs.Functions_computeExpression);
311 Functions_connectionExtension = getResourceOrNull(graph, URIs.Functions_connectionExtension);
312 Functions_connectionIssueDescription = getResourceOrNull(graph, URIs.Functions_connectionIssueDescription);
313 Functions_connectionValidator = getResourceOrNull(graph, URIs.Functions_connectionValidator);
314 Functions_connectionValueAccessor = getResourceOrNull(graph, URIs.Functions_connectionValueAccessor);
315 Functions_expressionValueAccessor = getResourceOrNull(graph, URIs.Functions_expressionValueAccessor);
316 Functions_structuralChildDomainChildren = getResourceOrNull(graph, URIs.Functions_structuralChildDomainChildren);
317 Functions_structuralChildDomainProperties = getResourceOrNull(graph, URIs.Functions_structuralChildDomainProperties);
318 Functions_structuralRunDomainChildren = getResourceOrNull(graph, URIs.Functions_structuralRunDomainChildren);
319 GroupBelongsTo = getResourceOrNull(graph, URIs.GroupBelongsTo);
320 GroupBelongsToInverse = getResourceOrNull(graph, URIs.GroupBelongsToInverse);
321 GroupSubsumption = getResourceOrNull(graph, URIs.GroupSubsumption);
322 HasAttachmentRelation = getResourceOrNull(graph, URIs.HasAttachmentRelation);
323 HasCardinalityRestriction = getResourceOrNull(graph, URIs.HasCardinalityRestriction);
324 HasConnectionConstraint = getResourceOrNull(graph, URIs.HasConnectionConstraint);
325 HasConnectionDirection = getResourceOrNull(graph, URIs.HasConnectionDirection);
326 HasConnectionJoin = getResourceOrNull(graph, URIs.HasConnectionJoin);
327 HasConnectionType = getResourceOrNull(graph, URIs.HasConnectionType);
328 HasExpression = getResourceOrNull(graph, URIs.HasExpression);
329 HasExpression_Inverse = getResourceOrNull(graph, URIs.HasExpression_Inverse);
330 HasJoinClusterSet = getResourceOrNull(graph, URIs.HasJoinClusterSet);
331 HasJoinClusterSet_Inverse = getResourceOrNull(graph, URIs.HasJoinClusterSet_Inverse);
332 HasLowerBound = getResourceOrNull(graph, URIs.HasLowerBound);
333 HasLowerBound_Inverse = getResourceOrNull(graph, URIs.HasLowerBound_Inverse);
334 HasModelingRules = getResourceOrNull(graph, URIs.HasModelingRules);
335 HasSubgroup = getResourceOrNull(graph, URIs.HasSubgroup);
336 HasUpperBound = getResourceOrNull(graph, URIs.HasUpperBound);
337 HasUpperBound_Inverse = getResourceOrNull(graph, URIs.HasUpperBound_Inverse);
338 InComposite = getResourceOrNull(graph, URIs.InComposite);
339 InComposite_Inverse = getResourceOrNull(graph, URIs.InComposite_Inverse);
340 InputDirection = getResourceOrNull(graph, URIs.InputDirection);
341 InvalidSCLExpressionIssue = getResourceOrNull(graph, URIs.InvalidSCLExpressionIssue);
342 IsBoundBy = getResourceOrNull(graph, URIs.IsBoundBy);
343 IsConnectedTo = getResourceOrNull(graph, URIs.IsConnectedTo);
344 IsDefinedBy = getResourceOrNull(graph, URIs.IsDefinedBy);
345 IsIncludedInConnectionType = getResourceOrNull(graph, URIs.IsIncludedInConnectionType);
346 IsIncludedInConnectionType_Inverse = getResourceOrNull(graph, URIs.IsIncludedInConnectionType_Inverse);
347 IsJoinedBy = getResourceOrNull(graph, URIs.IsJoinedBy);
348 Joins = getResourceOrNull(graph, URIs.Joins);
349 JoinsComposite = getResourceOrNull(graph, URIs.JoinsComposite);
350 ModelingRules = getResourceOrNull(graph, URIs.ModelingRules);
351 MonitorValue = getResourceOrNull(graph, URIs.MonitorValue);
352 MonitorValueType = getResourceOrNull(graph, URIs.MonitorValueType);
353 OrderedComposite = getResourceOrNull(graph, URIs.OrderedComposite);
354 OutputDirection = getResourceOrNull(graph, URIs.OutputDirection);
355 OverridesConnectionType = getResourceOrNull(graph, URIs.OverridesConnectionType);
356 OverridesConnectionType_Inverse = getResourceOrNull(graph, URIs.OverridesConnectionType_Inverse);
357 ProceduralComponentType = getResourceOrNull(graph, URIs.ProceduralComponentType);
358 ProceduralComponentTypeCode = getResourceOrNull(graph, URIs.ProceduralComponentTypeCode);
359 ProceduralComponentType_code = getResourceOrNull(graph, URIs.ProceduralComponentType_code);
360 ProceduralComponentType_code_Inverse = getResourceOrNull(graph, URIs.ProceduralComponentType_code_Inverse);
361 ProceduralComponentType_environment = getResourceOrNull(graph, URIs.ProceduralComponentType_environment);
362 Property = getResourceOrNull(graph, URIs.Property);
363 ProvidingConnectionRelation = getResourceOrNull(graph, URIs.ProvidingConnectionRelation);
364 Run = getResourceOrNull(graph, URIs.Run);
365 SCLValue = getResourceOrNull(graph, URIs.SCLValue);
366 SimpleModelingRules = getResourceOrNull(graph, URIs.SimpleModelingRules);
367 StandardModelingRules = getResourceOrNull(graph, URIs.StandardModelingRules);
368 SupportsConnectionType = getResourceOrNull(graph, URIs.SupportsConnectionType);
369 SupportsDirection = getResourceOrNull(graph, URIs.SupportsDirection);
370 SynchronizedConnectionRelation = getResourceOrNull(graph, URIs.SynchronizedConnectionRelation);
371 SynchronizedRelation = getResourceOrNull(graph, URIs.SynchronizedRelation);
372 UserDefinedProperty = getResourceOrNull(graph, URIs.UserDefinedProperty);
373 input = getResourceOrNull(graph, URIs.input);
374 input_Inverse = getResourceOrNull(graph, URIs.input_Inverse);
375 scl = getResourceOrNull(graph, URIs.scl);
376 sclValue = getResourceOrNull(graph, URIs.sclValue);
377 structuralRevision = getResourceOrNull(graph, URIs.structuralRevision);
378 structuralRevision_Inverse = getResourceOrNull(graph, URIs.structuralRevision_Inverse);
379 synchronizedRevision = getResourceOrNull(graph, URIs.synchronizedRevision);
380 synchronizedRevision_Inverse = getResourceOrNull(graph, URIs.synchronizedRevision_Inverse);
383 public static StructuralResource2 getInstance(ReadGraph graph) {
384 Session session = graph.getSession();
385 StructuralResource2 ret = session.peekService(StructuralResource2.class);
387 QueryControl qc = graph.getService(QueryControl.class);
388 ret = new StructuralResource2(qc.getIndependentGraph(graph));
389 session.registerService(StructuralResource2.class, ret);
394 public static StructuralResource2 getInstance(RequestProcessor session) throws DatabaseException {
395 StructuralResource2 ret = session.peekService(StructuralResource2.class);
397 ret = session.syncRequest(new Read<StructuralResource2>() {
398 public StructuralResource2 perform(ReadGraph graph) throws DatabaseException {
399 QueryControl qc = graph.getService(QueryControl.class);
400 return new StructuralResource2(qc.getIndependentGraph(graph));
403 session.registerService(StructuralResource2.class, ret);