Namespace funnyqt.query.emf

EMF-specific query functions

Other Namespaces

Show/Hide
funnyqt.bidi
Bidirectional transformations (BX).
funnyqt.coevo.tg
Co-Evolution transformations on TGraphs.
funnyqt.edn
Printing/persisting and reading/loading query results and transformation traces as EDN.
funnyqt.emf
Core functions for accessing and manipulating EMF models.
funnyqt.extensional
Specify models extensionally.
funnyqt.generic
Generic protocols extended upon many different types, and generic functions.
funnyqt.in-place
In-place transformation stuff.
funnyqt.model2model
Rule-base out-place transformations similar to ATL or QVTo.
funnyqt.pmatch
Graph Pattern Matching on arbitrary models.
funnyqt.polyfns
Polymorphic functions dispatching on types of model elements.
funnyqt.query
Generic query functions like regular path expressions & quantified expressions.
funnyqt.query.tg
TG-specific query functions
funnyqt.relational
Relational Model Querying.
funnyqt.tg
Core functions for accessing and manipulating TGraphs.
funnyqt.utils
Generic utility functions, e.g., for signaling errors, debugging, and profiling,
funnyqt.visualization
Model visualization functions.
funnyqt.xmltg
Convert XML to DOM-like TGraphs.
Index Page
Alphabetic Var Index

Public Vars

Usage Documentation

Show/Hide
EMF-specific query functions
Back to top

Details of Public Vars

Function: --->

Arglists:
=========

  (---> obj)
  (---> obj rs)

Docstring:
==========

  Returns the EObjects cross-referenced by `obj` where the references may be
  restricted by `rs`, a reference specification (see `funnyqt.emf/eref-matcher`
  for details).  `obj` may also be a collection of EObjects.  In EMF,
  cross-referenced means referenced by a non-containment EReference.
Back to top View Source

Function: --<>

Arglists:
=========

  (--<> obj)
  (--<> obj rs)

Docstring:
==========

  Returns a seq containing `obj`s container.  If there's none,
  returns the empty set.
Back to top View Source

Function: -->

Arglists:
=========

  (--> obj)
  (--> obj rs)

Docstring:
==========

  Returns the EObjects referenced by `obj` where the references may be
  restricted by `rs`, a reference specification (see `funnyqt.emf/eref-matcher`
  for details).  `obj` may also be a collection of EObjects.  In contrast to
  `--->`, this function includes both cross-references and containments.
Back to top View Source

Function: <--

Arglists:
=========

  (<-- obj)
  (<-- obj rs)
  (<-- obj rs container)

Docstring:
==========

  Returns all EObjects referencing `obj` with a reference matching the
  reference specification `rs` (see `funnyqt.emf/eref-matcher` for details).
  `obj` may also be a collection of EObjects, in which case all objects
  referencing any of the objects in `obj` is returned.  In contrast to `<---',
  this function includes both cross-references and containments.

  If no `container` is given, then only the opposite refs of `obj` are checked.
  Else, all objects in `container` are tested if they reference `obj` with a
  reference matching `rs`.  `container` may be either an EObject, a Resource, a
  ResourceSet, or a collection of EObjects.  For the former three, direct and
  indirect contents are checked, for collections only direct contents.
Back to top View Source

Function: <---

Arglists:
=========

  (<--- obj)
  (<--- obj rs)
  (<--- obj rs container)

Docstring:
==========

  Returns all EObjects cross-referencing `obj` with a reference matching the
  reference specification `rs` (see `funnyqt.emf/eref-matcher` for details).
  `obj` may also be a collection of EObjects, in which case all objects
  cross-referencing any of the objects in `obj` is returned.  In EMF,
  cross-referenced means referenced by a non-containment EReference.

  If no `container` is given, then only the opposite refs of `obj` are checked.
  Else, all objects in `container` are tested if they reference `obj` with a
  reference matching `rs`.  `container` may be either an EObject, a Resource, a
  ResourceSet, or a collection of EObjects.  For the former three, direct and
  indirect contents are checked, for collections only direct contents.
Back to top View Source

Function: <>--

Arglists:
=========

  (<>-- obj)
  (<>-- obj rs)

Docstring:
==========

  Returns the (direct) contents of EObject `obj` restricted by the reference
  specification `rs` (see `funnyqt.emf/eref-matcher` for details).  `obj` may
  also be a collection of EObjects.
Back to top View Source