Search in sources :

Example 1 with Expression

use of org.whole.lang.queries.reflect.QueriesEntityDescriptorEnum.Expression in project whole by wholeplatform.

the class ActionsUIContentAssistVisitor method createNotEqualsQuery.

protected IEntity createNotEqualsQuery(IEntity prototype) {
    Expression expression = createStageUpFragment(Expression, EntityUtils.clone(prototype));
    QueriesEntityFactory qef = QueriesEntityFactory.instance;
    return qef.createNot(qef.createExpressionTest(qef.createPointwiseEquals(qef.createSelfStep(), expression)));
}
Also used : Expression(org.whole.lang.queries.model.Expression) Expression(org.whole.lang.queries.reflect.QueriesEntityDescriptorEnum.Expression) QueriesEntityFactory(org.whole.lang.queries.factories.QueriesEntityFactory)

Aggregations

QueriesEntityFactory (org.whole.lang.queries.factories.QueriesEntityFactory)1 Expression (org.whole.lang.queries.model.Expression)1 Expression (org.whole.lang.queries.reflect.QueriesEntityDescriptorEnum.Expression)1