|
Spring Integration | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.integration.jdbc.storedproc.ProcedureParameter
public class ProcedureParameter
Abstraction of Procedure parameters allowing to provide static parameters and SpEl Expression based parameters.
Constructor Summary | |
---|---|
ProcedureParameter()
Default constructor. |
|
ProcedureParameter(java.lang.String name,
java.lang.Object value,
java.lang.String expression)
Instantiates a new Procedure Parameter. |
Method Summary | |
---|---|
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()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
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()
Method Detail |
---|
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.
|
Spring Integration | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |