Not (query directive)

From WandoraWiki
Jump to: navigation, search

Description

Returns rows which do not satisfy the inner filtering directive.

Constructor

Not(WhereDirective directive)

Examples

importPackage(org.wandora.query2);
importPackage(org.wandora.topicmap);
new Instances().where(
  new Not(new IsOfType("http://www.wandora.org/core/associationtype"))
)

This selects all instances of the input topic which are not instances of association type.

Personal tools