Module org.refcodes.mixin
Package org.refcodes.mixin
Interface CreatedDateAccessor.CreatedDateProperty
- All Superinterfaces:
CreatedDateAccessor
,CreatedDateAccessor.CreatedDateMutator
- Enclosing interface:
- CreatedDateAccessor
public static interface CreatedDateAccessor.CreatedDateProperty
extends CreatedDateAccessor, CreatedDateAccessor.CreatedDateMutator
Extends the
CreatedDateAccessor
with a setter method.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.refcodes.mixin.CreatedDateAccessor
CreatedDateAccessor.CreatedDateMutator, CreatedDateAccessor.CreatedDateProperty
-
Method Summary
Modifier and TypeMethodDescriptiondefault Date
letCreatedDate
(Date aCreatedDate) This method stores and passes through the given argument, which is very useful for builder APIs: Sets the givenDate
(setter) as ofCreatedDateAccessor.CreatedDateMutator.setCreatedDate(Date)
and returns the very same value (getter).Methods inherited from interface org.refcodes.mixin.CreatedDateAccessor
getCreatedDate
Methods inherited from interface org.refcodes.mixin.CreatedDateAccessor.CreatedDateMutator
setCreatedDate
-
Method Details
-
letCreatedDate
This method stores and passes through the given argument, which is very useful for builder APIs: Sets the givenDate
(setter) as ofCreatedDateAccessor.CreatedDateMutator.setCreatedDate(Date)
and returns the very same value (getter).- Parameters:
aCreatedDate
- TheDate
to set (viaCreatedDateAccessor.CreatedDateMutator.setCreatedDate(Date)
).- Returns:
- Returns the value passed for it to be used in conclusive processing steps.
-