slib.utils.impl
Class ParametrableImpl
java.lang.Object
slib.utils.impl.ParametrableImpl
- All Implemented Interfaces:
- Parametrable
public class ParametrableImpl
- extends Object
- implements Parametrable
- Author:
- seb
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ParametrableImpl
public ParametrableImpl()
addParameter
public void addParameter(String name,
Object o)
- Specified by:
addParameter
in interface Parametrable
- Parameters:
name
- o
-
getParameter
public Object getParameter(String name)
- Specified by:
getParameter
in interface Parametrable
- Parameters:
name
-
- Returns:
removeParameter
public void removeParameter(String name)
- Specified by:
removeParameter
in interface Parametrable
- Parameters:
name
-
clear
public void clear()
- Specified by:
clear
in interface Parametrable
existsParam
public boolean existsParam(String pname)
- Specified by:
existsParam
in interface Parametrable
- Parameters:
pname
-
- Returns:
getParams
public Map<String,Object> getParams()
- Can be null
- Specified by:
getParams
in interface Parametrable
- Returns:
Copyright © 2013. All Rights Reserved.