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, or
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
areEqualInModel, areEqualInModel, areEqualInModel, areEqualInModel
public MultipleConstraints(List<Constraint> constraints)
public MultipleConstraints(Constraint... constraints)
public MultipleConstraints with(Constraint constraint)
with
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 MultipleConstraints replaceVariable(Variable oldVar, Variable newVar)
replaceVariable
in interface Constraint
Copyright © 2001–2020 JBoss by Red Hat. All rights reserved.