org.drools.jsr94.rules.admin
Class RuleImpl

java.lang.Object
  |
  +--org.drools.jsr94.rules.admin.RuleImpl
All Implemented Interfaces:
javax.rules.admin.Rule, java.io.Serializable

public class RuleImpl
extends java.lang.Object
implements javax.rules.admin.Rule

This interface defines a production rule. Related Rule instances are assembled into RuleExecutionSets, which in turn, can be executed by a rules engine via the RuleSession interface.

Author:
thomas diesler
See Also:
Rule, Serialized Form

Method Summary
 java.lang.String getDescription()
           
 java.lang.String getName()
           
 java.lang.Object getProperty(java.lang.Object key)
           
 void setProperty(java.lang.Object key, java.lang.Object val)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getName

public java.lang.String getName()
Specified by:
getName in interface javax.rules.admin.Rule

getDescription

public java.lang.String getDescription()
Specified by:
getDescription in interface javax.rules.admin.Rule

getProperty

public java.lang.Object getProperty(java.lang.Object key)
Specified by:
getProperty in interface javax.rules.admin.Rule

setProperty

public void setProperty(java.lang.Object key,
                        java.lang.Object val)
Specified by:
setProperty in interface javax.rules.admin.Rule