Package org.drools.drl.ast.descr
Class PredicateDescr
- java.lang.Object
-
- org.drools.drl.ast.descr.BaseDescr
-
- org.drools.drl.ast.descr.RestrictionDescr
-
- org.drools.drl.ast.descr.PredicateDescr
-
- All Implemented Interfaces:
Externalizable,Serializable,Namespaceable
public class PredicateDescr extends RestrictionDescr
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PredicateDescr()PredicateDescr(Object text)PredicateDescr(org.kie.api.io.Resource resource, Object text)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcopyParameters(BaseDescr base)StringgetClassMethodName()ObjectgetContent()String[]getDeclarations()List<String>getParameters()voidsetClassMethodName(String classMethodName)voidsetContent(Object text)voidsetDeclarations(String[] declarations)voidsetParameters(List<String> parameters)StringtoString()-
Methods inherited from class org.drools.drl.ast.descr.BaseDescr
accept, copyLocation, getColumn, getEndCharacter, getEndColumn, getEndLine, getLine, getNamespace, getResource, getStartCharacter, getText, isNegated, negate, positionAsString, readExternal, replaceVariable, setEndCharacter, setEndLocation, setLocation, setNamespace, setResource, setStartCharacter, setText, writeExternal
-
-
-
-
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()
-
copyParameters
public void copyParameters(BaseDescr base)
-
-