1 package org.simantics.district.network.ontology;
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 DistrictNetworkResource {
13 public final Resource ActionContext;
14 public final Resource ActionContext_newDiagramContribution;
15 public final Resource Actions;
16 public final Resource Actions_NewDNDiagram;
17 public final Resource AddLayerToDNDiagramTemplate;
18 public final Resource BrowseContext;
19 public final Resource Composite;
20 public final Resource Connection;
21 public final Resource Diagram;
22 public final Resource Diagram_MappedDiagram;
23 public final Resource Diagram_MappedFromDiagram;
24 public final Resource Diagram_backgroundColor;
25 public final Resource Diagram_backgroundColor_Inverse;
26 public final Resource Diagram_drawMapEnabled;
27 public final Resource Diagram_drawMapEnabled_Inverse;
28 public final Resource Diagram_edgeThicknessBias;
29 public final Resource Diagram_edgeThicknessBias_Inverse;
30 public final Resource Diagram_edgeThicknessGain;
31 public final Resource Diagram_edgeThicknessGain_Inverse;
32 public final Resource Diagram_edgeThicknessProperty;
33 public final Resource Diagram_edgeThicknessProperty_Inverse;
34 public final Resource Diagram_elementColoringFunction;
35 public final Resource Diagram_elementColoringFunction_Inverse;
36 public final Resource Diagram_elementColoringGradientHue;
37 public final Resource Diagram_elementColoringGradientHue_Inverse;
38 public final Resource Diagram_elementColoringGradientSaturation;
39 public final Resource Diagram_elementColoringGradientSaturation_Inverse;
40 public final Resource Diagram_nodeScaleBias;
41 public final Resource Diagram_nodeScaleBias_Inverse;
42 public final Resource Diagram_nodeScaleGain;
43 public final Resource Diagram_nodeScaleGain_Inverse;
44 public final Resource Diagram_nodeScaleProperty;
45 public final Resource Diagram_nodeScaleProperty_Inverse;
46 public final Resource Diagram_profileUpdateInterval;
47 public final Resource Diagram_profileUpdateInterval_Inverse;
48 public final Resource Diagram_splitToMultipleEnabled;
49 public final Resource Diagram_splitToMultipleEnabled_Inverse;
50 public final Resource Diagram_trackChangesEnabled;
51 public final Resource Diagram_trackChangesEnabled_Inverse;
52 public final Resource DistrictNodeGroup;
53 public final Resource DistrictNodeGroup_hasComponentTypeName;
54 public final Resource DistrictNodeGroup_hasComponentTypeName_Inverse;
55 public final Resource EPSG_4326;
56 public final Resource Edge;
57 public final Resource EdgeDefaultMapping;
58 public final Resource EdgeDefaultMapping_Inverse;
59 public final Resource EdgeMappingParameterType;
60 public final Resource EdgeThicknessPropertyParameterType;
61 public final Resource EdgeThicknessStyle;
62 public final Resource Edge_HasDiameter;
63 public final Resource Edge_HasDiameter_Inverse;
64 public final Resource Edge_HasElevation;
65 public final Resource Edge_HasElevation_Inverse;
66 public final Resource Edge_HasFlowArea;
67 public final Resource Edge_HasFlowArea_Inverse;
68 public final Resource Edge_HasKReturn;
69 public final Resource Edge_HasKReturn_Inverse;
70 public final Resource Edge_HasKSupply;
71 public final Resource Edge_HasKSupply_Inverse;
72 public final Resource Edge_HasLength;
73 public final Resource Edge_HasLength_Inverse;
74 public final Resource Edge_HasNominalMassFlow;
75 public final Resource Edge_HasNominalMassFlow_Inverse;
76 public final Resource Edge_HasOuterDiameter;
77 public final Resource Edge_HasOuterDiameter_Inverse;
78 public final Resource Edge_HasTGround;
79 public final Resource Edge_HasTGround_Inverse;
80 public final Resource Edge_ThicknessProperty;
81 public final Resource Edge_ThicknessProperty_Diameter;
82 public final Resource Edge_ThicknessProperty_OnlyGainAndBias;
83 public final Resource Edge_ThicknessProperty_bias;
84 public final Resource Edge_ThicknessProperty_bias_Inverse;
85 public final Resource Edge_ThicknessProperty_gain;
86 public final Resource Edge_ThicknessProperty_gain_Inverse;
87 public final Resource Edge_ThicknessProperty_value;
88 public final Resource Edge_ThicknessProperty_value_Inverse;
89 public final Resource Element;
90 public final Resource ElementColoringStyle;
91 public final Resource Functions;
92 public final Resource Functions_brightnessValidator;
93 public final Resource Functions_compositeInstantiator;
94 public final Resource Functions_constantOne;
95 public final Resource Functions_convertToValue;
96 public final Resource Functions_defaultEdgeMappingModifier;
97 public final Resource Functions_defaultVertexMappingModifier;
98 public final Resource Functions_edgeThicknessPropertyEnumerationValues;
99 public final Resource Functions_edgeThicknessPropertyModifier;
100 public final Resource Functions_enumerationValues;
101 public final Resource Functions_hasDiameterValue;
102 public final Resource Functions_hasElevation;
103 public final Resource Functions_hasNominalSupplyPressure;
104 public final Resource Functions_hueValidator;
105 public final Resource Functions_mappingModifier;
106 public final Resource Functions_nodeScalePropertyEnumerationValues;
107 public final Resource Functions_nodeScalePropertyModifier;
108 public final Resource Functions_saturationValidator;
109 public final Resource Groups;
110 public final Resource Groups_EdgeGroup;
111 public final Resource Groups_VertexGroup;
112 public final Resource HasEndVertex;
113 public final Resource HasEndVertex_Inverse;
114 public final Resource HasId;
115 public final Resource HasId_Inverse;
116 public final Resource HasInLayerTag;
117 public final Resource HasInLayerTag_Inverse;
118 public final Resource HasMapping;
119 public final Resource HasMapping_Inverse;
120 public final Resource HasSRID;
121 public final Resource HasSRID_Inverse;
122 public final Resource HasSRTEXT;
123 public final Resource HasSRTEXT_Inverse;
124 public final Resource HasSpatialRefSystem;
125 public final Resource HasSpatialRefSystem_Inverse;
126 public final Resource HasStartVertex;
127 public final Resource HasStartVertex_Inverse;
128 public final Resource HasSymbolFunction;
129 public final Resource HasSymbolFunction_Inverse;
130 public final Resource HideStyle;
131 public final Resource Images;
132 public final Resource Images_MapImage;
133 public final Resource InLayer;
134 public final Resource Layer;
135 public final Resource MappedComponent;
136 public final Resource MappedFromElement;
137 public final Resource Mapping;
138 public final Resource MappingParameterType;
139 public final Resource Mapping_Base;
140 public final Resource Mapping_ComponentType;
141 public final Resource Mapping_ComponentType_Inverse;
142 public final Resource Mapping_EdgeMapping;
143 public final Resource Mapping_EdgeMapping_DiameterAttribute;
144 public final Resource Mapping_EdgeMapping_DiameterAttribute_Inverse;
145 public final Resource Mapping_EdgeMapping_ElevationAttribute;
146 public final Resource Mapping_EdgeMapping_ElevationAttribute_Inverse;
147 public final Resource Mapping_EdgeMapping_FlowAreaAttribute;
148 public final Resource Mapping_EdgeMapping_FlowAreaAttribute_Inverse;
149 public final Resource Mapping_EdgeMapping_KReturnAttribute;
150 public final Resource Mapping_EdgeMapping_KReturnAttribute_Inverse;
151 public final Resource Mapping_EdgeMapping_KSupplyAttribute;
152 public final Resource Mapping_EdgeMapping_KSupplyAttribute_Inverse;
153 public final Resource Mapping_EdgeMapping_LengthAttribute;
154 public final Resource Mapping_EdgeMapping_LengthAttribute_Inverse;
155 public final Resource Mapping_EdgeMapping_NominalMassFlowAttribute;
156 public final Resource Mapping_EdgeMapping_NominalMassFlowAttribute_Inverse;
157 public final Resource Mapping_EdgeMapping_OuterDiameterAttribute;
158 public final Resource Mapping_EdgeMapping_OuterDiameterAttribute_Inverse;
159 public final Resource Mapping_EdgeMapping_TGroundAttribute;
160 public final Resource Mapping_EdgeMapping_TGroundAttribute_Inverse;
161 public final Resource Mapping_Id;
162 public final Resource Mapping_Id_Inverse;
163 public final Resource Mapping_InputTerminal;
164 public final Resource Mapping_InputTerminal_Inverse;
165 public final Resource Mapping_OutputTerminal;
166 public final Resource Mapping_OutputTerminal_Inverse;
167 public final Resource Mapping_Terminal;
168 public final Resource Mapping_TerminalPair;
169 public final Resource Mapping_Terminals;
170 public final Resource Mapping_Terminals_Inverse;
171 public final Resource Mapping_VertexMapping;
172 public final Resource Mapping_VertexMapping_AddressAttribute;
173 public final Resource Mapping_VertexMapping_AddressAttribute_Inverse;
174 public final Resource Mapping_VertexMapping_DeltaPressureAttribute;
175 public final Resource Mapping_VertexMapping_DeltaPressureAttribute_Inverse;
176 public final Resource Mapping_VertexMapping_DeltaTemperatureAttribute;
177 public final Resource Mapping_VertexMapping_DeltaTemperatureAttribute_Inverse;
178 public final Resource Mapping_VertexMapping_ElevationAttribute;
179 public final Resource Mapping_VertexMapping_ElevationAttribute_Inverse;
180 public final Resource Mapping_VertexMapping_FlowAreaAttribute;
181 public final Resource Mapping_VertexMapping_FlowAreaAttribute_Inverse;
182 public final Resource Mapping_VertexMapping_HeatLoadDsAttribute;
183 public final Resource Mapping_VertexMapping_HeatLoadDsAttribute_Inverse;
184 public final Resource Mapping_VertexMapping_HeatPowerAttribute;
185 public final Resource Mapping_VertexMapping_HeatPowerAttribute_Inverse;
186 public final Resource Mapping_VertexMapping_MassFlowAttribute;
187 public final Resource Mapping_VertexMapping_MassFlowAttribute_Inverse;
188 public final Resource Mapping_VertexMapping_MaximumHeadMAttribute;
189 public final Resource Mapping_VertexMapping_MaximumHeadMAttribute_Inverse;
190 public final Resource Mapping_VertexMapping_NominalFlowAttribute;
191 public final Resource Mapping_VertexMapping_NominalFlowAttribute_Inverse;
192 public final Resource Mapping_VertexMapping_NominalHeadBAttribute;
193 public final Resource Mapping_VertexMapping_NominalHeadBAttribute_Inverse;
194 public final Resource Mapping_VertexMapping_NominalHeadMAttribute;
195 public final Resource Mapping_VertexMapping_NominalHeadMAttribute_Inverse;
196 public final Resource Mapping_VertexMapping_NominalMassFlowAttribute;
197 public final Resource Mapping_VertexMapping_NominalMassFlowAttribute_Inverse;
198 public final Resource Mapping_VertexMapping_NominalPressureLossAttribute;
199 public final Resource Mapping_VertexMapping_NominalPressureLossAttribute_Inverse;
200 public final Resource Mapping_VertexMapping_ReturnPressureAttribute;
201 public final Resource Mapping_VertexMapping_ReturnPressureAttribute_Inverse;
202 public final Resource Mapping_VertexMapping_ReturnTemperatureAttribute;
203 public final Resource Mapping_VertexMapping_ReturnTemperatureAttribute_Inverse;
204 public final Resource Mapping_VertexMapping_SupplyPressureAttribute;
205 public final Resource Mapping_VertexMapping_SupplyPressureAttribute_Inverse;
206 public final Resource Mapping_VertexMapping_SupplyTemperatureAttribute;
207 public final Resource Mapping_VertexMapping_SupplyTemperatureAttribute_Inverse;
208 public final Resource Mapping_VertexMapping_ValvePositionAttribute;
209 public final Resource Mapping_VertexMapping_ValvePositionAttribute_Inverse;
210 public final Resource Mapping_VertexMapping_VelocityAttribute;
211 public final Resource Mapping_VertexMapping_VelocityAttribute_Inverse;
212 public final Resource Mapping_VertexMapping_VolFlowAttribute;
213 public final Resource Mapping_VertexMapping_VolFlowAttribute_Inverse;
214 public final Resource Mapping_VertexMapping_XAttribute;
215 public final Resource Mapping_VertexMapping_XAttribute_Inverse;
216 public final Resource Mapping_VertexMapping_YAttribute;
217 public final Resource Mapping_VertexMapping_YAttribute_Inverse;
218 public final Resource Mapping_VertexMapping_dpAttribute;
219 public final Resource Mapping_VertexMapping_dpAttribute_Inverse;
220 public final Resource Mapping_VertexMapping_dtAttribute;
221 public final Resource Mapping_VertexMapping_dtAttribute_Inverse;
222 public final Resource ReturnConnectionType;
223 public final Resource ReturnInConnectionType;
224 public final Resource ReturnOutConnectionType;
225 public final Resource SCLMain;
226 public final Resource SpatialRefSystem;
227 public final Resource SupplyConnectionType;
228 public final Resource SupplyInConnectionType;
229 public final Resource SupplyOutConnectionType;
230 public final Resource Vertex;
231 public final Resource VertexDefaultMapping;
232 public final Resource VertexDefaultMapping_Inverse;
233 public final Resource VertexMappingParameterType;
234 public final Resource VertexScalePropertyParameterType;
235 public final Resource VertexSizeStyle;
236 public final Resource VertexSymbolStyle;
237 public final Resource Vertex_HasAddress;
238 public final Resource Vertex_HasAddress_Inverse;
239 public final Resource Vertex_HasDeltaPressure;
240 public final Resource Vertex_HasDeltaPressure_Inverse;
241 public final Resource Vertex_HasDeltaTemperature;
242 public final Resource Vertex_HasDeltaTemperature_Inverse;
243 public final Resource Vertex_HasElevation;
244 public final Resource Vertex_HasElevation_Inverse;
245 public final Resource Vertex_HasFlowArea;
246 public final Resource Vertex_HasFlowArea_Inverse;
247 public final Resource Vertex_HasHeatLoadDs;
248 public final Resource Vertex_HasHeatLoadDs_Inverse;
249 public final Resource Vertex_HasHeatPower;
250 public final Resource Vertex_HasHeatPower_Inverse;
251 public final Resource Vertex_HasMassFlow;
252 public final Resource Vertex_HasMassFlow_Inverse;
253 public final Resource Vertex_HasMaximumHeadM;
254 public final Resource Vertex_HasMaximumHeadM_Inverse;
255 public final Resource Vertex_HasNominalFlow;
256 public final Resource Vertex_HasNominalFlow_Inverse;
257 public final Resource Vertex_HasNominalHeadB;
258 public final Resource Vertex_HasNominalHeadB_Inverse;
259 public final Resource Vertex_HasNominalHeadM;
260 public final Resource Vertex_HasNominalHeadM_Inverse;
261 public final Resource Vertex_HasNominalPressureLoss;
262 public final Resource Vertex_HasNominalPressureLoss_Inverse;
263 public final Resource Vertex_HasReturnPressure;
264 public final Resource Vertex_HasReturnPressure_Inverse;
265 public final Resource Vertex_HasReturnTemperature;
266 public final Resource Vertex_HasReturnTemperature_Inverse;
267 public final Resource Vertex_HasSupplyPressure;
268 public final Resource Vertex_HasSupplyPressure_Inverse;
269 public final Resource Vertex_HasSupplyTemperature;
270 public final Resource Vertex_HasSupplyTemperature_Inverse;
271 public final Resource Vertex_HasValvePosition;
272 public final Resource Vertex_HasValvePosition_Inverse;
273 public final Resource Vertex_HasVelocity;
274 public final Resource Vertex_HasVelocity_Inverse;
275 public final Resource Vertex_HasVolFlow;
276 public final Resource Vertex_HasVolFlow_Inverse;
277 public final Resource Vertex_ScaleProperty;
278 public final Resource Vertex_ScaleProperty_Elevation;
279 public final Resource Vertex_ScaleProperty_NominalSupplyPressure;
280 public final Resource Vertex_ScaleProperty_OnlyGainAndBias;
281 public final Resource Vertex_ScaleProperty_bias;
282 public final Resource Vertex_ScaleProperty_bias_Inverse;
283 public final Resource Vertex_ScaleProperty_gain;
284 public final Resource Vertex_ScaleProperty_gain_Inverse;
285 public final Resource Vertex_ScaleProperty_value;
286 public final Resource Vertex_ScaleProperty_value_Inverse;
288 public static class URIs {
289 public static final String ActionContext = "http://www.simantics.org/DistrictNetwork-1.0/ActionContext";
290 public static final String ActionContext_newDiagramContribution = "http://www.simantics.org/DistrictNetwork-1.0/ActionContext/newDiagramContribution";
291 public static final String Actions = "http://www.simantics.org/DistrictNetwork-1.0/Actions";
292 public static final String Actions_NewDNDiagram = "http://www.simantics.org/DistrictNetwork-1.0/Actions/NewDNDiagram";
293 public static final String AddLayerToDNDiagramTemplate = "http://www.simantics.org/DistrictNetwork-1.0/AddLayerToDNDiagramTemplate";
294 public static final String BrowseContext = "http://www.simantics.org/DistrictNetwork-1.0/BrowseContext";
295 public static final String Composite = "http://www.simantics.org/DistrictNetwork-1.0/Composite";
296 public static final String Connection = "http://www.simantics.org/DistrictNetwork-1.0/Connection";
297 public static final String Diagram = "http://www.simantics.org/DistrictNetwork-1.0/Diagram";
298 public static final String Diagram_MappedDiagram = "http://www.simantics.org/DistrictNetwork-1.0/Diagram/MappedDiagram";
299 public static final String Diagram_MappedFromDiagram = "http://www.simantics.org/DistrictNetwork-1.0/Diagram/MappedFromDiagram";
300 public static final String Diagram_backgroundColor = "http://www.simantics.org/DistrictNetwork-1.0/Diagram/backgroundColor";
301 public static final String Diagram_backgroundColor_Inverse = "http://www.simantics.org/DistrictNetwork-1.0/Diagram/backgroundColor/Inverse";
302 public static final String Diagram_drawMapEnabled = "http://www.simantics.org/DistrictNetwork-1.0/Diagram/drawMapEnabled";
303 public static final String Diagram_drawMapEnabled_Inverse = "http://www.simantics.org/DistrictNetwork-1.0/Diagram/drawMapEnabled/Inverse";
304 public static final String Diagram_edgeThicknessBias = "http://www.simantics.org/DistrictNetwork-1.0/Diagram/edgeThicknessBias";
305 public static final String Diagram_edgeThicknessBias_Inverse = "http://www.simantics.org/DistrictNetwork-1.0/Diagram/edgeThicknessBias/Inverse";
306 public static final String Diagram_edgeThicknessGain = "http://www.simantics.org/DistrictNetwork-1.0/Diagram/edgeThicknessGain";
307 public static final String Diagram_edgeThicknessGain_Inverse = "http://www.simantics.org/DistrictNetwork-1.0/Diagram/edgeThicknessGain/Inverse";
308 public static final String Diagram_edgeThicknessProperty = "http://www.simantics.org/DistrictNetwork-1.0/Diagram/edgeThicknessProperty";
309 public static final String Diagram_edgeThicknessProperty_Inverse = "http://www.simantics.org/DistrictNetwork-1.0/Diagram/edgeThicknessProperty/Inverse";
310 public static final String Diagram_elementColoringFunction = "http://www.simantics.org/DistrictNetwork-1.0/Diagram/elementColoringFunction";
311 public static final String Diagram_elementColoringFunction_Inverse = "http://www.simantics.org/DistrictNetwork-1.0/Diagram/elementColoringFunction/Inverse";
312 public static final String Diagram_elementColoringGradientHue = "http://www.simantics.org/DistrictNetwork-1.0/Diagram/elementColoringGradientHue";
313 public static final String Diagram_elementColoringGradientHue_Inverse = "http://www.simantics.org/DistrictNetwork-1.0/Diagram/elementColoringGradientHue/Inverse";
314 public static final String Diagram_elementColoringGradientSaturation = "http://www.simantics.org/DistrictNetwork-1.0/Diagram/elementColoringGradientSaturation";
315 public static final String Diagram_elementColoringGradientSaturation_Inverse = "http://www.simantics.org/DistrictNetwork-1.0/Diagram/elementColoringGradientSaturation/Inverse";
316 public static final String Diagram_nodeScaleBias = "http://www.simantics.org/DistrictNetwork-1.0/Diagram/nodeScaleBias";
317 public static final String Diagram_nodeScaleBias_Inverse = "http://www.simantics.org/DistrictNetwork-1.0/Diagram/nodeScaleBias/Inverse";
318 public static final String Diagram_nodeScaleGain = "http://www.simantics.org/DistrictNetwork-1.0/Diagram/nodeScaleGain";
319 public static final String Diagram_nodeScaleGain_Inverse = "http://www.simantics.org/DistrictNetwork-1.0/Diagram/nodeScaleGain/Inverse";
320 public static final String Diagram_nodeScaleProperty = "http://www.simantics.org/DistrictNetwork-1.0/Diagram/nodeScaleProperty";
321 public static final String Diagram_nodeScaleProperty_Inverse = "http://www.simantics.org/DistrictNetwork-1.0/Diagram/nodeScaleProperty/Inverse";
322 public static final String Diagram_profileUpdateInterval = "http://www.simantics.org/DistrictNetwork-1.0/Diagram/profileUpdateInterval";
323 public static final String Diagram_profileUpdateInterval_Inverse = "http://www.simantics.org/DistrictNetwork-1.0/Diagram/profileUpdateInterval/Inverse";
324 public static final String Diagram_splitToMultipleEnabled = "http://www.simantics.org/DistrictNetwork-1.0/Diagram/splitToMultipleEnabled";
325 public static final String Diagram_splitToMultipleEnabled_Inverse = "http://www.simantics.org/DistrictNetwork-1.0/Diagram/splitToMultipleEnabled/Inverse";
326 public static final String Diagram_trackChangesEnabled = "http://www.simantics.org/DistrictNetwork-1.0/Diagram/trackChangesEnabled";
327 public static final String Diagram_trackChangesEnabled_Inverse = "http://www.simantics.org/DistrictNetwork-1.0/Diagram/trackChangesEnabled/Inverse";
328 public static final String DistrictNodeGroup = "http://www.simantics.org/DistrictNetwork-1.0/DistrictNodeGroup";
329 public static final String DistrictNodeGroup_hasComponentTypeName = "http://www.simantics.org/DistrictNetwork-1.0/DistrictNodeGroup/hasComponentTypeName";
330 public static final String DistrictNodeGroup_hasComponentTypeName_Inverse = "http://www.simantics.org/DistrictNetwork-1.0/DistrictNodeGroup/hasComponentTypeName/Inverse";
331 public static final String EPSG_4326 = "http://www.simantics.org/DistrictNetwork-1.0/EPSG_4326";
332 public static final String Edge = "http://www.simantics.org/DistrictNetwork-1.0/Edge";
333 public static final String EdgeDefaultMapping = "http://www.simantics.org/DistrictNetwork-1.0/EdgeDefaultMapping";
334 public static final String EdgeDefaultMapping_Inverse = "http://www.simantics.org/DistrictNetwork-1.0/EdgeDefaultMapping/Inverse";
335 public static final String EdgeMappingParameterType = "http://www.simantics.org/DistrictNetwork-1.0/EdgeMappingParameterType";
336 public static final String EdgeThicknessPropertyParameterType = "http://www.simantics.org/DistrictNetwork-1.0/EdgeThicknessPropertyParameterType";
337 public static final String EdgeThicknessStyle = "http://www.simantics.org/DistrictNetwork-1.0/EdgeThicknessStyle";
338 public static final String Edge_HasDiameter = "http://www.simantics.org/DistrictNetwork-1.0/Edge/HasDiameter";
339 public static final String Edge_HasDiameter_Inverse = "http://www.simantics.org/DistrictNetwork-1.0/Edge/HasDiameter/Inverse";
340 public static final String Edge_HasElevation = "http://www.simantics.org/DistrictNetwork-1.0/Edge/HasElevation";
341 public static final String Edge_HasElevation_Inverse = "http://www.simantics.org/DistrictNetwork-1.0/Edge/HasElevation/Inverse";
342 public static final String Edge_HasFlowArea = "http://www.simantics.org/DistrictNetwork-1.0/Edge/HasFlowArea";
343 public static final String Edge_HasFlowArea_Inverse = "http://www.simantics.org/DistrictNetwork-1.0/Edge/HasFlowArea/Inverse";
344 public static final String Edge_HasKReturn = "http://www.simantics.org/DistrictNetwork-1.0/Edge/HasKReturn";
345 public static final String Edge_HasKReturn_Inverse = "http://www.simantics.org/DistrictNetwork-1.0/Edge/HasKReturn/Inverse";
346 public static final String Edge_HasKSupply = "http://www.simantics.org/DistrictNetwork-1.0/Edge/HasKSupply";
347 public static final String Edge_HasKSupply_Inverse = "http://www.simantics.org/DistrictNetwork-1.0/Edge/HasKSupply/Inverse";
348 public static final String Edge_HasLength = "http://www.simantics.org/DistrictNetwork-1.0/Edge/HasLength";
349 public static final String Edge_HasLength_Inverse = "http://www.simantics.org/DistrictNetwork-1.0/Edge/HasLength/Inverse";
350 public static final String Edge_HasNominalMassFlow = "http://www.simantics.org/DistrictNetwork-1.0/Edge/HasNominalMassFlow";
351 public static final String Edge_HasNominalMassFlow_Inverse = "http://www.simantics.org/DistrictNetwork-1.0/Edge/HasNominalMassFlow/Inverse";
352 public static final String Edge_HasOuterDiameter = "http://www.simantics.org/DistrictNetwork-1.0/Edge/HasOuterDiameter";
353 public static final String Edge_HasOuterDiameter_Inverse = "http://www.simantics.org/DistrictNetwork-1.0/Edge/HasOuterDiameter/Inverse";
354 public static final String Edge_HasTGround = "http://www.simantics.org/DistrictNetwork-1.0/Edge/HasTGround";
355 public static final String Edge_HasTGround_Inverse = "http://www.simantics.org/DistrictNetwork-1.0/Edge/HasTGround/Inverse";
356 public static final String Edge_ThicknessProperty = "http://www.simantics.org/DistrictNetwork-1.0/Edge/ThicknessProperty";
357 public static final String Edge_ThicknessProperty_Diameter = "http://www.simantics.org/DistrictNetwork-1.0/Edge/ThicknessProperty/Diameter";
358 public static final String Edge_ThicknessProperty_OnlyGainAndBias = "http://www.simantics.org/DistrictNetwork-1.0/Edge/ThicknessProperty/OnlyGainAndBias";
359 public static final String Edge_ThicknessProperty_bias = "http://www.simantics.org/DistrictNetwork-1.0/Edge/ThicknessProperty/bias";
360 public static final String Edge_ThicknessProperty_bias_Inverse = "http://www.simantics.org/DistrictNetwork-1.0/Edge/ThicknessProperty/bias/Inverse";
361 public static final String Edge_ThicknessProperty_gain = "http://www.simantics.org/DistrictNetwork-1.0/Edge/ThicknessProperty/gain";
362 public static final String Edge_ThicknessProperty_gain_Inverse = "http://www.simantics.org/DistrictNetwork-1.0/Edge/ThicknessProperty/gain/Inverse";
363 public static final String Edge_ThicknessProperty_value = "http://www.simantics.org/DistrictNetwork-1.0/Edge/ThicknessProperty/value";
364 public static final String Edge_ThicknessProperty_value_Inverse = "http://www.simantics.org/DistrictNetwork-1.0/Edge/ThicknessProperty/value/Inverse";
365 public static final String Element = "http://www.simantics.org/DistrictNetwork-1.0/Element";
366 public static final String ElementColoringStyle = "http://www.simantics.org/DistrictNetwork-1.0/ElementColoringStyle";
367 public static final String Functions = "http://www.simantics.org/DistrictNetwork-1.0/Functions";
368 public static final String Functions_brightnessValidator = "http://www.simantics.org/DistrictNetwork-1.0/Functions/brightnessValidator";
369 public static final String Functions_compositeInstantiator = "http://www.simantics.org/DistrictNetwork-1.0/Functions/compositeInstantiator";
370 public static final String Functions_constantOne = "http://www.simantics.org/DistrictNetwork-1.0/Functions/constantOne";
371 public static final String Functions_convertToValue = "http://www.simantics.org/DistrictNetwork-1.0/Functions/convertToValue";
372 public static final String Functions_defaultEdgeMappingModifier = "http://www.simantics.org/DistrictNetwork-1.0/Functions/defaultEdgeMappingModifier";
373 public static final String Functions_defaultVertexMappingModifier = "http://www.simantics.org/DistrictNetwork-1.0/Functions/defaultVertexMappingModifier";
374 public static final String Functions_edgeThicknessPropertyEnumerationValues = "http://www.simantics.org/DistrictNetwork-1.0/Functions/edgeThicknessPropertyEnumerationValues";
375 public static final String Functions_edgeThicknessPropertyModifier = "http://www.simantics.org/DistrictNetwork-1.0/Functions/edgeThicknessPropertyModifier";
376 public static final String Functions_enumerationValues = "http://www.simantics.org/DistrictNetwork-1.0/Functions/enumerationValues";
377 public static final String Functions_hasDiameterValue = "http://www.simantics.org/DistrictNetwork-1.0/Functions/hasDiameterValue";
378 public static final String Functions_hasElevation = "http://www.simantics.org/DistrictNetwork-1.0/Functions/hasElevation";
379 public static final String Functions_hasNominalSupplyPressure = "http://www.simantics.org/DistrictNetwork-1.0/Functions/hasNominalSupplyPressure";
380 public static final String Functions_hueValidator = "http://www.simantics.org/DistrictNetwork-1.0/Functions/hueValidator";
381 public static final String Functions_mappingModifier = "http://www.simantics.org/DistrictNetwork-1.0/Functions/mappingModifier";
382 public static final String Functions_nodeScalePropertyEnumerationValues = "http://www.simantics.org/DistrictNetwork-1.0/Functions/nodeScalePropertyEnumerationValues";
383 public static final String Functions_nodeScalePropertyModifier = "http://www.simantics.org/DistrictNetwork-1.0/Functions/nodeScalePropertyModifier";
384 public static final String Functions_saturationValidator = "http://www.simantics.org/DistrictNetwork-1.0/Functions/saturationValidator";
385 public static final String Groups = "http://www.simantics.org/DistrictNetwork-1.0/Groups";
386 public static final String Groups_EdgeGroup = "http://www.simantics.org/DistrictNetwork-1.0/Groups/EdgeGroup";
387 public static final String Groups_VertexGroup = "http://www.simantics.org/DistrictNetwork-1.0/Groups/VertexGroup";
388 public static final String HasEndVertex = "http://www.simantics.org/DistrictNetwork-1.0/HasEndVertex";
389 public static final String HasEndVertex_Inverse = "http://www.simantics.org/DistrictNetwork-1.0/HasEndVertex_Inverse";
390 public static final String HasId = "http://www.simantics.org/DistrictNetwork-1.0/HasId";
391 public static final String HasId_Inverse = "http://www.simantics.org/DistrictNetwork-1.0/HasId/Inverse";
392 public static final String HasInLayerTag = "http://www.simantics.org/DistrictNetwork-1.0/HasInLayerTag";
393 public static final String HasInLayerTag_Inverse = "http://www.simantics.org/DistrictNetwork-1.0/HasInLayerTag/Inverse";
394 public static final String HasMapping = "http://www.simantics.org/DistrictNetwork-1.0/HasMapping";
395 public static final String HasMapping_Inverse = "http://www.simantics.org/DistrictNetwork-1.0/HasMapping/Inverse";
396 public static final String HasSRID = "http://www.simantics.org/DistrictNetwork-1.0/HasSRID";
397 public static final String HasSRID_Inverse = "http://www.simantics.org/DistrictNetwork-1.0/HasSRID/Inverse";
398 public static final String HasSRTEXT = "http://www.simantics.org/DistrictNetwork-1.0/HasSRTEXT";
399 public static final String HasSRTEXT_Inverse = "http://www.simantics.org/DistrictNetwork-1.0/HasSRTEXT/Inverse";
400 public static final String HasSpatialRefSystem = "http://www.simantics.org/DistrictNetwork-1.0/HasSpatialRefSystem";
401 public static final String HasSpatialRefSystem_Inverse = "http://www.simantics.org/DistrictNetwork-1.0/HasSpatialRefSystem/Inverse";
402 public static final String HasStartVertex = "http://www.simantics.org/DistrictNetwork-1.0/HasStartVertex";
403 public static final String HasStartVertex_Inverse = "http://www.simantics.org/DistrictNetwork-1.0/HasStartVertex_Inverse";
404 public static final String HasSymbolFunction = "http://www.simantics.org/DistrictNetwork-1.0/HasSymbolFunction";
405 public static final String HasSymbolFunction_Inverse = "http://www.simantics.org/DistrictNetwork-1.0/HasSymbolFunction/Inverse";
406 public static final String HideStyle = "http://www.simantics.org/DistrictNetwork-1.0/HideStyle";
407 public static final String Images = "http://www.simantics.org/DistrictNetwork-1.0/Images";
408 public static final String Images_MapImage = "http://www.simantics.org/DistrictNetwork-1.0/Images/MapImage";
409 public static final String InLayer = "http://www.simantics.org/DistrictNetwork-1.0/InLayer";
410 public static final String Layer = "http://www.simantics.org/DistrictNetwork-1.0/Layer";
411 public static final String MappedComponent = "http://www.simantics.org/DistrictNetwork-1.0/MappedComponent";
412 public static final String MappedFromElement = "http://www.simantics.org/DistrictNetwork-1.0/MappedFromElement";
413 public static final String Mapping = "http://www.simantics.org/DistrictNetwork-1.0/Mapping";
414 public static final String MappingParameterType = "http://www.simantics.org/DistrictNetwork-1.0/MappingParameterType";
415 public static final String Mapping_Base = "http://www.simantics.org/DistrictNetwork-1.0/Mapping/Base";
416 public static final String Mapping_ComponentType = "http://www.simantics.org/DistrictNetwork-1.0/Mapping/ComponentType";
417 public static final String Mapping_ComponentType_Inverse = "http://www.simantics.org/DistrictNetwork-1.0/Mapping/ComponentType/Inverse";
418 public static final String Mapping_EdgeMapping = "http://www.simantics.org/DistrictNetwork-1.0/Mapping/EdgeMapping";
419 public static final String Mapping_EdgeMapping_DiameterAttribute = "http://www.simantics.org/DistrictNetwork-1.0/Mapping/EdgeMapping/DiameterAttribute";
420 public static final String Mapping_EdgeMapping_DiameterAttribute_Inverse = "http://www.simantics.org/DistrictNetwork-1.0/Mapping/EdgeMapping/DiameterAttribute/Inverse";
421 public static final String Mapping_EdgeMapping_ElevationAttribute = "http://www.simantics.org/DistrictNetwork-1.0/Mapping/EdgeMapping/ElevationAttribute";
422 public static final String Mapping_EdgeMapping_ElevationAttribute_Inverse = "http://www.simantics.org/DistrictNetwork-1.0/Mapping/EdgeMapping/ElevationAttribute/Inverse";
423 public static final String Mapping_EdgeMapping_FlowAreaAttribute = "http://www.simantics.org/DistrictNetwork-1.0/Mapping/EdgeMapping/FlowAreaAttribute";
424 public static final String Mapping_EdgeMapping_FlowAreaAttribute_Inverse = "http://www.simantics.org/DistrictNetwork-1.0/Mapping/EdgeMapping/FlowAreaAttribute/Inverse";
425 public static final String Mapping_EdgeMapping_KReturnAttribute = "http://www.simantics.org/DistrictNetwork-1.0/Mapping/EdgeMapping/KReturnAttribute";
426 public static final String Mapping_EdgeMapping_KReturnAttribute_Inverse = "http://www.simantics.org/DistrictNetwork-1.0/Mapping/EdgeMapping/KReturnAttribute/Inverse";
427 public static final String Mapping_EdgeMapping_KSupplyAttribute = "http://www.simantics.org/DistrictNetwork-1.0/Mapping/EdgeMapping/KSupplyAttribute";
428 public static final String Mapping_EdgeMapping_KSupplyAttribute_Inverse = "http://www.simantics.org/DistrictNetwork-1.0/Mapping/EdgeMapping/KSupplyAttribute/Inverse";
429 public static final String Mapping_EdgeMapping_LengthAttribute = "http://www.simantics.org/DistrictNetwork-1.0/Mapping/EdgeMapping/LengthAttribute";
430 public static final String Mapping_EdgeMapping_LengthAttribute_Inverse = "http://www.simantics.org/DistrictNetwork-1.0/Mapping/EdgeMapping/LengthAttribute/Inverse";
431 public static final String Mapping_EdgeMapping_NominalMassFlowAttribute = "http://www.simantics.org/DistrictNetwork-1.0/Mapping/EdgeMapping/NominalMassFlowAttribute";
432 public static final String Mapping_EdgeMapping_NominalMassFlowAttribute_Inverse = "http://www.simantics.org/DistrictNetwork-1.0/Mapping/EdgeMapping/NominalMassFlowAttribute/Inverse";
433 public static final String Mapping_EdgeMapping_OuterDiameterAttribute = "http://www.simantics.org/DistrictNetwork-1.0/Mapping/EdgeMapping/OuterDiameterAttribute";
434 public static final String Mapping_EdgeMapping_OuterDiameterAttribute_Inverse = "http://www.simantics.org/DistrictNetwork-1.0/Mapping/EdgeMapping/OuterDiameterAttribute/Inverse";
435 public static final String Mapping_EdgeMapping_TGroundAttribute = "http://www.simantics.org/DistrictNetwork-1.0/Mapping/EdgeMapping/TGroundAttribute";
436 public static final String Mapping_EdgeMapping_TGroundAttribute_Inverse = "http://www.simantics.org/DistrictNetwork-1.0/Mapping/EdgeMapping/TGroundAttribute/Inverse";
437 public static final String Mapping_Id = "http://www.simantics.org/DistrictNetwork-1.0/Mapping/Id";
438 public static final String Mapping_Id_Inverse = "http://www.simantics.org/DistrictNetwork-1.0/Mapping/Id/Inverse";
439 public static final String Mapping_InputTerminal = "http://www.simantics.org/DistrictNetwork-1.0/Mapping/InputTerminal";
440 public static final String Mapping_InputTerminal_Inverse = "http://www.simantics.org/DistrictNetwork-1.0/Mapping/InputTerminal/Inverse";
441 public static final String Mapping_OutputTerminal = "http://www.simantics.org/DistrictNetwork-1.0/Mapping/OutputTerminal";
442 public static final String Mapping_OutputTerminal_Inverse = "http://www.simantics.org/DistrictNetwork-1.0/Mapping/OutputTerminal/Inverse";
443 public static final String Mapping_Terminal = "http://www.simantics.org/DistrictNetwork-1.0/Mapping/Terminal";
444 public static final String Mapping_TerminalPair = "http://www.simantics.org/DistrictNetwork-1.0/Mapping/TerminalPair";
445 public static final String Mapping_Terminals = "http://www.simantics.org/DistrictNetwork-1.0/Mapping/Terminals";
446 public static final String Mapping_Terminals_Inverse = "http://www.simantics.org/DistrictNetwork-1.0/Mapping/Terminals/Inverse";
447 public static final String Mapping_VertexMapping = "http://www.simantics.org/DistrictNetwork-1.0/Mapping/VertexMapping";
448 public static final String Mapping_VertexMapping_AddressAttribute = "http://www.simantics.org/DistrictNetwork-1.0/Mapping/VertexMapping/AddressAttribute";
449 public static final String Mapping_VertexMapping_AddressAttribute_Inverse = "http://www.simantics.org/DistrictNetwork-1.0/Mapping/VertexMapping/AddressAttribute/Inverse";
450 public static final String Mapping_VertexMapping_DeltaPressureAttribute = "http://www.simantics.org/DistrictNetwork-1.0/Mapping/VertexMapping/DeltaPressureAttribute";
451 public static final String Mapping_VertexMapping_DeltaPressureAttribute_Inverse = "http://www.simantics.org/DistrictNetwork-1.0/Mapping/VertexMapping/DeltaPressureAttribute/Inverse";
452 public static final String Mapping_VertexMapping_DeltaTemperatureAttribute = "http://www.simantics.org/DistrictNetwork-1.0/Mapping/VertexMapping/DeltaTemperatureAttribute";
453 public static final String Mapping_VertexMapping_DeltaTemperatureAttribute_Inverse = "http://www.simantics.org/DistrictNetwork-1.0/Mapping/VertexMapping/DeltaTemperatureAttribute/Inverse";
454 public static final String Mapping_VertexMapping_ElevationAttribute = "http://www.simantics.org/DistrictNetwork-1.0/Mapping/VertexMapping/ElevationAttribute";
455 public static final String Mapping_VertexMapping_ElevationAttribute_Inverse = "http://www.simantics.org/DistrictNetwork-1.0/Mapping/VertexMapping/ElevationAttribute/Inverse";
456 public static final String Mapping_VertexMapping_FlowAreaAttribute = "http://www.simantics.org/DistrictNetwork-1.0/Mapping/VertexMapping/FlowAreaAttribute";
457 public static final String Mapping_VertexMapping_FlowAreaAttribute_Inverse = "http://www.simantics.org/DistrictNetwork-1.0/Mapping/VertexMapping/FlowAreaAttribute/Inverse";
458 public static final String Mapping_VertexMapping_HeatLoadDsAttribute = "http://www.simantics.org/DistrictNetwork-1.0/Mapping/VertexMapping/HeatLoadDsAttribute";
459 public static final String Mapping_VertexMapping_HeatLoadDsAttribute_Inverse = "http://www.simantics.org/DistrictNetwork-1.0/Mapping/VertexMapping/HeatLoadDsAttribute/Inverse";
460 public static final String Mapping_VertexMapping_HeatPowerAttribute = "http://www.simantics.org/DistrictNetwork-1.0/Mapping/VertexMapping/HeatPowerAttribute";
461 public static final String Mapping_VertexMapping_HeatPowerAttribute_Inverse = "http://www.simantics.org/DistrictNetwork-1.0/Mapping/VertexMapping/HeatPowerAttribute/Inverse";
462 public static final String Mapping_VertexMapping_MassFlowAttribute = "http://www.simantics.org/DistrictNetwork-1.0/Mapping/VertexMapping/MassFlowAttribute";
463 public static final String Mapping_VertexMapping_MassFlowAttribute_Inverse = "http://www.simantics.org/DistrictNetwork-1.0/Mapping/VertexMapping/MassFlowAttribute/Inverse";
464 public static final String Mapping_VertexMapping_MaximumHeadMAttribute = "http://www.simantics.org/DistrictNetwork-1.0/Mapping/VertexMapping/MaximumHeadMAttribute";
465 public static final String Mapping_VertexMapping_MaximumHeadMAttribute_Inverse = "http://www.simantics.org/DistrictNetwork-1.0/Mapping/VertexMapping/MaximumHeadMAttribute/Inverse";
466 public static final String Mapping_VertexMapping_NominalFlowAttribute = "http://www.simantics.org/DistrictNetwork-1.0/Mapping/VertexMapping/NominalFlowAttribute";
467 public static final String Mapping_VertexMapping_NominalFlowAttribute_Inverse = "http://www.simantics.org/DistrictNetwork-1.0/Mapping/VertexMapping/NominalFlowAttribute/Inverse";
468 public static final String Mapping_VertexMapping_NominalHeadBAttribute = "http://www.simantics.org/DistrictNetwork-1.0/Mapping/VertexMapping/NominalHeadBAttribute";
469 public static final String Mapping_VertexMapping_NominalHeadBAttribute_Inverse = "http://www.simantics.org/DistrictNetwork-1.0/Mapping/VertexMapping/NominalHeadBAttribute/Inverse";
470 public static final String Mapping_VertexMapping_NominalHeadMAttribute = "http://www.simantics.org/DistrictNetwork-1.0/Mapping/VertexMapping/NominalHeadMAttribute";
471 public static final String Mapping_VertexMapping_NominalHeadMAttribute_Inverse = "http://www.simantics.org/DistrictNetwork-1.0/Mapping/VertexMapping/NominalHeadMAttribute/Inverse";
472 public static final String Mapping_VertexMapping_NominalMassFlowAttribute = "http://www.simantics.org/DistrictNetwork-1.0/Mapping/VertexMapping/NominalMassFlowAttribute";
473 public static final String Mapping_VertexMapping_NominalMassFlowAttribute_Inverse = "http://www.simantics.org/DistrictNetwork-1.0/Mapping/VertexMapping/NominalMassFlowAttribute/Inverse";
474 public static final String Mapping_VertexMapping_NominalPressureLossAttribute = "http://www.simantics.org/DistrictNetwork-1.0/Mapping/VertexMapping/NominalPressureLossAttribute";
475 public static final String Mapping_VertexMapping_NominalPressureLossAttribute_Inverse = "http://www.simantics.org/DistrictNetwork-1.0/Mapping/VertexMapping/NominalPressureLossAttribute/Inverse";
476 public static final String Mapping_VertexMapping_ReturnPressureAttribute = "http://www.simantics.org/DistrictNetwork-1.0/Mapping/VertexMapping/ReturnPressureAttribute";
477 public static final String Mapping_VertexMapping_ReturnPressureAttribute_Inverse = "http://www.simantics.org/DistrictNetwork-1.0/Mapping/VertexMapping/ReturnPressureAttribute/Inverse";
478 public static final String Mapping_VertexMapping_ReturnTemperatureAttribute = "http://www.simantics.org/DistrictNetwork-1.0/Mapping/VertexMapping/ReturnTemperatureAttribute";
479 public static final String Mapping_VertexMapping_ReturnTemperatureAttribute_Inverse = "http://www.simantics.org/DistrictNetwork-1.0/Mapping/VertexMapping/ReturnTemperatureAttribute/Inverse";
480 public static final String Mapping_VertexMapping_SupplyPressureAttribute = "http://www.simantics.org/DistrictNetwork-1.0/Mapping/VertexMapping/SupplyPressureAttribute";
481 public static final String Mapping_VertexMapping_SupplyPressureAttribute_Inverse = "http://www.simantics.org/DistrictNetwork-1.0/Mapping/VertexMapping/SupplyPressureAttribute/Inverse";
482 public static final String Mapping_VertexMapping_SupplyTemperatureAttribute = "http://www.simantics.org/DistrictNetwork-1.0/Mapping/VertexMapping/SupplyTemperatureAttribute";
483 public static final String Mapping_VertexMapping_SupplyTemperatureAttribute_Inverse = "http://www.simantics.org/DistrictNetwork-1.0/Mapping/VertexMapping/SupplyTemperatureAttribute/Inverse";
484 public static final String Mapping_VertexMapping_ValvePositionAttribute = "http://www.simantics.org/DistrictNetwork-1.0/Mapping/VertexMapping/ValvePositionAttribute";
485 public static final String Mapping_VertexMapping_ValvePositionAttribute_Inverse = "http://www.simantics.org/DistrictNetwork-1.0/Mapping/VertexMapping/ValvePositionAttribute/Inverse";
486 public static final String Mapping_VertexMapping_VelocityAttribute = "http://www.simantics.org/DistrictNetwork-1.0/Mapping/VertexMapping/VelocityAttribute";
487 public static final String Mapping_VertexMapping_VelocityAttribute_Inverse = "http://www.simantics.org/DistrictNetwork-1.0/Mapping/VertexMapping/VelocityAttribute/Inverse";
488 public static final String Mapping_VertexMapping_VolFlowAttribute = "http://www.simantics.org/DistrictNetwork-1.0/Mapping/VertexMapping/VolFlowAttribute";
489 public static final String Mapping_VertexMapping_VolFlowAttribute_Inverse = "http://www.simantics.org/DistrictNetwork-1.0/Mapping/VertexMapping/VolFlowAttribute/Inverse";
490 public static final String Mapping_VertexMapping_XAttribute = "http://www.simantics.org/DistrictNetwork-1.0/Mapping/VertexMapping/XAttribute";
491 public static final String Mapping_VertexMapping_XAttribute_Inverse = "http://www.simantics.org/DistrictNetwork-1.0/Mapping/VertexMapping/XAttribute/Inverse";
492 public static final String Mapping_VertexMapping_YAttribute = "http://www.simantics.org/DistrictNetwork-1.0/Mapping/VertexMapping/YAttribute";
493 public static final String Mapping_VertexMapping_YAttribute_Inverse = "http://www.simantics.org/DistrictNetwork-1.0/Mapping/VertexMapping/YAttribute/Inverse";
494 public static final String Mapping_VertexMapping_dpAttribute = "http://www.simantics.org/DistrictNetwork-1.0/Mapping/VertexMapping/dpAttribute";
495 public static final String Mapping_VertexMapping_dpAttribute_Inverse = "http://www.simantics.org/DistrictNetwork-1.0/Mapping/VertexMapping/dpAttribute/Inverse";
496 public static final String Mapping_VertexMapping_dtAttribute = "http://www.simantics.org/DistrictNetwork-1.0/Mapping/VertexMapping/dtAttribute";
497 public static final String Mapping_VertexMapping_dtAttribute_Inverse = "http://www.simantics.org/DistrictNetwork-1.0/Mapping/VertexMapping/dtAttribute/Inverse";
498 public static final String ReturnConnectionType = "http://www.simantics.org/DistrictNetwork-1.0/ReturnConnectionType";
499 public static final String ReturnInConnectionType = "http://www.simantics.org/DistrictNetwork-1.0/ReturnInConnectionType";
500 public static final String ReturnOutConnectionType = "http://www.simantics.org/DistrictNetwork-1.0/ReturnOutConnectionType";
501 public static final String SCLMain = "http://www.simantics.org/DistrictNetwork-1.0/SCLMain";
502 public static final String SpatialRefSystem = "http://www.simantics.org/DistrictNetwork-1.0/SpatialRefSystem";
503 public static final String SupplyConnectionType = "http://www.simantics.org/DistrictNetwork-1.0/SupplyConnectionType";
504 public static final String SupplyInConnectionType = "http://www.simantics.org/DistrictNetwork-1.0/SupplyInConnectionType";
505 public static final String SupplyOutConnectionType = "http://www.simantics.org/DistrictNetwork-1.0/SupplyOutConnectionType";
506 public static final String Vertex = "http://www.simantics.org/DistrictNetwork-1.0/Vertex";
507 public static final String VertexDefaultMapping = "http://www.simantics.org/DistrictNetwork-1.0/VertexDefaultMapping";
508 public static final String VertexDefaultMapping_Inverse = "http://www.simantics.org/DistrictNetwork-1.0/VertexDefaultMapping/Inverse";
509 public static final String VertexMappingParameterType = "http://www.simantics.org/DistrictNetwork-1.0/VertexMappingParameterType";
510 public static final String VertexScalePropertyParameterType = "http://www.simantics.org/DistrictNetwork-1.0/VertexScalePropertyParameterType";
511 public static final String VertexSizeStyle = "http://www.simantics.org/DistrictNetwork-1.0/VertexSizeStyle";
512 public static final String VertexSymbolStyle = "http://www.simantics.org/DistrictNetwork-1.0/VertexSymbolStyle";
513 public static final String Vertex_HasAddress = "http://www.simantics.org/DistrictNetwork-1.0/Vertex/HasAddress";
514 public static final String Vertex_HasAddress_Inverse = "http://www.simantics.org/DistrictNetwork-1.0/Vertex/HasAddress/Inverse";
515 public static final String Vertex_HasDeltaPressure = "http://www.simantics.org/DistrictNetwork-1.0/Vertex/HasDeltaPressure";
516 public static final String Vertex_HasDeltaPressure_Inverse = "http://www.simantics.org/DistrictNetwork-1.0/Vertex/HasDeltaPressure/Inverse";
517 public static final String Vertex_HasDeltaTemperature = "http://www.simantics.org/DistrictNetwork-1.0/Vertex/HasDeltaTemperature";
518 public static final String Vertex_HasDeltaTemperature_Inverse = "http://www.simantics.org/DistrictNetwork-1.0/Vertex/HasDeltaTemperature/Inverse";
519 public static final String Vertex_HasElevation = "http://www.simantics.org/DistrictNetwork-1.0/Vertex/HasElevation";
520 public static final String Vertex_HasElevation_Inverse = "http://www.simantics.org/DistrictNetwork-1.0/Vertex/HasElevation/Inverse";
521 public static final String Vertex_HasFlowArea = "http://www.simantics.org/DistrictNetwork-1.0/Vertex/HasFlowArea";
522 public static final String Vertex_HasFlowArea_Inverse = "http://www.simantics.org/DistrictNetwork-1.0/Vertex/HasFlowArea/Inverse";
523 public static final String Vertex_HasHeatLoadDs = "http://www.simantics.org/DistrictNetwork-1.0/Vertex/HasHeatLoadDs";
524 public static final String Vertex_HasHeatLoadDs_Inverse = "http://www.simantics.org/DistrictNetwork-1.0/Vertex/HasHeatLoadDs/Inverse";
525 public static final String Vertex_HasHeatPower = "http://www.simantics.org/DistrictNetwork-1.0/Vertex/HasHeatPower";
526 public static final String Vertex_HasHeatPower_Inverse = "http://www.simantics.org/DistrictNetwork-1.0/Vertex/HasHeatPower/Inverse";
527 public static final String Vertex_HasMassFlow = "http://www.simantics.org/DistrictNetwork-1.0/Vertex/HasMassFlow";
528 public static final String Vertex_HasMassFlow_Inverse = "http://www.simantics.org/DistrictNetwork-1.0/Vertex/HasMassFlow/Inverse";
529 public static final String Vertex_HasMaximumHeadM = "http://www.simantics.org/DistrictNetwork-1.0/Vertex/HasMaximumHeadM";
530 public static final String Vertex_HasMaximumHeadM_Inverse = "http://www.simantics.org/DistrictNetwork-1.0/Vertex/HasMaximumHeadM/Inverse";
531 public static final String Vertex_HasNominalFlow = "http://www.simantics.org/DistrictNetwork-1.0/Vertex/HasNominalFlow";
532 public static final String Vertex_HasNominalFlow_Inverse = "http://www.simantics.org/DistrictNetwork-1.0/Vertex/HasNominalFlow/Inverse";
533 public static final String Vertex_HasNominalHeadB = "http://www.simantics.org/DistrictNetwork-1.0/Vertex/HasNominalHeadB";
534 public static final String Vertex_HasNominalHeadB_Inverse = "http://www.simantics.org/DistrictNetwork-1.0/Vertex/HasNominalHeadB/Inverse";
535 public static final String Vertex_HasNominalHeadM = "http://www.simantics.org/DistrictNetwork-1.0/Vertex/HasNominalHeadM";
536 public static final String Vertex_HasNominalHeadM_Inverse = "http://www.simantics.org/DistrictNetwork-1.0/Vertex/HasNominalHeadM/Inverse";
537 public static final String Vertex_HasNominalPressureLoss = "http://www.simantics.org/DistrictNetwork-1.0/Vertex/HasNominalPressureLoss";
538 public static final String Vertex_HasNominalPressureLoss_Inverse = "http://www.simantics.org/DistrictNetwork-1.0/Vertex/HasNominalPressureLoss/Inverse";
539 public static final String Vertex_HasReturnPressure = "http://www.simantics.org/DistrictNetwork-1.0/Vertex/HasReturnPressure";
540 public static final String Vertex_HasReturnPressure_Inverse = "http://www.simantics.org/DistrictNetwork-1.0/Vertex/HasReturnPressure/Inverse";
541 public static final String Vertex_HasReturnTemperature = "http://www.simantics.org/DistrictNetwork-1.0/Vertex/HasReturnTemperature";
542 public static final String Vertex_HasReturnTemperature_Inverse = "http://www.simantics.org/DistrictNetwork-1.0/Vertex/HasReturnTemperature/Inverse";
543 public static final String Vertex_HasSupplyPressure = "http://www.simantics.org/DistrictNetwork-1.0/Vertex/HasSupplyPressure";
544 public static final String Vertex_HasSupplyPressure_Inverse = "http://www.simantics.org/DistrictNetwork-1.0/Vertex/HasSupplyPressure/Inverse";
545 public static final String Vertex_HasSupplyTemperature = "http://www.simantics.org/DistrictNetwork-1.0/Vertex/HasSupplyTemperature";
546 public static final String Vertex_HasSupplyTemperature_Inverse = "http://www.simantics.org/DistrictNetwork-1.0/Vertex/HasSupplyTemperature/Inverse";
547 public static final String Vertex_HasValvePosition = "http://www.simantics.org/DistrictNetwork-1.0/Vertex/HasValvePosition";
548 public static final String Vertex_HasValvePosition_Inverse = "http://www.simantics.org/DistrictNetwork-1.0/Vertex/HasValvePosition/Inverse";
549 public static final String Vertex_HasVelocity = "http://www.simantics.org/DistrictNetwork-1.0/Vertex/HasVelocity";
550 public static final String Vertex_HasVelocity_Inverse = "http://www.simantics.org/DistrictNetwork-1.0/Vertex/HasVelocity/Inverse";
551 public static final String Vertex_HasVolFlow = "http://www.simantics.org/DistrictNetwork-1.0/Vertex/HasVolFlow";
552 public static final String Vertex_HasVolFlow_Inverse = "http://www.simantics.org/DistrictNetwork-1.0/Vertex/HasVolFlow/Inverse";
553 public static final String Vertex_ScaleProperty = "http://www.simantics.org/DistrictNetwork-1.0/Vertex/ScaleProperty";
554 public static final String Vertex_ScaleProperty_Elevation = "http://www.simantics.org/DistrictNetwork-1.0/Vertex/ScaleProperty/Elevation";
555 public static final String Vertex_ScaleProperty_NominalSupplyPressure = "http://www.simantics.org/DistrictNetwork-1.0/Vertex/ScaleProperty/NominalSupplyPressure";
556 public static final String Vertex_ScaleProperty_OnlyGainAndBias = "http://www.simantics.org/DistrictNetwork-1.0/Vertex/ScaleProperty/OnlyGainAndBias";
557 public static final String Vertex_ScaleProperty_bias = "http://www.simantics.org/DistrictNetwork-1.0/Vertex/ScaleProperty/bias";
558 public static final String Vertex_ScaleProperty_bias_Inverse = "http://www.simantics.org/DistrictNetwork-1.0/Vertex/ScaleProperty/bias/Inverse";
559 public static final String Vertex_ScaleProperty_gain = "http://www.simantics.org/DistrictNetwork-1.0/Vertex/ScaleProperty/gain";
560 public static final String Vertex_ScaleProperty_gain_Inverse = "http://www.simantics.org/DistrictNetwork-1.0/Vertex/ScaleProperty/gain/Inverse";
561 public static final String Vertex_ScaleProperty_value = "http://www.simantics.org/DistrictNetwork-1.0/Vertex/ScaleProperty/value";
562 public static final String Vertex_ScaleProperty_value_Inverse = "http://www.simantics.org/DistrictNetwork-1.0/Vertex/ScaleProperty/value/Inverse";
565 public static Resource getResourceOrNull(ReadGraph graph, String uri) {
567 return graph.getResource(uri);
568 } catch(DatabaseException e) {
569 System.err.println(e.getMessage());
574 public DistrictNetworkResource(ReadGraph graph) {
575 ActionContext = getResourceOrNull(graph, URIs.ActionContext);
576 ActionContext_newDiagramContribution = getResourceOrNull(graph, URIs.ActionContext_newDiagramContribution);
577 Actions = getResourceOrNull(graph, URIs.Actions);
578 Actions_NewDNDiagram = getResourceOrNull(graph, URIs.Actions_NewDNDiagram);
579 AddLayerToDNDiagramTemplate = getResourceOrNull(graph, URIs.AddLayerToDNDiagramTemplate);
580 BrowseContext = getResourceOrNull(graph, URIs.BrowseContext);
581 Composite = getResourceOrNull(graph, URIs.Composite);
582 Connection = getResourceOrNull(graph, URIs.Connection);
583 Diagram = getResourceOrNull(graph, URIs.Diagram);
584 Diagram_MappedDiagram = getResourceOrNull(graph, URIs.Diagram_MappedDiagram);
585 Diagram_MappedFromDiagram = getResourceOrNull(graph, URIs.Diagram_MappedFromDiagram);
586 Diagram_backgroundColor = getResourceOrNull(graph, URIs.Diagram_backgroundColor);
587 Diagram_backgroundColor_Inverse = getResourceOrNull(graph, URIs.Diagram_backgroundColor_Inverse);
588 Diagram_drawMapEnabled = getResourceOrNull(graph, URIs.Diagram_drawMapEnabled);
589 Diagram_drawMapEnabled_Inverse = getResourceOrNull(graph, URIs.Diagram_drawMapEnabled_Inverse);
590 Diagram_edgeThicknessBias = getResourceOrNull(graph, URIs.Diagram_edgeThicknessBias);
591 Diagram_edgeThicknessBias_Inverse = getResourceOrNull(graph, URIs.Diagram_edgeThicknessBias_Inverse);
592 Diagram_edgeThicknessGain = getResourceOrNull(graph, URIs.Diagram_edgeThicknessGain);
593 Diagram_edgeThicknessGain_Inverse = getResourceOrNull(graph, URIs.Diagram_edgeThicknessGain_Inverse);
594 Diagram_edgeThicknessProperty = getResourceOrNull(graph, URIs.Diagram_edgeThicknessProperty);
595 Diagram_edgeThicknessProperty_Inverse = getResourceOrNull(graph, URIs.Diagram_edgeThicknessProperty_Inverse);
596 Diagram_elementColoringFunction = getResourceOrNull(graph, URIs.Diagram_elementColoringFunction);
597 Diagram_elementColoringFunction_Inverse = getResourceOrNull(graph, URIs.Diagram_elementColoringFunction_Inverse);
598 Diagram_elementColoringGradientHue = getResourceOrNull(graph, URIs.Diagram_elementColoringGradientHue);
599 Diagram_elementColoringGradientHue_Inverse = getResourceOrNull(graph, URIs.Diagram_elementColoringGradientHue_Inverse);
600 Diagram_elementColoringGradientSaturation = getResourceOrNull(graph, URIs.Diagram_elementColoringGradientSaturation);
601 Diagram_elementColoringGradientSaturation_Inverse = getResourceOrNull(graph, URIs.Diagram_elementColoringGradientSaturation_Inverse);
602 Diagram_nodeScaleBias = getResourceOrNull(graph, URIs.Diagram_nodeScaleBias);
603 Diagram_nodeScaleBias_Inverse = getResourceOrNull(graph, URIs.Diagram_nodeScaleBias_Inverse);
604 Diagram_nodeScaleGain = getResourceOrNull(graph, URIs.Diagram_nodeScaleGain);
605 Diagram_nodeScaleGain_Inverse = getResourceOrNull(graph, URIs.Diagram_nodeScaleGain_Inverse);
606 Diagram_nodeScaleProperty = getResourceOrNull(graph, URIs.Diagram_nodeScaleProperty);
607 Diagram_nodeScaleProperty_Inverse = getResourceOrNull(graph, URIs.Diagram_nodeScaleProperty_Inverse);
608 Diagram_profileUpdateInterval = getResourceOrNull(graph, URIs.Diagram_profileUpdateInterval);
609 Diagram_profileUpdateInterval_Inverse = getResourceOrNull(graph, URIs.Diagram_profileUpdateInterval_Inverse);
610 Diagram_splitToMultipleEnabled = getResourceOrNull(graph, URIs.Diagram_splitToMultipleEnabled);
611 Diagram_splitToMultipleEnabled_Inverse = getResourceOrNull(graph, URIs.Diagram_splitToMultipleEnabled_Inverse);
612 Diagram_trackChangesEnabled = getResourceOrNull(graph, URIs.Diagram_trackChangesEnabled);
613 Diagram_trackChangesEnabled_Inverse = getResourceOrNull(graph, URIs.Diagram_trackChangesEnabled_Inverse);
614 DistrictNodeGroup = getResourceOrNull(graph, URIs.DistrictNodeGroup);
615 DistrictNodeGroup_hasComponentTypeName = getResourceOrNull(graph, URIs.DistrictNodeGroup_hasComponentTypeName);
616 DistrictNodeGroup_hasComponentTypeName_Inverse = getResourceOrNull(graph, URIs.DistrictNodeGroup_hasComponentTypeName_Inverse);
617 EPSG_4326 = getResourceOrNull(graph, URIs.EPSG_4326);
618 Edge = getResourceOrNull(graph, URIs.Edge);
619 EdgeDefaultMapping = getResourceOrNull(graph, URIs.EdgeDefaultMapping);
620 EdgeDefaultMapping_Inverse = getResourceOrNull(graph, URIs.EdgeDefaultMapping_Inverse);
621 EdgeMappingParameterType = getResourceOrNull(graph, URIs.EdgeMappingParameterType);
622 EdgeThicknessPropertyParameterType = getResourceOrNull(graph, URIs.EdgeThicknessPropertyParameterType);
623 EdgeThicknessStyle = getResourceOrNull(graph, URIs.EdgeThicknessStyle);
624 Edge_HasDiameter = getResourceOrNull(graph, URIs.Edge_HasDiameter);
625 Edge_HasDiameter_Inverse = getResourceOrNull(graph, URIs.Edge_HasDiameter_Inverse);
626 Edge_HasElevation = getResourceOrNull(graph, URIs.Edge_HasElevation);
627 Edge_HasElevation_Inverse = getResourceOrNull(graph, URIs.Edge_HasElevation_Inverse);
628 Edge_HasFlowArea = getResourceOrNull(graph, URIs.Edge_HasFlowArea);
629 Edge_HasFlowArea_Inverse = getResourceOrNull(graph, URIs.Edge_HasFlowArea_Inverse);
630 Edge_HasKReturn = getResourceOrNull(graph, URIs.Edge_HasKReturn);
631 Edge_HasKReturn_Inverse = getResourceOrNull(graph, URIs.Edge_HasKReturn_Inverse);
632 Edge_HasKSupply = getResourceOrNull(graph, URIs.Edge_HasKSupply);
633 Edge_HasKSupply_Inverse = getResourceOrNull(graph, URIs.Edge_HasKSupply_Inverse);
634 Edge_HasLength = getResourceOrNull(graph, URIs.Edge_HasLength);
635 Edge_HasLength_Inverse = getResourceOrNull(graph, URIs.Edge_HasLength_Inverse);
636 Edge_HasNominalMassFlow = getResourceOrNull(graph, URIs.Edge_HasNominalMassFlow);
637 Edge_HasNominalMassFlow_Inverse = getResourceOrNull(graph, URIs.Edge_HasNominalMassFlow_Inverse);
638 Edge_HasOuterDiameter = getResourceOrNull(graph, URIs.Edge_HasOuterDiameter);
639 Edge_HasOuterDiameter_Inverse = getResourceOrNull(graph, URIs.Edge_HasOuterDiameter_Inverse);
640 Edge_HasTGround = getResourceOrNull(graph, URIs.Edge_HasTGround);
641 Edge_HasTGround_Inverse = getResourceOrNull(graph, URIs.Edge_HasTGround_Inverse);
642 Edge_ThicknessProperty = getResourceOrNull(graph, URIs.Edge_ThicknessProperty);
643 Edge_ThicknessProperty_Diameter = getResourceOrNull(graph, URIs.Edge_ThicknessProperty_Diameter);
644 Edge_ThicknessProperty_OnlyGainAndBias = getResourceOrNull(graph, URIs.Edge_ThicknessProperty_OnlyGainAndBias);
645 Edge_ThicknessProperty_bias = getResourceOrNull(graph, URIs.Edge_ThicknessProperty_bias);
646 Edge_ThicknessProperty_bias_Inverse = getResourceOrNull(graph, URIs.Edge_ThicknessProperty_bias_Inverse);
647 Edge_ThicknessProperty_gain = getResourceOrNull(graph, URIs.Edge_ThicknessProperty_gain);
648 Edge_ThicknessProperty_gain_Inverse = getResourceOrNull(graph, URIs.Edge_ThicknessProperty_gain_Inverse);
649 Edge_ThicknessProperty_value = getResourceOrNull(graph, URIs.Edge_ThicknessProperty_value);
650 Edge_ThicknessProperty_value_Inverse = getResourceOrNull(graph, URIs.Edge_ThicknessProperty_value_Inverse);
651 Element = getResourceOrNull(graph, URIs.Element);
652 ElementColoringStyle = getResourceOrNull(graph, URIs.ElementColoringStyle);
653 Functions = getResourceOrNull(graph, URIs.Functions);
654 Functions_brightnessValidator = getResourceOrNull(graph, URIs.Functions_brightnessValidator);
655 Functions_compositeInstantiator = getResourceOrNull(graph, URIs.Functions_compositeInstantiator);
656 Functions_constantOne = getResourceOrNull(graph, URIs.Functions_constantOne);
657 Functions_convertToValue = getResourceOrNull(graph, URIs.Functions_convertToValue);
658 Functions_defaultEdgeMappingModifier = getResourceOrNull(graph, URIs.Functions_defaultEdgeMappingModifier);
659 Functions_defaultVertexMappingModifier = getResourceOrNull(graph, URIs.Functions_defaultVertexMappingModifier);
660 Functions_edgeThicknessPropertyEnumerationValues = getResourceOrNull(graph, URIs.Functions_edgeThicknessPropertyEnumerationValues);
661 Functions_edgeThicknessPropertyModifier = getResourceOrNull(graph, URIs.Functions_edgeThicknessPropertyModifier);
662 Functions_enumerationValues = getResourceOrNull(graph, URIs.Functions_enumerationValues);
663 Functions_hasDiameterValue = getResourceOrNull(graph, URIs.Functions_hasDiameterValue);
664 Functions_hasElevation = getResourceOrNull(graph, URIs.Functions_hasElevation);
665 Functions_hasNominalSupplyPressure = getResourceOrNull(graph, URIs.Functions_hasNominalSupplyPressure);
666 Functions_hueValidator = getResourceOrNull(graph, URIs.Functions_hueValidator);
667 Functions_mappingModifier = getResourceOrNull(graph, URIs.Functions_mappingModifier);
668 Functions_nodeScalePropertyEnumerationValues = getResourceOrNull(graph, URIs.Functions_nodeScalePropertyEnumerationValues);
669 Functions_nodeScalePropertyModifier = getResourceOrNull(graph, URIs.Functions_nodeScalePropertyModifier);
670 Functions_saturationValidator = getResourceOrNull(graph, URIs.Functions_saturationValidator);
671 Groups = getResourceOrNull(graph, URIs.Groups);
672 Groups_EdgeGroup = getResourceOrNull(graph, URIs.Groups_EdgeGroup);
673 Groups_VertexGroup = getResourceOrNull(graph, URIs.Groups_VertexGroup);
674 HasEndVertex = getResourceOrNull(graph, URIs.HasEndVertex);
675 HasEndVertex_Inverse = getResourceOrNull(graph, URIs.HasEndVertex_Inverse);
676 HasId = getResourceOrNull(graph, URIs.HasId);
677 HasId_Inverse = getResourceOrNull(graph, URIs.HasId_Inverse);
678 HasInLayerTag = getResourceOrNull(graph, URIs.HasInLayerTag);
679 HasInLayerTag_Inverse = getResourceOrNull(graph, URIs.HasInLayerTag_Inverse);
680 HasMapping = getResourceOrNull(graph, URIs.HasMapping);
681 HasMapping_Inverse = getResourceOrNull(graph, URIs.HasMapping_Inverse);
682 HasSRID = getResourceOrNull(graph, URIs.HasSRID);
683 HasSRID_Inverse = getResourceOrNull(graph, URIs.HasSRID_Inverse);
684 HasSRTEXT = getResourceOrNull(graph, URIs.HasSRTEXT);
685 HasSRTEXT_Inverse = getResourceOrNull(graph, URIs.HasSRTEXT_Inverse);
686 HasSpatialRefSystem = getResourceOrNull(graph, URIs.HasSpatialRefSystem);
687 HasSpatialRefSystem_Inverse = getResourceOrNull(graph, URIs.HasSpatialRefSystem_Inverse);
688 HasStartVertex = getResourceOrNull(graph, URIs.HasStartVertex);
689 HasStartVertex_Inverse = getResourceOrNull(graph, URIs.HasStartVertex_Inverse);
690 HasSymbolFunction = getResourceOrNull(graph, URIs.HasSymbolFunction);
691 HasSymbolFunction_Inverse = getResourceOrNull(graph, URIs.HasSymbolFunction_Inverse);
692 HideStyle = getResourceOrNull(graph, URIs.HideStyle);
693 Images = getResourceOrNull(graph, URIs.Images);
694 Images_MapImage = getResourceOrNull(graph, URIs.Images_MapImage);
695 InLayer = getResourceOrNull(graph, URIs.InLayer);
696 Layer = getResourceOrNull(graph, URIs.Layer);
697 MappedComponent = getResourceOrNull(graph, URIs.MappedComponent);
698 MappedFromElement = getResourceOrNull(graph, URIs.MappedFromElement);
699 Mapping = getResourceOrNull(graph, URIs.Mapping);
700 MappingParameterType = getResourceOrNull(graph, URIs.MappingParameterType);
701 Mapping_Base = getResourceOrNull(graph, URIs.Mapping_Base);
702 Mapping_ComponentType = getResourceOrNull(graph, URIs.Mapping_ComponentType);
703 Mapping_ComponentType_Inverse = getResourceOrNull(graph, URIs.Mapping_ComponentType_Inverse);
704 Mapping_EdgeMapping = getResourceOrNull(graph, URIs.Mapping_EdgeMapping);
705 Mapping_EdgeMapping_DiameterAttribute = getResourceOrNull(graph, URIs.Mapping_EdgeMapping_DiameterAttribute);
706 Mapping_EdgeMapping_DiameterAttribute_Inverse = getResourceOrNull(graph, URIs.Mapping_EdgeMapping_DiameterAttribute_Inverse);
707 Mapping_EdgeMapping_ElevationAttribute = getResourceOrNull(graph, URIs.Mapping_EdgeMapping_ElevationAttribute);
708 Mapping_EdgeMapping_ElevationAttribute_Inverse = getResourceOrNull(graph, URIs.Mapping_EdgeMapping_ElevationAttribute_Inverse);
709 Mapping_EdgeMapping_FlowAreaAttribute = getResourceOrNull(graph, URIs.Mapping_EdgeMapping_FlowAreaAttribute);
710 Mapping_EdgeMapping_FlowAreaAttribute_Inverse = getResourceOrNull(graph, URIs.Mapping_EdgeMapping_FlowAreaAttribute_Inverse);
711 Mapping_EdgeMapping_KReturnAttribute = getResourceOrNull(graph, URIs.Mapping_EdgeMapping_KReturnAttribute);
712 Mapping_EdgeMapping_KReturnAttribute_Inverse = getResourceOrNull(graph, URIs.Mapping_EdgeMapping_KReturnAttribute_Inverse);
713 Mapping_EdgeMapping_KSupplyAttribute = getResourceOrNull(graph, URIs.Mapping_EdgeMapping_KSupplyAttribute);
714 Mapping_EdgeMapping_KSupplyAttribute_Inverse = getResourceOrNull(graph, URIs.Mapping_EdgeMapping_KSupplyAttribute_Inverse);
715 Mapping_EdgeMapping_LengthAttribute = getResourceOrNull(graph, URIs.Mapping_EdgeMapping_LengthAttribute);
716 Mapping_EdgeMapping_LengthAttribute_Inverse = getResourceOrNull(graph, URIs.Mapping_EdgeMapping_LengthAttribute_Inverse);
717 Mapping_EdgeMapping_NominalMassFlowAttribute = getResourceOrNull(graph, URIs.Mapping_EdgeMapping_NominalMassFlowAttribute);
718 Mapping_EdgeMapping_NominalMassFlowAttribute_Inverse = getResourceOrNull(graph, URIs.Mapping_EdgeMapping_NominalMassFlowAttribute_Inverse);
719 Mapping_EdgeMapping_OuterDiameterAttribute = getResourceOrNull(graph, URIs.Mapping_EdgeMapping_OuterDiameterAttribute);
720 Mapping_EdgeMapping_OuterDiameterAttribute_Inverse = getResourceOrNull(graph, URIs.Mapping_EdgeMapping_OuterDiameterAttribute_Inverse);
721 Mapping_EdgeMapping_TGroundAttribute = getResourceOrNull(graph, URIs.Mapping_EdgeMapping_TGroundAttribute);
722 Mapping_EdgeMapping_TGroundAttribute_Inverse = getResourceOrNull(graph, URIs.Mapping_EdgeMapping_TGroundAttribute_Inverse);
723 Mapping_Id = getResourceOrNull(graph, URIs.Mapping_Id);
724 Mapping_Id_Inverse = getResourceOrNull(graph, URIs.Mapping_Id_Inverse);
725 Mapping_InputTerminal = getResourceOrNull(graph, URIs.Mapping_InputTerminal);
726 Mapping_InputTerminal_Inverse = getResourceOrNull(graph, URIs.Mapping_InputTerminal_Inverse);
727 Mapping_OutputTerminal = getResourceOrNull(graph, URIs.Mapping_OutputTerminal);
728 Mapping_OutputTerminal_Inverse = getResourceOrNull(graph, URIs.Mapping_OutputTerminal_Inverse);
729 Mapping_Terminal = getResourceOrNull(graph, URIs.Mapping_Terminal);
730 Mapping_TerminalPair = getResourceOrNull(graph, URIs.Mapping_TerminalPair);
731 Mapping_Terminals = getResourceOrNull(graph, URIs.Mapping_Terminals);
732 Mapping_Terminals_Inverse = getResourceOrNull(graph, URIs.Mapping_Terminals_Inverse);
733 Mapping_VertexMapping = getResourceOrNull(graph, URIs.Mapping_VertexMapping);
734 Mapping_VertexMapping_AddressAttribute = getResourceOrNull(graph, URIs.Mapping_VertexMapping_AddressAttribute);
735 Mapping_VertexMapping_AddressAttribute_Inverse = getResourceOrNull(graph, URIs.Mapping_VertexMapping_AddressAttribute_Inverse);
736 Mapping_VertexMapping_DeltaPressureAttribute = getResourceOrNull(graph, URIs.Mapping_VertexMapping_DeltaPressureAttribute);
737 Mapping_VertexMapping_DeltaPressureAttribute_Inverse = getResourceOrNull(graph, URIs.Mapping_VertexMapping_DeltaPressureAttribute_Inverse);
738 Mapping_VertexMapping_DeltaTemperatureAttribute = getResourceOrNull(graph, URIs.Mapping_VertexMapping_DeltaTemperatureAttribute);
739 Mapping_VertexMapping_DeltaTemperatureAttribute_Inverse = getResourceOrNull(graph, URIs.Mapping_VertexMapping_DeltaTemperatureAttribute_Inverse);
740 Mapping_VertexMapping_ElevationAttribute = getResourceOrNull(graph, URIs.Mapping_VertexMapping_ElevationAttribute);
741 Mapping_VertexMapping_ElevationAttribute_Inverse = getResourceOrNull(graph, URIs.Mapping_VertexMapping_ElevationAttribute_Inverse);
742 Mapping_VertexMapping_FlowAreaAttribute = getResourceOrNull(graph, URIs.Mapping_VertexMapping_FlowAreaAttribute);
743 Mapping_VertexMapping_FlowAreaAttribute_Inverse = getResourceOrNull(graph, URIs.Mapping_VertexMapping_FlowAreaAttribute_Inverse);
744 Mapping_VertexMapping_HeatLoadDsAttribute = getResourceOrNull(graph, URIs.Mapping_VertexMapping_HeatLoadDsAttribute);
745 Mapping_VertexMapping_HeatLoadDsAttribute_Inverse = getResourceOrNull(graph, URIs.Mapping_VertexMapping_HeatLoadDsAttribute_Inverse);
746 Mapping_VertexMapping_HeatPowerAttribute = getResourceOrNull(graph, URIs.Mapping_VertexMapping_HeatPowerAttribute);
747 Mapping_VertexMapping_HeatPowerAttribute_Inverse = getResourceOrNull(graph, URIs.Mapping_VertexMapping_HeatPowerAttribute_Inverse);
748 Mapping_VertexMapping_MassFlowAttribute = getResourceOrNull(graph, URIs.Mapping_VertexMapping_MassFlowAttribute);
749 Mapping_VertexMapping_MassFlowAttribute_Inverse = getResourceOrNull(graph, URIs.Mapping_VertexMapping_MassFlowAttribute_Inverse);
750 Mapping_VertexMapping_MaximumHeadMAttribute = getResourceOrNull(graph, URIs.Mapping_VertexMapping_MaximumHeadMAttribute);
751 Mapping_VertexMapping_MaximumHeadMAttribute_Inverse = getResourceOrNull(graph, URIs.Mapping_VertexMapping_MaximumHeadMAttribute_Inverse);
752 Mapping_VertexMapping_NominalFlowAttribute = getResourceOrNull(graph, URIs.Mapping_VertexMapping_NominalFlowAttribute);
753 Mapping_VertexMapping_NominalFlowAttribute_Inverse = getResourceOrNull(graph, URIs.Mapping_VertexMapping_NominalFlowAttribute_Inverse);
754 Mapping_VertexMapping_NominalHeadBAttribute = getResourceOrNull(graph, URIs.Mapping_VertexMapping_NominalHeadBAttribute);
755 Mapping_VertexMapping_NominalHeadBAttribute_Inverse = getResourceOrNull(graph, URIs.Mapping_VertexMapping_NominalHeadBAttribute_Inverse);
756 Mapping_VertexMapping_NominalHeadMAttribute = getResourceOrNull(graph, URIs.Mapping_VertexMapping_NominalHeadMAttribute);
757 Mapping_VertexMapping_NominalHeadMAttribute_Inverse = getResourceOrNull(graph, URIs.Mapping_VertexMapping_NominalHeadMAttribute_Inverse);
758 Mapping_VertexMapping_NominalMassFlowAttribute = getResourceOrNull(graph, URIs.Mapping_VertexMapping_NominalMassFlowAttribute);
759 Mapping_VertexMapping_NominalMassFlowAttribute_Inverse = getResourceOrNull(graph, URIs.Mapping_VertexMapping_NominalMassFlowAttribute_Inverse);
760 Mapping_VertexMapping_NominalPressureLossAttribute = getResourceOrNull(graph, URIs.Mapping_VertexMapping_NominalPressureLossAttribute);
761 Mapping_VertexMapping_NominalPressureLossAttribute_Inverse = getResourceOrNull(graph, URIs.Mapping_VertexMapping_NominalPressureLossAttribute_Inverse);
762 Mapping_VertexMapping_ReturnPressureAttribute = getResourceOrNull(graph, URIs.Mapping_VertexMapping_ReturnPressureAttribute);
763 Mapping_VertexMapping_ReturnPressureAttribute_Inverse = getResourceOrNull(graph, URIs.Mapping_VertexMapping_ReturnPressureAttribute_Inverse);
764 Mapping_VertexMapping_ReturnTemperatureAttribute = getResourceOrNull(graph, URIs.Mapping_VertexMapping_ReturnTemperatureAttribute);
765 Mapping_VertexMapping_ReturnTemperatureAttribute_Inverse = getResourceOrNull(graph, URIs.Mapping_VertexMapping_ReturnTemperatureAttribute_Inverse);
766 Mapping_VertexMapping_SupplyPressureAttribute = getResourceOrNull(graph, URIs.Mapping_VertexMapping_SupplyPressureAttribute);
767 Mapping_VertexMapping_SupplyPressureAttribute_Inverse = getResourceOrNull(graph, URIs.Mapping_VertexMapping_SupplyPressureAttribute_Inverse);
768 Mapping_VertexMapping_SupplyTemperatureAttribute = getResourceOrNull(graph, URIs.Mapping_VertexMapping_SupplyTemperatureAttribute);
769 Mapping_VertexMapping_SupplyTemperatureAttribute_Inverse = getResourceOrNull(graph, URIs.Mapping_VertexMapping_SupplyTemperatureAttribute_Inverse);
770 Mapping_VertexMapping_ValvePositionAttribute = getResourceOrNull(graph, URIs.Mapping_VertexMapping_ValvePositionAttribute);
771 Mapping_VertexMapping_ValvePositionAttribute_Inverse = getResourceOrNull(graph, URIs.Mapping_VertexMapping_ValvePositionAttribute_Inverse);
772 Mapping_VertexMapping_VelocityAttribute = getResourceOrNull(graph, URIs.Mapping_VertexMapping_VelocityAttribute);
773 Mapping_VertexMapping_VelocityAttribute_Inverse = getResourceOrNull(graph, URIs.Mapping_VertexMapping_VelocityAttribute_Inverse);
774 Mapping_VertexMapping_VolFlowAttribute = getResourceOrNull(graph, URIs.Mapping_VertexMapping_VolFlowAttribute);
775 Mapping_VertexMapping_VolFlowAttribute_Inverse = getResourceOrNull(graph, URIs.Mapping_VertexMapping_VolFlowAttribute_Inverse);
776 Mapping_VertexMapping_XAttribute = getResourceOrNull(graph, URIs.Mapping_VertexMapping_XAttribute);
777 Mapping_VertexMapping_XAttribute_Inverse = getResourceOrNull(graph, URIs.Mapping_VertexMapping_XAttribute_Inverse);
778 Mapping_VertexMapping_YAttribute = getResourceOrNull(graph, URIs.Mapping_VertexMapping_YAttribute);
779 Mapping_VertexMapping_YAttribute_Inverse = getResourceOrNull(graph, URIs.Mapping_VertexMapping_YAttribute_Inverse);
780 Mapping_VertexMapping_dpAttribute = getResourceOrNull(graph, URIs.Mapping_VertexMapping_dpAttribute);
781 Mapping_VertexMapping_dpAttribute_Inverse = getResourceOrNull(graph, URIs.Mapping_VertexMapping_dpAttribute_Inverse);
782 Mapping_VertexMapping_dtAttribute = getResourceOrNull(graph, URIs.Mapping_VertexMapping_dtAttribute);
783 Mapping_VertexMapping_dtAttribute_Inverse = getResourceOrNull(graph, URIs.Mapping_VertexMapping_dtAttribute_Inverse);
784 ReturnConnectionType = getResourceOrNull(graph, URIs.ReturnConnectionType);
785 ReturnInConnectionType = getResourceOrNull(graph, URIs.ReturnInConnectionType);
786 ReturnOutConnectionType = getResourceOrNull(graph, URIs.ReturnOutConnectionType);
787 SCLMain = getResourceOrNull(graph, URIs.SCLMain);
788 SpatialRefSystem = getResourceOrNull(graph, URIs.SpatialRefSystem);
789 SupplyConnectionType = getResourceOrNull(graph, URIs.SupplyConnectionType);
790 SupplyInConnectionType = getResourceOrNull(graph, URIs.SupplyInConnectionType);
791 SupplyOutConnectionType = getResourceOrNull(graph, URIs.SupplyOutConnectionType);
792 Vertex = getResourceOrNull(graph, URIs.Vertex);
793 VertexDefaultMapping = getResourceOrNull(graph, URIs.VertexDefaultMapping);
794 VertexDefaultMapping_Inverse = getResourceOrNull(graph, URIs.VertexDefaultMapping_Inverse);
795 VertexMappingParameterType = getResourceOrNull(graph, URIs.VertexMappingParameterType);
796 VertexScalePropertyParameterType = getResourceOrNull(graph, URIs.VertexScalePropertyParameterType);
797 VertexSizeStyle = getResourceOrNull(graph, URIs.VertexSizeStyle);
798 VertexSymbolStyle = getResourceOrNull(graph, URIs.VertexSymbolStyle);
799 Vertex_HasAddress = getResourceOrNull(graph, URIs.Vertex_HasAddress);
800 Vertex_HasAddress_Inverse = getResourceOrNull(graph, URIs.Vertex_HasAddress_Inverse);
801 Vertex_HasDeltaPressure = getResourceOrNull(graph, URIs.Vertex_HasDeltaPressure);
802 Vertex_HasDeltaPressure_Inverse = getResourceOrNull(graph, URIs.Vertex_HasDeltaPressure_Inverse);
803 Vertex_HasDeltaTemperature = getResourceOrNull(graph, URIs.Vertex_HasDeltaTemperature);
804 Vertex_HasDeltaTemperature_Inverse = getResourceOrNull(graph, URIs.Vertex_HasDeltaTemperature_Inverse);
805 Vertex_HasElevation = getResourceOrNull(graph, URIs.Vertex_HasElevation);
806 Vertex_HasElevation_Inverse = getResourceOrNull(graph, URIs.Vertex_HasElevation_Inverse);
807 Vertex_HasFlowArea = getResourceOrNull(graph, URIs.Vertex_HasFlowArea);
808 Vertex_HasFlowArea_Inverse = getResourceOrNull(graph, URIs.Vertex_HasFlowArea_Inverse);
809 Vertex_HasHeatLoadDs = getResourceOrNull(graph, URIs.Vertex_HasHeatLoadDs);
810 Vertex_HasHeatLoadDs_Inverse = getResourceOrNull(graph, URIs.Vertex_HasHeatLoadDs_Inverse);
811 Vertex_HasHeatPower = getResourceOrNull(graph, URIs.Vertex_HasHeatPower);
812 Vertex_HasHeatPower_Inverse = getResourceOrNull(graph, URIs.Vertex_HasHeatPower_Inverse);
813 Vertex_HasMassFlow = getResourceOrNull(graph, URIs.Vertex_HasMassFlow);
814 Vertex_HasMassFlow_Inverse = getResourceOrNull(graph, URIs.Vertex_HasMassFlow_Inverse);
815 Vertex_HasMaximumHeadM = getResourceOrNull(graph, URIs.Vertex_HasMaximumHeadM);
816 Vertex_HasMaximumHeadM_Inverse = getResourceOrNull(graph, URIs.Vertex_HasMaximumHeadM_Inverse);
817 Vertex_HasNominalFlow = getResourceOrNull(graph, URIs.Vertex_HasNominalFlow);
818 Vertex_HasNominalFlow_Inverse = getResourceOrNull(graph, URIs.Vertex_HasNominalFlow_Inverse);
819 Vertex_HasNominalHeadB = getResourceOrNull(graph, URIs.Vertex_HasNominalHeadB);
820 Vertex_HasNominalHeadB_Inverse = getResourceOrNull(graph, URIs.Vertex_HasNominalHeadB_Inverse);
821 Vertex_HasNominalHeadM = getResourceOrNull(graph, URIs.Vertex_HasNominalHeadM);
822 Vertex_HasNominalHeadM_Inverse = getResourceOrNull(graph, URIs.Vertex_HasNominalHeadM_Inverse);
823 Vertex_HasNominalPressureLoss = getResourceOrNull(graph, URIs.Vertex_HasNominalPressureLoss);
824 Vertex_HasNominalPressureLoss_Inverse = getResourceOrNull(graph, URIs.Vertex_HasNominalPressureLoss_Inverse);
825 Vertex_HasReturnPressure = getResourceOrNull(graph, URIs.Vertex_HasReturnPressure);
826 Vertex_HasReturnPressure_Inverse = getResourceOrNull(graph, URIs.Vertex_HasReturnPressure_Inverse);
827 Vertex_HasReturnTemperature = getResourceOrNull(graph, URIs.Vertex_HasReturnTemperature);
828 Vertex_HasReturnTemperature_Inverse = getResourceOrNull(graph, URIs.Vertex_HasReturnTemperature_Inverse);
829 Vertex_HasSupplyPressure = getResourceOrNull(graph, URIs.Vertex_HasSupplyPressure);
830 Vertex_HasSupplyPressure_Inverse = getResourceOrNull(graph, URIs.Vertex_HasSupplyPressure_Inverse);
831 Vertex_HasSupplyTemperature = getResourceOrNull(graph, URIs.Vertex_HasSupplyTemperature);
832 Vertex_HasSupplyTemperature_Inverse = getResourceOrNull(graph, URIs.Vertex_HasSupplyTemperature_Inverse);
833 Vertex_HasValvePosition = getResourceOrNull(graph, URIs.Vertex_HasValvePosition);
834 Vertex_HasValvePosition_Inverse = getResourceOrNull(graph, URIs.Vertex_HasValvePosition_Inverse);
835 Vertex_HasVelocity = getResourceOrNull(graph, URIs.Vertex_HasVelocity);
836 Vertex_HasVelocity_Inverse = getResourceOrNull(graph, URIs.Vertex_HasVelocity_Inverse);
837 Vertex_HasVolFlow = getResourceOrNull(graph, URIs.Vertex_HasVolFlow);
838 Vertex_HasVolFlow_Inverse = getResourceOrNull(graph, URIs.Vertex_HasVolFlow_Inverse);
839 Vertex_ScaleProperty = getResourceOrNull(graph, URIs.Vertex_ScaleProperty);
840 Vertex_ScaleProperty_Elevation = getResourceOrNull(graph, URIs.Vertex_ScaleProperty_Elevation);
841 Vertex_ScaleProperty_NominalSupplyPressure = getResourceOrNull(graph, URIs.Vertex_ScaleProperty_NominalSupplyPressure);
842 Vertex_ScaleProperty_OnlyGainAndBias = getResourceOrNull(graph, URIs.Vertex_ScaleProperty_OnlyGainAndBias);
843 Vertex_ScaleProperty_bias = getResourceOrNull(graph, URIs.Vertex_ScaleProperty_bias);
844 Vertex_ScaleProperty_bias_Inverse = getResourceOrNull(graph, URIs.Vertex_ScaleProperty_bias_Inverse);
845 Vertex_ScaleProperty_gain = getResourceOrNull(graph, URIs.Vertex_ScaleProperty_gain);
846 Vertex_ScaleProperty_gain_Inverse = getResourceOrNull(graph, URIs.Vertex_ScaleProperty_gain_Inverse);
847 Vertex_ScaleProperty_value = getResourceOrNull(graph, URIs.Vertex_ScaleProperty_value);
848 Vertex_ScaleProperty_value_Inverse = getResourceOrNull(graph, URIs.Vertex_ScaleProperty_value_Inverse);
851 public static DistrictNetworkResource getInstance(ReadGraph graph) {
852 Session session = graph.getSession();
853 DistrictNetworkResource ret = session.peekService(DistrictNetworkResource.class);
855 QueryControl qc = graph.getService(QueryControl.class);
856 ret = new DistrictNetworkResource(qc.getIndependentGraph(graph));
857 session.registerService(DistrictNetworkResource.class, ret);
862 public static DistrictNetworkResource getInstance(RequestProcessor session) throws DatabaseException {
863 DistrictNetworkResource ret = session.peekService(DistrictNetworkResource.class);
865 ret = session.syncRequest(new Read<DistrictNetworkResource>() {
866 public DistrictNetworkResource perform(ReadGraph graph) throws DatabaseException {
867 QueryControl qc = graph.getService(QueryControl.class);
868 return new DistrictNetworkResource(qc.getIndependentGraph(graph));
871 session.registerService(DistrictNetworkResource.class, ret);