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() |
cloneConstraint, or, withclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitareEqualInModel, areEqualInModel, areEqualInModel, areEqualInModelpredicateInformationpublic AndConstraints(List<Constraint> constraints)
public AndConstraints(Constraint... constraints)
public AndConstraints and(Constraint constraint)
and in class AbstractConstraintpublic List<Constraint> getChildren()
getChildren in interface Constraintpublic Constraint.Type getType()
getType in interface Constraintpublic boolean isEqualTo(ModelComponent o)
isEqualTo in interface ModelComponentpublic Constraint negate()
negate in interface Constraintpublic AndConstraints replaceVariable(Variable oldVar, Variable newVar)
replaceVariable in interface ConstraintCopyright © 2001–2021 JBoss by Red Hat. All rights reserved.