- Type Parameters:
T
- The type of the category.
- All Superinterfaces:
CategoryAccessor<T>
,CategoryAccessor.CategoryMutator<T>
- Enclosing interface:
- CategoryAccessor<T>
public static interface CategoryAccessor.CategoryProperty<T>
extends CategoryAccessor<T>, CategoryAccessor.CategoryMutator<T>
Provides a category property.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.refcodes.mixin.CategoryAccessor
CategoryAccessor.CategoryBuilder<T,
B extends CategoryAccessor.CategoryBuilder<T, B>>, CategoryAccessor.CategoryMutator<T>, CategoryAccessor.CategoryProperty<T> -
Method Summary
Modifier and TypeMethodDescriptiondefault T
letCategory
(T aCategory) This method stores and passes through the given argument, which is very useful for builder APIs: Sets the given value (setter) as ofCategoryAccessor.CategoryMutator.setCategory(Object)
and returns the very same value (getter).Methods inherited from interface org.refcodes.mixin.CategoryAccessor
getCategory
Methods inherited from interface org.refcodes.mixin.CategoryAccessor.CategoryMutator
setCategory
-
Method Details
-
letCategory
This method stores and passes through the given argument, which is very useful for builder APIs: Sets the given value (setter) as ofCategoryAccessor.CategoryMutator.setCategory(Object)
and returns the very same value (getter).- Parameters:
aCategory
- The value to set (viaCategoryAccessor.CategoryMutator.setCategory(Object)
).- Returns:
- Returns the value passed for it to be used in conclusive processing steps.
-