public class OperationDefinition extends Object
| Constructor and Description |
|---|
OperationDefinition() |
| Modifier and Type | Method and Description |
|---|---|
static String |
getOperation(String opDef)
Get operation name of operation definition
|
static Collection<Parameter> |
getParameter(String opDef)
Get parameter list of an operation definition
A parameter list contains of a name and of a type for each parameter+
|
static String |
getSQLString(String baseString,
Collection<String> parameter)
Create a SQL string from an input SQL string with place holders in format $x with x being an integer number.
|
static String |
getSQLString(String baseString,
Map<String,Object> parameter)
Create a SQL string from an input SQL string with place holders in format $x with x being an integer number.
|
public static String getOperation(String opDef)
opDef - The operation definition stringpublic static Collection<Parameter> getParameter(String opDef)
opDef - The operation definition stringpublic static String getSQLString(String baseString, Collection<String> parameter)
baseString - SQL string with place holdersparameter - Parameter values that place holders are substituted forpublic static String getSQLString(String baseString, Map<String,Object> parameter)
baseString - SQL string with place holdersparameter - Parameter values that place holders are substituted forCopyright © 2021. All rights reserved.