dependencies element for an object specifies that the object depends on other objects. This indicates that if your module adds the element to your Ontology, the Jena module will wait until the elements on which it depends have been added to effectively perform the add.flightplan object depends on the waypoint object:<object name="flightplan" className="FlightPlan"> <dataProperty name="label" property="Label" isName="true"/> <property name="waypoint" eltRef="waypoint" property="hasWaypoint" inverseProperty="isWaypointFrom" cardinality="unbound" inverseCardinality="one" /> <dependencies> <dependency dependsOn="waypoint" /> </dependencies> </object>
flightplan object depends on the waypoint objectaircraft object depends on the flightplan and waypoint objects
behavior attribute on the dependencies element:<object name="track" className="Aircraft"> <geometry /> <dataProperty name="label" property="Label" isName="true"/> <dependencies behavior="discard"> <dependency dependsOn="flightplan" /> <dependency dependsOn="waypoint" /> </dependencies> </object>
Copyright 2017-2020 Dassault Aviation. All Rights Reserved. Documentation and source under the LGPL v3 licence