Package org.drools.compiler.lang.descr
Class ReturnValueRestrictionDescr
- java.lang.Object
-
- org.drools.compiler.lang.descr.BaseDescr
-
- org.drools.compiler.lang.descr.RestrictionDescr
-
- org.drools.compiler.lang.descr.EvaluatorBasedRestrictionDescr
-
- org.drools.compiler.lang.descr.ReturnValueRestrictionDescr
-
- All Implemented Interfaces:
Externalizable
,Serializable
,org.drools.core.rule.Namespaceable
public class ReturnValueRestrictionDescr extends EvaluatorBasedRestrictionDescr
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ReturnValueRestrictionDescr()
ReturnValueRestrictionDescr(String evaluator, RelationalExprDescr relDescr, Object content)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getClassMethodName()
Object
getContent()
String[]
getDeclarations()
void
setClassMethodName(String classMethodName)
void
setContent(Object text)
void
setDeclarations(String[] declarations)
String
toString()
-
Methods inherited from class org.drools.compiler.lang.descr.EvaluatorBasedRestrictionDescr
getEvaluator, getParameters, getParameterText, isNegated, setEvaluator, setNegated, setParameters
-
Methods inherited from class org.drools.compiler.lang.descr.BaseDescr
accept, copyLocation, getColumn, getEndCharacter, getEndColumn, getEndLine, getLine, getNamespace, getResource, getStartCharacter, getText, negate, positionAsString, readExternal, replaceVariable, setEndCharacter, setEndLocation, setLocation, setNamespace, setResource, setStartCharacter, setText, writeExternal
-
-
-
-
Constructor Detail
-
ReturnValueRestrictionDescr
public ReturnValueRestrictionDescr()
-
ReturnValueRestrictionDescr
public ReturnValueRestrictionDescr(String evaluator, RelationalExprDescr relDescr, Object content)
-
-
Method Detail
-
getClassMethodName
public String getClassMethodName()
-
setClassMethodName
public void setClassMethodName(String classMethodName)
-
getContent
public Object getContent()
-
setContent
public void setContent(Object text)
-
setDeclarations
public void setDeclarations(String[] declarations)
-
getDeclarations
public String[] getDeclarations()
-
toString
public String toString()
- Overrides:
toString
in classEvaluatorBasedRestrictionDescr
-
-