Module org.refcodes.mixin
Package org.refcodes.mixin
Interface ReferenceeAccessor.ReferenceeProperty<REFERENCEE>
- Type Parameters:
REFERENCEE
- The type of the referencee property.
- All Superinterfaces:
ReferenceeAccessor<REFERENCEE>
,ReferenceeAccessor.ReferenceeMutator<REFERENCEE>
- Enclosing interface:
- ReferenceeAccessor<REFERENCEE>
public static interface ReferenceeAccessor.ReferenceeProperty<REFERENCEE> extends ReferenceeAccessor<REFERENCEE>, ReferenceeAccessor.ReferenceeMutator<REFERENCEE>
Provides a referencee property.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.refcodes.mixin.ReferenceeAccessor
ReferenceeAccessor.ReferenceeBuilder<REFERENCEE,B extends ReferenceeAccessor.ReferenceeBuilder<REFERENCEE,B>>, ReferenceeAccessor.ReferenceeMutator<REFERENCEE>, ReferenceeAccessor.ReferenceeProperty<REFERENCEE>
-
Method Summary
Modifier and Type Method Description default REFERENCEE
letReferencee(REFERENCEE aReferencee)
Sets the given referencee (setter) as ofReferenceeAccessor.ReferenceeMutator.setReferencee(Object)
and returns the very same referencee (getter).Methods inherited from interface org.refcodes.mixin.ReferenceeAccessor
getReferencee
Methods inherited from interface org.refcodes.mixin.ReferenceeAccessor.ReferenceeMutator
setReferencee
-
Method Details
-
letReferencee
Sets the given referencee (setter) as ofReferenceeAccessor.ReferenceeMutator.setReferencee(Object)
and returns the very same referencee (getter). This method stores and passes through the given referencee, which is very useful for builder APIs.- Parameters:
aReferencee
- The referencee to set (viaReferenceeAccessor.ReferenceeMutator.setReferencee(Object)
).- Returns:
- Returns referencee passed for it to be used in conclusive processing steps.
-