-
- All Superinterfaces:
PrefixAccessor
,PrefixAccessor.PrefixMutator
- Enclosing interface:
- PrefixAccessor
public static interface PrefixAccessor.PrefixProperty extends PrefixAccessor, PrefixAccessor.PrefixMutator
Provides a prefix property.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.refcodes.mixin.PrefixAccessor
PrefixAccessor.PrefixBuilder<B extends PrefixAccessor.PrefixBuilder<B>>, PrefixAccessor.PrefixMutator, PrefixAccessor.PrefixProperty
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default String
letPrefix(String aPrefix)
This method stores and passes through the given argument, which is very useful for builder APIs: Sets the givenString
(setter) as ofPrefixAccessor.PrefixMutator.setPrefix(String)
and returns the very same value (getter).-
Methods inherited from interface org.refcodes.mixin.PrefixAccessor
getPrefix
-
Methods inherited from interface org.refcodes.mixin.PrefixAccessor.PrefixMutator
setPrefix
-
-
-
-
Method Detail
-
letPrefix
default String letPrefix(String aPrefix)
This method stores and passes through the given argument, which is very useful for builder APIs: Sets the givenString
(setter) as ofPrefixAccessor.PrefixMutator.setPrefix(String)
and returns the very same value (getter).- Parameters:
aPrefix
- TheString
to set (viaPrefixAccessor.PrefixMutator.setPrefix(String)
).- Returns:
- Returns the value passed for it to be used in conclusive processing steps.
-
-