- All Superinterfaces:
TitleAccessor
,TitleAccessor.TitleMutator
- Enclosing interface:
- TitleAccessor
public static interface TitleAccessor.TitleProperty
extends TitleAccessor, TitleAccessor.TitleMutator
Provides a title property.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.refcodes.mixin.TitleAccessor
TitleAccessor.TitleBuilder<B extends TitleAccessor.TitleBuilder<B>>, TitleAccessor.TitleMutator, TitleAccessor.TitleProperty
-
Method Summary
Modifier and TypeMethodDescriptiondefault String
This method stores and passes through the given argument, which is very useful for builder APIs: Sets the givenString
(setter) as ofTitleAccessor.TitleMutator.setTitle(String)
and returns the very same value (getter).Methods inherited from interface org.refcodes.mixin.TitleAccessor
getTitle
Methods inherited from interface org.refcodes.mixin.TitleAccessor.TitleMutator
setTitle
-
Method Details
-
letTitle
This method stores and passes through the given argument, which is very useful for builder APIs: Sets the givenString
(setter) as ofTitleAccessor.TitleMutator.setTitle(String)
and returns the very same value (getter).- Parameters:
aTitle
- TheString
to set (viaTitleAccessor.TitleMutator.setTitle(String)
).- Returns:
- Returns the value passed for it to be used in conclusive processing steps.
-