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