public class ProcedureParameter extends Object
Constructor and Description |
---|
ProcedureParameter()
Default constructor.
|
ProcedureParameter(String name,
Object value,
String expression)
Instantiates a new Procedure Parameter.
|
Modifier and Type | Method and Description |
---|---|
static Map<String,String> |
convertExpressions(Collection<ProcedureParameter> procedureParameters)
Utility method that converts a Collection of
ProcedureParameter to
a Map containing only expression parameters. |
static Map<String,Object> |
convertStaticParameters(Collection<ProcedureParameter> procedureParameters)
Utility method that converts a Collection of
ProcedureParameter to
a Map containing only static parameters. |
String |
getExpression() |
String |
getName() |
Object |
getValue() |
void |
setExpression(String expression) |
void |
setName(String name) |
void |
setValue(Object value) |
String |
toString() |
public ProcedureParameter(String name, Object value, String expression)
name
- Name of the procedure parameter, must not be null or emptyvalue
- If null, the expression property must be setexpression
- If null, the value property must be setpublic ProcedureParameter()
public String getName()
public void setName(String name)
public Object getValue()
public void setValue(Object value)
public String getExpression()
public void setExpression(String expression)
public static Map<String,String> convertExpressions(Collection<ProcedureParameter> procedureParameters)
ProcedureParameter
to
a Map containing only expression parameters.procedureParameters
- Must not be null.public static Map<String,Object> convertStaticParameters(Collection<ProcedureParameter> procedureParameters)
ProcedureParameter
to
a Map containing only static parameters.procedureParameters
- Must not be null.