- Type Parameters:
T
- The type of the locator
- All Superinterfaces:
LocatorAccessor<T>
,LocatorAccessor.LocatorMutator<T>
- Enclosing interface:
- LocatorAccessor<T>
public static interface LocatorAccessor.LocatorProperty<T> extends LocatorAccessor<T>, LocatorAccessor.LocatorMutator<T>
Provides a locator property.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.refcodes.mixin.LocatorAccessor
LocatorAccessor.LocatorBuilder<T,B extends LocatorAccessor.LocatorBuilder<T,B>>, LocatorAccessor.LocatorMutator<T>, LocatorAccessor.LocatorProperty<T>
-
Method Summary
Modifier and Type Method Description default T
letLocator(T aLocator)
This method stores and passes through the given argument, which is very useful for builder APIs: Sets the given value (setter) as ofLocatorAccessor.LocatorMutator.setLocator(Object)
and returns the very same value (getter).Methods inherited from interface org.refcodes.mixin.LocatorAccessor
getLocator
Methods inherited from interface org.refcodes.mixin.LocatorAccessor.LocatorMutator
setLocator
-
Method Details
-
letLocator
This method stores and passes through the given argument, which is very useful for builder APIs: Sets the given value (setter) as ofLocatorAccessor.LocatorMutator.setLocator(Object)
and returns the very same value (getter).- Parameters:
aLocator
- The value to set (viaLocatorAccessor.LocatorMutator.setLocator(Object)
).- Returns:
- Returns the value passed for it to be used in conclusive processing steps.
-