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