public class JpaParameter
extends java.lang.Object
Constructor and Description |
---|
JpaParameter()
Default constructor.
|
JpaParameter(java.lang.Object value,
java.lang.String expression)
Instantiates a new Jpa Parameter without a name.
|
JpaParameter(java.lang.String name,
java.lang.Object value,
java.lang.String expression)
Instantiates a new Jpa Parameter.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getExpression() |
java.lang.String |
getName() |
org.springframework.expression.Expression |
getProjectionExpression() |
org.springframework.expression.Expression |
getSpelExpression() |
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 JpaParameter()
public JpaParameter(java.lang.String name, java.lang.Object value, java.lang.String expression)
name
- Name of the JPA parameter, must not be null or emptyvalue
- If null, the expression property must be setexpression
- If null, the value property must be setpublic JpaParameter(java.lang.Object value, java.lang.String expression)
value
- If null, the expression property must be setexpression
- If null, the value property must be setpublic 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 org.springframework.expression.Expression getSpelExpression()
public org.springframework.expression.Expression getProjectionExpression()
public void setExpression(java.lang.String expression)
public java.lang.String toString()
toString
in class java.lang.Object