|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.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 IConstraint
public void setConstraint(String constraint)
IConstraint
setConstraint
in interface IConstraint
constraint
- the constraintpublic String getName()
IConstraint
getName
in interface IConstraint
public void setName(String name)
IConstraint
setName
in interface IConstraint
name
- the name of the constraintpublic String toString()
public int getPriority()
IConstraint
getPriority
in interface IConstraint
public void setPriority(int priority)
IConstraint
setPriority
in interface IConstraint
priority
- the priority of the constraint
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |