org.openmrs.logic.rule
Class RuleParameterInfo

java.lang.Object
  extended by org.openmrs.logic.rule.RuleParameterInfo

public class RuleParameterInfo
extends java.lang.Object

An argument passed to a logic Rule

See Also:
Rule

Constructor Summary
RuleParameterInfo(java.lang.Class parameterClass)
           
RuleParameterInfo(java.lang.Class parameterClass, boolean required)
           
RuleParameterInfo(java.lang.Class parameterClass, boolean required, java.lang.Object defaultValue)
           
 
Method Summary
 java.lang.Object getDefaultValue()
           
 java.lang.Class getParameterClass()
           
 boolean isRquired()
           
 void setDefaultValue(java.lang.Object defaultValue)
           
 void setParameterClass(java.lang.Class parameterClass)
           
 void setRequired(boolean required)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RuleParameterInfo

public RuleParameterInfo(java.lang.Class parameterClass)

RuleParameterInfo

public RuleParameterInfo(java.lang.Class parameterClass,
                         boolean required)

RuleParameterInfo

public RuleParameterInfo(java.lang.Class parameterClass,
                         boolean required,
                         java.lang.Object defaultValue)
Method Detail

getParameterClass

public java.lang.Class getParameterClass()

setParameterClass

public void setParameterClass(java.lang.Class parameterClass)

isRquired

public boolean isRquired()

setRequired

public void setRequired(boolean required)

getDefaultValue

public java.lang.Object getDefaultValue()

setDefaultValue

public void setDefaultValue(java.lang.Object defaultValue)

OpenMRS-1.7.x

Generated Apr 27 2012 10:06 PM. NOTE - these libraries are in active development and subject to change