Module org.refcodes.mixin
Package org.refcodes.mixin
Interface DestinationAccessor.DestinationProperty<DEST>
- Type Parameters:
DEST
- The type of the destination in question.
- All Superinterfaces:
DestinationAccessor<DEST>
,DestinationAccessor.DestinationMutator<DEST>
- Enclosing interface:
- DestinationAccessor<DEST>
public static interface DestinationAccessor.DestinationProperty<DEST>
extends DestinationAccessor<DEST>, DestinationAccessor.DestinationMutator<DEST>
Provides a destination property for e.g. destination of an event.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.refcodes.mixin.DestinationAccessor
DestinationAccessor.DestinationMutator<DEST>, DestinationAccessor.DestinationProperty<DEST>
-
Method Summary
Modifier and TypeMethodDescriptiondefault DEST
letDestination
(DEST aDestination) This method stores and passes through the given argument, which is very useful for builder APIs: Sets the given value (setter) as ofDestinationAccessor.DestinationMutator.setDestination(Object)
and returns the very same value (getter).Methods inherited from interface org.refcodes.mixin.DestinationAccessor
getDestination
Methods inherited from interface org.refcodes.mixin.DestinationAccessor.DestinationMutator
setDestination
-
Method Details
-
letDestination
This method stores and passes through the given argument, which is very useful for builder APIs: Sets the given value (setter) as ofDestinationAccessor.DestinationMutator.setDestination(Object)
and returns the very same value (getter).- Parameters:
aDestination
- The value to set (viaDestinationAccessor.DestinationMutator.setDestination(Object)
).- Returns:
- Returns the value passed for it to be used in conclusive processing steps.
-