|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object pt.digitalis.dif.dem.objects.parameters.ParameterList
public class ParameterList
A list of parameters
Constructor Summary | |
---|---|
ParameterList()
|
Method Summary | ||
---|---|---|
void |
addParameter(IParameter<?> parameter)
Adds a parameter to the list |
|
ParameterList |
addParameters(ParameterList list)
Adds a parameter list to the current one |
|
ParameterList |
cloneMe()
Creates a new instance of the current object |
|
IParameter<?> |
getParameter(String id)
Gets a parameter by it's id |
|
|
getParameter(String id,
Class<T> clazz)
Gets a parameter by it's id |
|
Map<String,IParameter> |
getParameters()
|
|
void |
updatesParameter(IParameter parameter)
Updates a parameter in the list. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ParameterList()
Method Detail |
---|
public void addParameter(IParameter<?> parameter)
parameter
- the parameter to addpublic ParameterList addParameters(ParameterList list)
list
- the parameter list to add
public ParameterList cloneMe() throws CloneNotSupportedException
ParameterList
clone
CloneNotSupportedException
public IParameter<?> getParameter(String id)
id
- the id to search
public <T> IParameter<T> getParameter(String id, Class<T> clazz)
T
- the type of the parameterid
- the id to searchclazz
- the class of the parameter
public Map<String,IParameter> getParameters()
public void updatesParameter(IParameter parameter) throws ParameterException
parameter
- the parameter to update
ParameterException
- if the parameter cannot be updated
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |