- Type Parameters:
T
- The type of the family.
- All Superinterfaces:
FamilyAccessor<T>
,FamilyAccessor.FamilyMutator<T>
- Enclosing interface:
- FamilyAccessor<T>
public static interface FamilyAccessor.FamilyProperty<T>
extends FamilyAccessor<T>, FamilyAccessor.FamilyMutator<T>
Provides a family property.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.refcodes.mixin.FamilyAccessor
FamilyAccessor.FamilyBuilder<T,
B extends FamilyAccessor.FamilyBuilder<T, B>>, FamilyAccessor.FamilyMutator<T>, FamilyAccessor.FamilyProperty<T> -
Method Summary
Modifier and TypeMethodDescriptiondefault T
This method stores and passes through the given argument, which is very useful for builder APIs: Sets the given value (setter) as ofFamilyAccessor.FamilyMutator.setFamily(Object)
and returns the very same value (getter).Methods inherited from interface org.refcodes.mixin.FamilyAccessor
getFamily
Methods inherited from interface org.refcodes.mixin.FamilyAccessor.FamilyMutator
setFamily
-
Method Details
-
letFamily
This method stores and passes through the given argument, which is very useful for builder APIs: Sets the given value (setter) as ofFamilyAccessor.FamilyMutator.setFamily(Object)
and returns the very same value (getter).- Parameters:
aFamily
- The value to set (viaFamilyAccessor.FamilyMutator.setFamily(Object)
).- Returns:
- Returns the value passed for it to be used in conclusive processing steps.
-