slib.utils.impl
Class ParametrableImpl

java.lang.Object
  extended by slib.utils.impl.ParametrableImpl
All Implemented Interfaces:
Parametrable

public class ParametrableImpl
extends Object
implements Parametrable

Author:
seb

Constructor Summary
ParametrableImpl()
           
 
Method Summary
 void addParameter(String name, Object o)
           
 void clear()
           
 boolean existsParam(String pname)
           
 Object getParameter(String name)
           
 Map<String,Object> getParams()
          Can be null
 void removeParameter(String name)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ParametrableImpl

public ParametrableImpl()
Method Detail

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.