public class SingleConstraint2<A,B> extends AbstractSingleConstraint
Constraint.Type
FALSE, TRUE
Constructor and Description |
---|
SingleConstraint2(Expr2ViewItemImpl<A,B> expr) |
SingleConstraint2(String exprId,
Variable<A> var1,
Variable<B> var2,
Predicate2<A,B> predicate) |
SingleConstraint2(Variable<A> var1,
Variable<B> var2,
Predicate2<A,B> predicate) |
Modifier and Type | Method and Description |
---|---|
PredicateN |
getPredicate() |
Variable[] |
getVariables() |
boolean |
isEqualTo(ModelComponent o) |
SingleConstraint2<A,B> |
negate() |
SingleConstraint2<A,B> |
replaceVariable(Variable oldVar,
Variable newVar) |
fromExpr, getChildren, getExprId, getIndex, getReactiveProps, getReactivityBitMask, negate, setIndex, setReactivitySpecs, toString
and, or, with
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
createConstraint, getPredicate1, getType, isTemporal
areEqualInModel, areEqualInModel, areEqualInModel, areEqualInModel
public SingleConstraint2(Variable<A> var1, Variable<B> var2, Predicate2<A,B> predicate)
public SingleConstraint2(String exprId, Variable<A> var1, Variable<B> var2, Predicate2<A,B> predicate)
public SingleConstraint2(Expr2ViewItemImpl<A,B> expr)
public Variable[] getVariables()
public PredicateN getPredicate()
public boolean isEqualTo(ModelComponent o)
public SingleConstraint2<A,B> negate()
public SingleConstraint2<A,B> replaceVariable(Variable oldVar, Variable newVar)
Copyright © 2001–2020 JBoss by Red Hat. All rights reserved.