public class JpaParameter extends Object
| Constructor and Description |
|---|
JpaParameter()
Default constructor.
|
JpaParameter(Object value,
String expression)
Instantiates a new Jpa Parameter without a name.
|
JpaParameter(String name,
Object value,
String expression)
Instantiates a new Jpa Parameter.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getExpression() |
String |
getName() |
Expression |
getProjectionExpression() |
Expression |
getSpelExpression() |
Object |
getValue() |
void |
setExpression(String expression) |
void |
setName(String name) |
void |
setValue(Object value) |
String |
toString() |
public JpaParameter()
public JpaParameter(String name, @Nullable Object value, @Nullable 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(@Nullable Object value, @Nullable String expression)
value - If null, the expression property must be setexpression - If null, the value property must be setpublic String getName()
public void setName(String name)
public void setValue(Object value)
@Nullable public Expression getSpelExpression()
@Nullable public Expression getProjectionExpression()