@StableMinor(version="12.5", sinceVersion="10.4") public interface IParameters
Modifier and Type | Method and Description |
---|---|
static IParameters |
asParameters(Object obj)
Returns a IParameters adapter for the given object.
|
boolean |
containsParameter(String name)
Returns whether a parameter is set in this parameters.
|
static IParameters |
emptyParameters()
Returns a
IParameters object that does not contain any parameter. |
Object |
getParameter(String name) |
boolean containsParameter(String name)
This is useful to differ a null
value parameter from a non-existing parameter.
name
- the parameter name.true
if the parameter is set, false
otherwise.static IParameters emptyParameters()
IParameters
object that does not contain any parameter.IParameters
object.static IParameters asParameters(Object obj)
obj
- the object to adapt as parameters. It may be:
null
, in this case emptyParameters()
is returned.IParameters
, in this case obj
is returned.String
keys. Each map entry will correspond to a parameter where the entry key is the
parameter name and the entry value is the parameter value.LumisXP 12.5.0.200928 - Copyright © 2006–2020 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.