public class AndConstraints extends AbstractConstraint implements ModelComponent
Constraint.Type
Constructor and Description |
---|
AndConstraints(Constraint... constraints) |
AndConstraints(List<Constraint> constraints) |
Modifier and Type | Method and Description |
---|---|
AndConstraints |
and(Constraint constraint) |
List<Constraint> |
getChildren() |
Constraint.Type |
getType() |
boolean |
isEqualTo(ModelComponent o) |
Constraint |
negate() |
AndConstraints |
replaceVariable(Variable oldVar,
Variable newVar) |
String |
toString() |
or, with
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
areEqualInModel, areEqualInModel, areEqualInModel, areEqualInModel
public AndConstraints(List<Constraint> constraints)
public AndConstraints(Constraint... constraints)
public AndConstraints and(Constraint constraint)
and
in class AbstractConstraint
public List<Constraint> getChildren()
getChildren
in interface Constraint
public Constraint.Type getType()
getType
in interface Constraint
public boolean isEqualTo(ModelComponent o)
isEqualTo
in interface ModelComponent
public Constraint negate()
negate
in interface Constraint
public AndConstraints replaceVariable(Variable oldVar, Variable newVar)
replaceVariable
in interface Constraint
Copyright © 2001–2020 JBoss by Red Hat. All rights reserved.