T - Expression typeE - Concrete value typepublic interface PropertyConstantExpression<T,E> extends ConstantExpression<T,E>
QueryExpression which represents a Property value.Expression.ExpressionResolverFunction<E extends Expression,R extends Expression>, Expression.InvalidExpressionException| Modifier and Type | Method and Description |
|---|---|
static <T> PropertyConstantExpression<Collection<T>,T> |
create(Property<T> property,
Collection<? extends T> values)
Create a
PropertyConstantExpression which represents a collection of constant values bound to a
Property. |
static <T> PropertyConstantExpression<Collection<T>,T> |
create(Property<T> property,
T... values)
Create a
PropertyConstantExpression which represents a collection of constant values bound to a
Property. |
static <T> PropertyConstantExpression<T,T> |
create(Property<T> property,
T value)
Create a
PropertyConstantExpression which represents a constant value bound to a Property. |
default Class<?> |
getModelType()
Get the model type.
|
Object |
getModelValue()
Get the model value.
|
Property<E> |
getProperty()
Get the property to which the value is bound.
|
create, create, create, getValuegetTypevalidateProperty<E> getProperty()
Object getModelValue()
PropertyValueConverter is available.default Class<?> getModelType()
PropertyValueConverter is available.static <T> PropertyConstantExpression<T,T> create(Property<T> property, T value)
PropertyConstantExpression which represents a constant value bound to a Property.T - Expression typeproperty - Property to which the value is bound (not null)value - Constant value (not null)static <T> PropertyConstantExpression<Collection<T>,T> create(Property<T> property, Collection<? extends T> values)
PropertyConstantExpression which represents a collection of constant values bound to a
Property.T - Expression typeproperty - Property to which the value is bound (not null)values - Expression values (not null)@SafeVarargs static <T> PropertyConstantExpression<Collection<T>,T> create(Property<T> property, T... values)
PropertyConstantExpression which represents a collection of constant values bound to a
Property.T - Expression typeproperty - Property to which the value is bound (not null)values - Expression values (not null)Copyright © 2017 The Holon Platform. All rights reserved.