org.drools.semantics.java
Class JavaFunctions

java.lang.Object
  extended by org.drools.semantics.java.JavaFunctions
All Implemented Interfaces:
java.io.Serializable, SemanticComponent, SemanticFunctions, Functions
Direct Known Subclasses:
GroovyFunctions

public class JavaFunctions
extends java.lang.Object
implements Functions, SemanticFunctions

Python block semantics Consequence.

See Also:
Serialized Form

Field Summary
protected  java.lang.String name
           
protected  RuleSet ruleSet
           
protected  java.lang.String semanticType
           
protected  java.lang.String text
           
 
Constructor Summary
JavaFunctions(java.lang.String name, java.lang.String text, RuleSet ruleSet)
           
 
Method Summary
 java.lang.String getName()
          Returns the name of the component
 SemanticFunctionsCompiler getSemanticFunctionsCompiler()
           
 java.lang.String getSemanticType()
           
 java.lang.String getText()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

semanticType

protected final java.lang.String semanticType
See Also:
Constant Field Values

name

protected final java.lang.String name

text

protected final java.lang.String text

ruleSet

protected final RuleSet ruleSet
Constructor Detail

JavaFunctions

public JavaFunctions(java.lang.String name,
                     java.lang.String text,
                     RuleSet ruleSet)
Method Detail

getText

public java.lang.String getText()
Specified by:
getText in interface Functions

getSemanticType

public java.lang.String getSemanticType()
Specified by:
getSemanticType in interface SemanticComponent

getName

public java.lang.String getName()
Description copied from interface: SemanticComponent
Returns the name of the component

Specified by:
getName in interface SemanticComponent

getSemanticFunctionsCompiler

public SemanticFunctionsCompiler getSemanticFunctionsCompiler()
Specified by:
getSemanticFunctionsCompiler in interface SemanticFunctions