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>
SpecificationBuilderDSL to select a property of the object a specification will apply to.
|Modifier and Type||Method and Description|
Selects a property of the object to be the subject of a specification.
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.
path- the path of the the property to select.
Copyright © 2013-2018–2019 SeedStack. All rights reserved.