java.lang.Object
io.github.mmm.property.criteria.ProjectionProperty<V>
- Type Parameters:
V
- type of the selection value.
- All Implemented Interfaces:
io.github.mmm.value.CriteriaObject<V>
- Since:
- 1.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionProjectionProperty
(io.github.mmm.value.CriteriaObject<V> selection, io.github.mmm.value.PropertyPath<V> property) The constructor. -
Method Summary
Modifier and TypeMethodDescriptionio.github.mmm.value.PropertyPath<V>
io.github.mmm.value.CriteriaObject<V>
static <V extends Number>
ProjectionProperty<V>of
(CriteriaAggregation<V> selection, io.github.mmm.value.PropertyPath<V> property) static <V> ProjectionProperty<V>
of
(io.github.mmm.value.PropertyPath<V> selection, io.github.mmm.value.PropertyPath<V> property)
-
Constructor Details
-
ProjectionProperty
public ProjectionProperty(io.github.mmm.value.CriteriaObject<V> selection, io.github.mmm.value.PropertyPath<V> property) The constructor.- Parameters:
selection
- theselection
.property
- theprojection property
.
-
-
Method Details
-
getSelection
- Returns:
- the actual selection. Either a
ProjectionProperty
on a selected or joinedEntityBean
or anaggregation function
.
-
getProperty
- Returns:
- the
ProjectionProperty
to the property of the projection bean.
-
of
public static <V> ProjectionProperty<V> of(io.github.mmm.value.PropertyPath<V> selection, io.github.mmm.value.PropertyPath<V> property) - Type Parameters:
V
- type of the selection value.- Parameters:
selection
- theselection
.property
- theprojection property
.- Returns:
- the new
ProjectionProperty
.
-
of
public static <V extends Number> ProjectionProperty<V> of(CriteriaAggregation<V> selection, io.github.mmm.value.PropertyPath<V> property) - Type Parameters:
V
- type of the selection value.- Parameters:
selection
- theselection
.property
- theprojection property
.- Returns:
- the new
ProjectionProperty
.
-