@Deprecated public class Parameter extends Object
If an object is parameterizable, it is willing to accept a parameter like this. Examples of a parameter would be "What start date do you want to use?" The value of the parameter would be plugged in when the object is evaluated.
LogicCriteria, 
Parameterizable| Constructor and Description | 
|---|
Parameter()
Deprecated.  
Default constructor 
 | 
Parameter(String name,
         String label,
         Class<?> clazz,
         Object defaultValue)
Deprecated.  
Initialize this Parameter with the given values 
 | 
| Modifier and Type | Method and Description | 
|---|---|
Class<?> | 
getClazz()
Deprecated.  
  | 
Object | 
getDefaultValue()
Deprecated.  
  | 
String | 
getLabel()
Deprecated.  
  | 
String | 
getName()
Deprecated.  
  | 
boolean | 
isRequired()
Deprecated.  
Whether or not this parameter "must" be filled in by a value 
 | 
void | 
setClazz(Class<?> clazz)
Deprecated.  
  | 
void | 
setDefaultValue(Object defaultValue)
Deprecated.  
  | 
void | 
setLabel(String label)
Deprecated.  
  | 
void | 
setName(String name)
Deprecated.  
  | 
public Parameter()
public Parameter(String name, String label, Class<?> clazz, Object defaultValue)
name - The defined descriptive namelabel - The label to display to the user if value is neededclazz - The data type of this parameterdefaultValue - The value to fill in if nothing provided by the userpublic boolean isRequired()
public Class<?> getClazz()
public void setClazz(Class<?> clazz)
public Object getDefaultValue()
public void setDefaultValue(Object defaultValue)
public String getLabel()
public void setLabel(String label)
public String getName()
public void setName(String name)
Copyright © 2018 OpenMRS LLC.. All Rights Reserved.