public class ProcedureParameter
extends java.lang.Object
Constructor and Description |
---|
ProcedureParameter()
Default constructor.
|
ProcedureParameter(java.lang.String name,
java.lang.Object value,
java.lang.String expression)
Instantiates a new Procedure Parameter.
|
Modifier and Type | Method and Description |
---|---|
static java.util.Map<java.lang.String,java.lang.String> |
convertExpressions(java.util.Collection<ProcedureParameter> procedureParameters)
Utility method that converts a Collection of
ProcedureParameter to
a Map containing only expression parameters. |
static java.util.Map<java.lang.String,java.lang.Object> |
convertStaticParameters(java.util.Collection<ProcedureParameter> procedureParameters)
Utility method that converts a Collection of
ProcedureParameter to
a Map containing only static parameters. |
java.lang.String |
getExpression() |
java.lang.String |
getName() |
java.lang.Object |
getValue() |
void |
setExpression(java.lang.String expression) |
void |
setName(java.lang.String name) |
void |
setValue(java.lang.Object value) |
java.lang.String |
toString() |
public ProcedureParameter(java.lang.String name, java.lang.Object value, java.lang.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 java.lang.String getName()
public void setName(java.lang.String name)
public java.lang.Object getValue()
public void setValue(java.lang.Object value)
public java.lang.String getExpression()
public void setExpression(java.lang.String expression)
public java.lang.String toString()
toString
in class java.lang.Object
public static java.util.Map<java.lang.String,java.lang.String> convertExpressions(java.util.Collection<ProcedureParameter> procedureParameters)
ProcedureParameter
to
a Map containing only expression parameters.procedureParameters
- Must not be null.public static java.util.Map<java.lang.String,java.lang.Object> convertStaticParameters(java.util.Collection<ProcedureParameter> procedureParameters)
ProcedureParameter
to
a Map containing only static parameters.procedureParameters
- Must not be null.