|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectwt.query.template.ParameterTemplate
public class ParameterTemplate
A ParameterTemplate represents a template for a parameter that can be
used to generate a runtime parameter value for a report.
Supported API: true
Extendable: false
| Method Summary | |
|---|---|
String |
getDefaultValue()
Gets the value of the attribute: defaultValue; A default value that can be used if no value is explicitly specified. |
String |
getName()
Gets the value of the attribute: name; Uniquely identifies the parameter. |
String |
getType()
Gets the value of the attribute: type; Specifies the type (Java language type) of the parameter value. |
Object |
getValue(Hashtable a_inputs)
Evaluates the ParameterTemplate using the user inputs to derive an actual parameter value. |
Object |
getValueWithNoDefaults(Hashtable a_inputs)
Evaluates the ParameterTemplate using only the user inputs (default value is not used) to derive an actual parameter value. |
boolean |
isMacro()
Gets the value of the attribute: macro; Indicates if the parameter value is a macro. |
void |
setDefaultValue(String a_DefaultValue)
Sets the value of the attribute: defaultValue; A default value that can be used if no value is explicitly specified. |
void |
setMacro(boolean a_Macro)
Sets the value of the attribute: macro; Indicates if the parameter value is a macro. |
void |
setName(String a_Name)
Sets the value of the attribute: name; Uniquely identifies the parameter. |
void |
setType(String a_Type)
Sets the value of the attribute: type; Specifies the type (Java language type) of the parameter value. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public String getName()
public void setName(String a_Name)
throws WTPropertyVetoException
a_Name -
WTPropertyVetoExceptionpublic String getDefaultValue()
public void setDefaultValue(String a_DefaultValue)
throws WTPropertyVetoException
a_DefaultValue -
WTPropertyVetoExceptionpublic boolean isMacro()
public void setMacro(boolean a_Macro)
throws WTPropertyVetoException
a_Macro -
WTPropertyVetoExceptionpublic String getType()
public void setType(String a_Type)
throws WTPropertyVetoException
a_Type -
WTPropertyVetoException
public Object getValue(Hashtable a_inputs)
throws WTException
a_inputs -
WTException
public Object getValueWithNoDefaults(Hashtable a_inputs)
throws WTException
a_inputs -
WTException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||