Package org.drools.compiler.lang.descr
Class QueryDescr
- java.lang.Object
-
- org.drools.compiler.lang.descr.BaseDescr
-
- org.drools.compiler.lang.descr.AnnotatedBaseDescr
-
- org.drools.compiler.lang.descr.RuleDescr
-
- org.drools.compiler.lang.descr.QueryDescr
-
- All Implemented Interfaces:
Externalizable
,Serializable
,org.drools.core.rule.Annotated
,org.drools.core.rule.Dialectable
,org.drools.core.rule.Namespaceable
public class QueryDescr extends RuleDescr
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description QueryDescr()
QueryDescr(String name)
QueryDescr(String ruleName, String documentation)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addParameter(String type, String variable)
String[]
getParameters()
String[]
getParameterTypes()
boolean
isQuery()
boolean
isRule()
String
toString()
-
Methods inherited from class org.drools.compiler.lang.descr.RuleDescr
addAttribute, addNamedConsequences, equals, getAttributes, getClassName, getConsequence, getConsequenceLine, getConsequenceOffset, getConsequencePattern, getDialect, getDocumentation, getEnabled, getErrors, getLhs, getLoadOrder, getName, getNamedConsequences, getParentName, getSalience, getUnit, hasErrors, hashCode, hasParent, lookAheadFieldsOfIdentifier, readExternal, setClassName, setConsequence, setConsequenceLocation, setConsequenceOffset, setLhs, setLoadOrder, setName, setParentName, setResource, setUnit, toRule, writeExternal
-
Methods inherited from class org.drools.compiler.lang.descr.AnnotatedBaseDescr
addAnnotation, addAnnotation, addAnnotation, addQualifiedAnnotation, getAnnotation, getAnnotation, getAnnotationNames, getAnnotations, getTypedAnnotation, hasAnnotation, indexByFQN
-
Methods inherited from class org.drools.compiler.lang.descr.BaseDescr
accept, copyLocation, getColumn, getEndCharacter, getEndColumn, getEndLine, getLine, getNamespace, getResource, getStartCharacter, getText, isNegated, negate, positionAsString, replaceVariable, setEndCharacter, setEndLocation, setLocation, setNamespace, setStartCharacter, setText
-
-