org.drools.semantics.python
Class PythonFunctions

java.lang.Object
  extended by org.drools.semantics.python.PythonFunctions
All Implemented Interfaces:
java.io.Serializable, SemanticComponent, Functions

public class PythonFunctions
extends java.lang.Object
implements Functions, SemanticComponent

Python block semantics Functions.

See Also:
Serialized Form

Field Summary
protected  java.lang.String name
           
protected  java.lang.String semanticType
           
 
Constructor Summary
PythonFunctions(java.lang.String name, java.lang.String text)
          Construct.
 
Method Summary
 java.lang.String getName()
          Returns the name of the component
 java.lang.String getSemantic()
           
 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
Constructor Detail

PythonFunctions

public PythonFunctions(java.lang.String name,
                       java.lang.String text)
Construct.

Parameters:
text - The block text.
Method Detail

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

getText

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

getSemantic

public java.lang.String getSemantic()