|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.openmrs.report.Parameter
@Deprecated public class Parameter
Parameters are used in a ReportSchema, LogicCriteria, and CohortFromStrategy, etc
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 Summary | |
|---|---|
Parameter()
Deprecated. Default constructor |
|
Parameter(java.lang.String name,
java.lang.String label,
java.lang.Class<?> clazz,
java.lang.Object defaultValue)
Deprecated. Initialize this Parameter with the given values |
|
| Method Summary | |
|---|---|
java.lang.Class<?> |
getClazz()
Deprecated. |
java.lang.Object |
getDefaultValue()
Deprecated. |
java.lang.String |
getLabel()
Deprecated. |
java.lang.String |
getName()
Deprecated. |
boolean |
isRequired()
Deprecated. Whether or not this parameter "must" be filled in by a value |
void |
setClazz(java.lang.Class<?> clazz)
Deprecated. |
void |
setDefaultValue(java.lang.Object defaultValue)
Deprecated. |
void |
setLabel(java.lang.String label)
Deprecated. |
void |
setName(java.lang.String name)
Deprecated. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Parameter()
public Parameter(java.lang.String name,
java.lang.String label,
java.lang.Class<?> clazz,
java.lang.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 user| Method Detail |
|---|
public boolean isRequired()
public java.lang.Class<?> getClazz()
public void setClazz(java.lang.Class<?> clazz)
public java.lang.Object getDefaultValue()
public void setDefaultValue(java.lang.Object defaultValue)
public java.lang.String getLabel()
public void setLabel(java.lang.String label)
public java.lang.String getName()
public void setName(java.lang.String name)
|
OpenMRS-1.7.x | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||