T
- the type of the object the specification applies to.S
- the type of the selector.public interface PropertySelector<T,S extends BaseSelector<T,S>> extends BaseSelector<T,S>
SpecificationBuilder
DSL to select a property of the object a
specification will apply to.Modifier and Type | Method and Description |
---|---|
SpecificationPicker<T,S> |
property(String path)
Selects a property of the object to be the subject of a specification.
|
all, none, whole
SpecificationPicker<T,S> property(String path)
Property path support the "dot" syntax to specify a property in a nested object. For instance, a "team.leader.name" property path can be specified, meaning that the attribute "name" of the attribute "leader" of the attribute "team" will be selected.
Collection
, Map
or array properties are supported, with
the semantics that at least one element must satisfy the specification.
path
- the path of the the property to select.Copyright © 2013-2018–2019 SeedStack. All rights reserved.