Module is.codion.framework.model
Package is.codion.framework.model
Interface EntityQueryModel.SelectAttributes
- Enclosing interface:
EntityQueryModel
public static interface EntityQueryModel.SelectAttributes
Manages the attributes to include when querying.
-
Method Summary
Modifier and TypeMethodDescriptionexcluded()Returns theValueSetcontrolling which attributes are excluded when querying entities.Collection<Attribute<?>> get()Provides the attributes to include when querying based onincluded()andexcluded().included()Returns theValueSetcontrolling which attributes are included when querying entities.
-
Method Details
-
included
Returns theValueSetcontrolling which attributes are included when querying entities. Note that an emptyValueSetindicates that the default select attributes should be used.- Returns:
- the
ValueSetcontrolling the included attributes
-
excluded
Returns theValueSetcontrolling which attributes are excluded when querying entities.- Returns:
- the
ValueSetcontrolling the excluded attributes
-
get
Collection<Attribute<?>> get()Provides the attributes to include when querying based on
included()andexcluded().An empty result indicates that all attributes should be included.
- Returns:
- the attributes to include, taking into account
included()andexcluded()
-