Package org.drools.model.constraints
Class AndConstraints
java.lang.Object
org.drools.model.constraints.AbstractConstraint
org.drools.model.constraints.AndConstraints
- All Implemented Interfaces:
Constraint,ModelComponent
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.drools.model.Constraint
Constraint.Type -
Constructor Summary
ConstructorsConstructorDescriptionAndConstraints(List<Constraint> constraints) AndConstraints(Constraint... constraints) -
Method Summary
Modifier and TypeMethodDescriptionand(Constraint constraint) getType()booleannegate()replaceVariable(Variable oldVar, Variable newVar) toString()Methods inherited from class org.drools.model.constraints.AbstractConstraint
cloneConstraint, or, withMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.drools.model.Constraint
predicateInformation
-
Constructor Details
-
AndConstraints
-
AndConstraints
-
-
Method Details
-
and
- Overrides:
andin classAbstractConstraint
-
getChildren
- Specified by:
getChildrenin interfaceConstraint
-
getType
- Specified by:
getTypein interfaceConstraint
-
isEqualTo
- Specified by:
isEqualToin interfaceModelComponent
-
negate
- Specified by:
negatein interfaceConstraint
-
replaceVariable
- Specified by:
replaceVariablein interfaceConstraint
-
toString
-