## Ordered sets
-::value[addToOrderedSet]
+::value[addToOrderedSet,addFirstToOrderedSet,addAfterToOrderedSet,addBeforeToOrderedSet]
+::value[removeFromOrderedSet]
::value[setOrderedSet]
::value[elementsOfOrderedSet]
::value[parentOrderedSet]
resourceChildrenOf r = r # L0.ConsistsOf
importJava "org.simantics.db.common.utils.OrderedSetUtils" where
+ "`addToOrderedSet s e` adds element `e` to ordered set `s`"
@JavaName add
addToOrderedSet :: Resource -> Resource -> <WriteGraph> Boolean
+ "`addFirstToOrderedSet s e` adds element `e` to ordered set `s` as the first element"
+ @JavaName addFirst
+ addFirstToOrderedSet :: Resource -> Resource -> <WriteGraph> Boolean
+
+ "`addAfterToOrderedSet s p e` adds element `e` to ordered set `s` after element `p`"
+ @JavaName addAfter
+ addAfterToOrderedSet :: Resource -> Resource -> Resource -> <WriteGraph> Boolean
+
+ "`addBeforeToOrderedSet s p e` adds element `e` to ordered set `s` before element `p`"
+ @JavaName addBefore
+ addBeforeToOrderedSet :: Resource -> Resource -> Resource -> <WriteGraph> Boolean
+
+ "`removeFromOrderedSet s e` removes element `e` from ordered set `s`"
+ @JavaName remove
+ removeFromOrderedSet :: Resource -> Resource -> <WriteGraph> Boolean
+
@JavaName set
setOrderedSet :: Resource -> [Resource] -> <WriteGraph> Boolean