1 <?xml version="1.0" encoding="UTF-8"?>
3 id="org.simantics.district.feature"
4 label="Simantics District Feature"
5 version="1.0.0.qualifier"
6 provider-name="THTH ry">
9 District modelling base feature
13 Copyright (c) 2017 Association for Decentralized Information
14 Management in Industry THTH ry.
15 All rights reserved. This program and the accompanying materials
16 are made available under the terms of the Eclipse Public License
17 v2.0 which accompanies this distribution, and is available at
18 https://www.eclipse.org/legal/epl-2.0/
20 VTT - initial API and implementation
21 Fortum - continued development
24 <license url="https://www.eclipse.org/legal/epl-2.0/">
25 Eclipse Public License - v 2.0
27 THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS ECLIPSE
28 PUBLIC LICENSE ("AGREEMENT"). ANY USE, REPRODUCTION OR DISTRIBUTION
29 OF THE PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE OF THIS AGREEMENT.
33 "Contribution" means:
35 a) in the case of the initial Contributor, the initial content
36 Distributed under this Agreement, and
38 b) in the case of each subsequent Contributor:
39 i) changes to the Program, and
40 ii) additions to the Program;
41 where such changes and/or additions to the Program originate from
42 and are Distributed by that particular Contributor. A Contribution
43 "originates" from a Contributor if it was added to the Program by
44 such Contributor itself or anyone acting on such Contributor's behalf.
45 Contributions do not include changes or additions to the Program that
46 are not Modified Works.
48 "Contributor" means any person or entity that Distributes the Program.
50 "Licensed Patents" mean patent claims licensable by a Contributor which
51 are necessarily infringed by the use or sale of its Contribution alone
52 or when combined with the Program.
54 "Program" means the Contributions Distributed in accordance with this
57 "Recipient" means anyone who receives the Program under this Agreement
58 or any Secondary License (as applicable), including Contributors.
60 "Derivative Works" shall mean any work, whether in Source Code or other
61 form, that is based on (or derived from) the Program and for which the
62 editorial revisions, annotations, elaborations, or other modifications
63 represent, as a whole, an original work of authorship.
65 "Modified Works" shall mean any work in Source Code or other form that
66 results from an addition to, deletion from, or modification of the
67 contents of the Program, including, for purposes of clarity any new file
68 in Source Code form that contains any contents of the Program. Modified
69 Works shall not include works that contain only declarations,
70 interfaces, types, classes, structures, or files of the Program solely
71 in each case in order to link to, bind by name, or subclass the Program
72 or Modified Works thereof.
74 "Distribute" means the acts of a) distributing or b) making available
75 in any manner that enables the transfer of a copy.
77 "Source Code" means the form of a Program preferred for making
78 modifications, including but not limited to software source code,
79 documentation source, and configuration files.
81 "Secondary License" means either the GNU General Public License,
82 Version 2.0, or any later versions of that license, including any
83 exceptions or additional permissions as identified by the initial
88 a) Subject to the terms of this Agreement, each Contributor hereby
89 grants Recipient a non-exclusive, worldwide, royalty-free copyright
90 license to reproduce, prepare Derivative Works of, publicly display,
91 publicly perform, Distribute and sublicense the Contribution of such
92 Contributor, if any, and such Derivative Works.
94 b) Subject to the terms of this Agreement, each Contributor hereby
95 grants Recipient a non-exclusive, worldwide, royalty-free patent
96 license under Licensed Patents to make, use, sell, offer to sell,
97 import and otherwise transfer the Contribution of such Contributor,
98 if any, in Source Code or other form. This patent license shall
99 apply to the combination of the Contribution and the Program if, at
100 the time the Contribution is added by the Contributor, such addition
101 of the Contribution causes such combination to be covered by the
102 Licensed Patents. The patent license shall not apply to any other
103 combinations which include the Contribution. No hardware per se is
106 c) Recipient understands that although each Contributor grants the
107 licenses to its Contributions set forth herein, no assurances are
108 provided by any Contributor that the Program does not infringe the
109 patent or other intellectual property rights of any other entity.
110 Each Contributor disclaims any liability to Recipient for claims
111 brought by any other entity based on infringement of intellectual
112 property rights or otherwise. As a condition to exercising the
113 rights and licenses granted hereunder, each Recipient hereby
114 assumes sole responsibility to secure any other intellectual
115 property rights needed, if any. For example, if a third party
116 patent license is required to allow Recipient to Distribute the
117 Program, it is Recipient's responsibility to acquire that license
118 before distributing the Program.
120 d) Each Contributor represents that to its knowledge it has
121 sufficient copyright rights in its Contribution, if any, to grant
122 the copyright license set forth in this Agreement.
124 e) Notwithstanding the terms of any Secondary License, no
125 Contributor makes additional grants to any Recipient (other than
126 those set forth in this Agreement) as a result of such Recipient's
127 receipt of the Program under the terms of a Secondary License
128 (if permitted under the terms of Section 3).
132 3.1 If a Contributor Distributes the Program in any form, then:
134 a) the Program must also be made available as Source Code, in
135 accordance with section 3.2, and the Contributor must accompany
136 the Program with a statement that the Source Code for the Program
137 is available under this Agreement, and informs Recipients how to
138 obtain it in a reasonable manner on or through a medium customarily
139 used for software exchange; and
141 b) the Contributor may Distribute the Program under a license
142 different than this Agreement, provided that such license:
143 i) effectively disclaims on behalf of all other Contributors all
144 warranties and conditions, express and implied, including
145 warranties or conditions of title and non-infringement, and
146 implied warranties or conditions of merchantability and fitness
147 for a particular purpose;
149 ii) effectively excludes on behalf of all other Contributors all
150 liability for damages, including direct, indirect, special,
151 incidental and consequential damages, such as lost profits;
153 iii) does not attempt to limit or alter the recipients' rights
154 in the Source Code under section 3.2; and
156 iv) requires any subsequent distribution of the Program by any
157 party to be under a license that satisfies the requirements
160 3.2 When the Program is Distributed as Source Code:
162 a) it must be made available under this Agreement, or if the
163 Program (i) is combined with other material in a separate file or
164 files made available under a Secondary License, and (ii) the initial
165 Contributor attached to the Source Code the notice described in
166 Exhibit A of this Agreement, then the Program may be made available
167 under the terms of such Secondary Licenses, and
169 b) a copy of this Agreement must be included with each copy of
172 3.3 Contributors may not remove or alter any copyright, patent,
173 trademark, attribution notices, disclaimers of warranty, or limitations
174 of liability ("notices") contained within the Program from any copy of
175 the Program which they Distribute, provided that Contributors may add
176 their own appropriate notices.
178 4. COMMERCIAL DISTRIBUTION
180 Commercial distributors of software may accept certain responsibilities
181 with respect to end users, business partners and the like. While this
182 license is intended to facilitate the commercial use of the Program,
183 the Contributor who includes the Program in a commercial product
184 offering should do so in a manner which does not create potential
185 liability for other Contributors. Therefore, if a Contributor includes
186 the Program in a commercial product offering, such Contributor
187 ("Commercial Contributor") hereby agrees to defend and indemnify every
188 other Contributor ("Indemnified Contributor") against any losses,
189 damages and costs (collectively "Losses") arising from claims, lawsuits
190 and other legal actions brought by a third party against the Indemnified
191 Contributor to the extent caused by the acts or omissions of such
192 Commercial Contributor in connection with its distribution of the Program
193 in a commercial product offering. The obligations in this section do not
194 apply to any claims or Losses relating to any actual or alleged
195 intellectual property infringement. In order to qualify, an Indemnified
196 Contributor must: a) promptly notify the Commercial Contributor in
197 writing of such claim, and b) allow the Commercial Contributor to control,
198 and cooperate with the Commercial Contributor in, the defense and any
199 related settlement negotiations. The Indemnified Contributor may
200 participate in any such claim at its own expense.
202 For example, a Contributor might include the Program in a commercial
203 product offering, Product X. That Contributor is then a Commercial
204 Contributor. If that Commercial Contributor then makes performance
205 claims, or offers warranties related to Product X, those performance
206 claims and warranties are such Commercial Contributor's responsibility
207 alone. Under this section, the Commercial Contributor would have to
208 defend claims against the other Contributors related to those performance
209 claims and warranties, and if a court requires any other Contributor to
210 pay any damages as a result, the Commercial Contributor must pay
215 EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, AND TO THE EXTENT
216 PERMITTED BY APPLICABLE LAW, THE PROGRAM IS PROVIDED ON AN "AS IS"
217 BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, EITHER EXPRESS OR
218 IMPLIED INCLUDING, WITHOUT LIMITATION, ANY WARRANTIES OR CONDITIONS OF
219 TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR FITNESS FOR A PARTICULAR
220 PURPOSE. Each Recipient is solely responsible for determining the
221 appropriateness of using and distributing the Program and assumes all
222 risks associated with its exercise of rights under this Agreement,
223 including but not limited to the risks and costs of program errors,
224 compliance with applicable laws, damage to or loss of data, programs
225 or equipment, and unavailability or interruption of operations.
227 6. DISCLAIMER OF LIABILITY
229 EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, AND TO THE EXTENT
230 PERMITTED BY APPLICABLE LAW, NEITHER RECIPIENT NOR ANY CONTRIBUTORS
231 SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
232 EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING WITHOUT LIMITATION LOST
233 PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
234 CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
235 ARISING IN ANY WAY OUT OF THE USE OR DISTRIBUTION OF THE PROGRAM OR THE
236 EXERCISE OF ANY RIGHTS GRANTED HEREUNDER, EVEN IF ADVISED OF THE
237 POSSIBILITY OF SUCH DAMAGES.
241 If any provision of this Agreement is invalid or unenforceable under
242 applicable law, it shall not affect the validity or enforceability of
243 the remainder of the terms of this Agreement, and without further
244 action by the parties hereto, such provision shall be reformed to the
245 minimum extent necessary to make such provision valid and enforceable.
247 If Recipient institutes patent litigation against any entity
248 (including a cross-claim or counterclaim in a lawsuit) alleging that the
249 Program itself (excluding combinations of the Program with other software
250 or hardware) infringes such Recipient's patent(s), then such Recipient's
251 rights granted under Section 2(b) shall terminate as of the date such
254 All Recipient's rights under this Agreement shall terminate if it
255 fails to comply with any of the material terms or conditions of this
256 Agreement and does not cure such failure in a reasonable period of
257 time after becoming aware of such noncompliance. If all Recipient's
258 rights under this Agreement terminate, Recipient agrees to cease use
259 and distribution of the Program as soon as reasonably practicable.
260 However, Recipient's obligations under this Agreement and any licenses
261 granted by Recipient relating to the Program shall continue and survive.
263 Everyone is permitted to copy and distribute copies of this Agreement,
264 but in order to avoid inconsistency the Agreement is copyrighted and
265 may only be modified in the following manner. The Agreement Steward
266 reserves the right to publish new versions (including revisions) of
267 this Agreement from time to time. No one other than the Agreement
268 Steward has the right to modify this Agreement. The Eclipse Foundation
269 is the initial Agreement Steward. The Eclipse Foundation may assign the
270 responsibility to serve as the Agreement Steward to a suitable separate
271 entity. Each new version of the Agreement will be given a distinguishing
272 version number. The Program (including Contributions) may always be
273 Distributed subject to the version of the Agreement under which it was
274 received. In addition, after a new version of the Agreement is published,
275 Contributor may elect to Distribute the Program (including its
276 Contributions) under the new version.
278 Except as expressly stated in Sections 2(a) and 2(b) above, Recipient
279 receives no rights or licenses to the intellectual property of any
280 Contributor under this Agreement, whether expressly, by implication,
281 estoppel or otherwise. All rights in the Program not expressly granted
282 under this Agreement are reserved. Nothing in this Agreement is intended
283 to be enforceable by any entity that is not a Contributor or Recipient.
284 No third-party beneficiary rights are created under this Agreement.
286 Exhibit A - Form of Secondary Licenses Notice
288 "This Source Code may also be made available under the following
289 Secondary Licenses when the conditions for such availability set forth
290 in the Eclipse Public License, v. 2.0 are satisfied: {name license(s),
291 version(s), and exceptions or additional permissions here}."
293 Simply including a copy of this Agreement, including this Exhibit A
294 is not sufficient to license the Source Code under Secondary Licenses.
296 If it is not possible or desirable to put the notice in a particular
297 file, then You may include the notice in a location (such as a LICENSE
298 file in a relevant directory) where a recipient would be likely to
299 look for such a notice.
301 You may add additional accurate notices of copyright ownership.
305 id="org.simantics.maps.server.feature"
309 id="org.simantics.district.network"
316 id="org.simantics.district.network.ontology"
323 id="org.simantics.district.imports"
330 id="com.fasterxml.jackson.core.jackson-databind"
337 id="com.fasterxml.jackson.core.jackson-core"
344 id="com.fasterxml.jackson.core.jackson-annotations"
351 id="org.simantics.district.selection"
358 id="org.apache.commons.csv"