|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.doolin.gui.service.support.DefaultParameters
public class DefaultParameters
Default implementation of the Parameters service.
| Constructor Summary | |
|---|---|
DefaultParameters()
|
|
| Method Summary | ||
|---|---|---|
|
getEnum(String paramId,
Class<E> enumClass,
E defaultValue)
Gets a parameter as an enumeration. |
|
Map<String,?> |
getParameters()
Gets the parameters. |
|
void |
setParameters(Map<String,?> parameters)
Sets the parameters. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultParameters()
| Method Detail |
|---|
public <E extends Enum<E>> E getEnum(String paramId,
Class<E> enumClass,
E defaultValue)
getEnum in interface ParametersE - Type of enumeration.paramId - Parameter idenumClass - Enumeration classdefaultValue - Default value if not specified
public Map<String,?> getParameters()
public void setParameters(Map<String,?> parameters)
parameters - the parameters
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||