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