- Type Parameters:
T
- The type of the ID to be accessed.
- All Superinterfaces:
IdAccessor<T>
,IdAccessor.IdMutator<T>
- Enclosing interface:
- IdAccessor<T>
Provides a ID property.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.refcodes.mixin.IdAccessor
IdAccessor.IdBuilder<T,
B extends IdAccessor.IdBuilder<T, B>>, IdAccessor.IdMutator<T>, IdAccessor.IdProperty<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 ofIdAccessor.IdMutator.setId(Object)
and returns the very same value (getter).Methods inherited from interface org.refcodes.mixin.IdAccessor
getId
Methods inherited from interface org.refcodes.mixin.IdAccessor.IdMutator
setId
-
Method Details
-
letId
This method stores and passes through the given argument, which is very useful for builder APIs: Sets the given value (setter) as ofIdAccessor.IdMutator.setId(Object)
and returns the very same value (getter).- Parameters:
aId
- The value to set (viaIdAccessor.IdMutator.setId(Object)
).- Returns:
- Returns the value passed for it to be used in conclusive processing steps.
-