|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.drools.ruleflow.core.impl.Constraint
public class Constraint
Default implementation of a constraint.
| Constructor Summary | |
|---|---|
Constraint()
|
|
| Method Summary | |
|---|---|
String |
getConstraint()
Typically this method returns the constraint |
String |
getName()
Returns the name of the constraint |
int |
getPriority()
Returns the priority of the constriant |
void |
setConstraint(String constraint)
Method for setting the constraint |
void |
setName(String name)
Sets the name of the constraint |
void |
setPriority(int priority)
Method for setting the priority of the constraint |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Constraint()
| Method Detail |
|---|
public String getConstraint()
IConstraint
getConstraint in interface IConstraintpublic void setConstraint(String constraint)
IConstraint
setConstraint in interface IConstraintconstraint - the constraintpublic String getName()
IConstraint
getName in interface IConstraintpublic void setName(String name)
IConstraint
setName in interface IConstraintname - the name of the constraintpublic String toString()
public int getPriority()
IConstraint
getPriority in interface IConstraintpublic void setPriority(int priority)
IConstraint
setPriority in interface IConstraintpriority - the priority of the constraint
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||