|
EspressChart v 5.5 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--quadbase.common.param.ParameterSet
This class implements Parameters. It supports add and get methods for Param type objects. Once added, a Param object cannot be removed from this ParameterSet. Internally, a Vector stores all the Param and a Hashtable holds pointers to these Param objects for fast retrieval when specific get methods is used.
| Constructor Summary | |
ParameterSet()
Allocates an empty ParameterSet |
|
| Method Summary | |
boolean |
add(Param p)
|
Param |
get(int index)
Gets a particular Param by index. |
Parameters |
get(java.lang.String name)
Gets a set of parameters by its name. |
Param |
get(java.lang.String parent,
java.lang.String name,
boolean isFormula)
Gets a Param by its parent name and name. |
int |
size()
the total number of parameters |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ParameterSet()
| Method Detail |
public int size()
size in interface Parameterspublic boolean add(Param p)
public Param get(int index)
get in interface Parametersindex - 0 <= index < size()
public Param get(java.lang.String parent,
java.lang.String name,
boolean isFormula)
get in interface Parametersparent - the name of the template that contains this parameter.
This may either be the name of a report, or the name of a sub report, etc.name - the name of the parameterpublic Parameters get(java.lang.String name)
get in interface Parametersname - the name of the parameter
|
EspressChart v 5.5 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||