public class DynamicExecVariable extends Object
Modifier and Type | Method and Description |
---|---|
String |
addParameter(String vName,
String value)
Adds a new parameter to the
Dynamic Executable Variable. . |
void |
clearParameters()
Removes all Parameters.
|
UC4ObjectName |
getExecObject()
Gets the executable object name.
|
String |
getParameter(String key)
Gets the parameter from given key.
|
String |
getResultVariableName()
Gets the Variable result name.
|
Iterator<String> |
parameterNameIterator()
Returns an
java.util.Iterator of set parameter names. |
int |
paramSize()
Number of used parameters.
|
void |
removeParameter(String vName)
Removes a parameter.
|
void |
setExecObject(UC4ObjectName execObject)
Sets the executable object name.
|
void |
setResultVariableName(String varaResult)
Sets the Variable result name.
|
public UC4ObjectName getExecObject()
public void setExecObject(UC4ObjectName execObject)
execObject
- the new Executable objectpublic String getResultVariableName()
public void setResultVariableName(String varaResult)
varaResult
- the new Variable result namepublic int paramSize()
public void removeParameter(String vName) throws NullPointerException
vName
- Key of the parameter that should be removedNullPointerException
- the null pointer exceptionpublic void clearParameters()
public String addParameter(String vName, String value)
Dynamic Executable Variable.
.
The returns value indicates if the parameter was added successfully.vName
- name of the parametervalue
- value of the parametertrue
if the bind parameter was added successfully false
otherwisepublic String getParameter(String key)
key
- the key of an specified parameterCopyright © 2021. All rights reserved.