Module org.refcodes.mixin
Package org.refcodes.mixin
Interface MetaDataAccessor.MetaDataProperty<MD>
-
- Type Parameters:
MD
- The type of the Meta-Data property.
- All Superinterfaces:
MetaDataAccessor<MD>
,MetaDataAccessor.MetaDataMutator<MD>
- Enclosing interface:
- MetaDataAccessor<MD>
public static interface MetaDataAccessor.MetaDataProperty<MD> extends MetaDataAccessor<MD>, MetaDataAccessor.MetaDataMutator<MD>
Provides a Meta-Data property.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.refcodes.mixin.MetaDataAccessor
MetaDataAccessor.MetaDataBuilder<MD,B extends MetaDataAccessor.MetaDataBuilder<MD,B>>, MetaDataAccessor.MetaDataMutator<MD>, MetaDataAccessor.MetaDataProperty<MD>
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default MD
letMetaData(MD aMetaData)
This method stores and passes through the given argument, which is very useful for builder APIs: Sets the given value (setter) as ofMetaDataAccessor.MetaDataMutator.setMetaData(Object)
and returns the very same value (getter).-
Methods inherited from interface org.refcodes.mixin.MetaDataAccessor
getMetaData
-
Methods inherited from interface org.refcodes.mixin.MetaDataAccessor.MetaDataMutator
setMetaData
-
-
-
-
Method Detail
-
letMetaData
default MD letMetaData(MD aMetaData)
This method stores and passes through the given argument, which is very useful for builder APIs: Sets the given value (setter) as ofMetaDataAccessor.MetaDataMutator.setMetaData(Object)
and returns the very same value (getter).- Parameters:
aMetaData
- The value to set (viaMetaDataAccessor.MetaDataMutator.setMetaData(Object)
).- Returns:
- Returns the value passed for it to be used in conclusive processing steps.
-
-