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