org.drools.rule
Class Function

java.lang.Object
  extended by org.drools.rule.Function
All Implemented Interfaces:
Externalizable, Serializable, org.drools.definition.KnowledgeDefinition, Dialectable

public class Function
extends Object
implements org.drools.definition.KnowledgeDefinition, Dialectable, Externalizable

See Also:
Serialized Form

Constructor Summary
Function()
           
Function(String namespace, String name, String dialect)
           
 
Method Summary
 String getDialect()
           
 String getName()
           
 String getNamespace()
           
 org.drools.io.Resource getResource()
           
 void readExternal(ObjectInput in)
           
 void setNamespace(String namespace)
           
 void setResource(org.drools.io.Resource resource)
           
 void writeExternal(ObjectOutput out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Function

public Function()

Function

public Function(String namespace,
                String name,
                String dialect)
Method Detail

getName

public String getName()

getDialect

public String getDialect()
Specified by:
getDialect in interface Dialectable

getResource

public org.drools.io.Resource getResource()

setResource

public void setResource(org.drools.io.Resource resource)

getNamespace

public String getNamespace()

setNamespace

public void setNamespace(String namespace)

readExternal

public void readExternal(ObjectInput in)
                  throws IOException,
                         ClassNotFoundException
Specified by:
readExternal in interface Externalizable
Throws:
IOException
ClassNotFoundException

writeExternal

public void writeExternal(ObjectOutput out)
                   throws IOException
Specified by:
writeExternal in interface Externalizable
Throws:
IOException


Copyright © 2001-2013 JBoss Inc.. All Rights Reserved.