T
- The type of the body property.BodyAccessor<T>
, BodyAccessor.BodyMutator<T>
public static interface BodyAccessor.BodyProperty<T> extends BodyAccessor<T>, BodyAccessor.BodyMutator<T>
BodyAccessor.BodyBuilder<T,B extends BodyAccessor.BodyBuilder<T,B>>, BodyAccessor.BodyMutator<T>, BodyAccessor.BodyProperty<T>
Modifier and Type | Method | Description |
---|---|---|
default T |
letBody(T aBody) |
This method stores and passes through the given argument, which is
very useful for builder APIs: Sets the given value (setter) as of
BodyAccessor.BodyMutator.setBody(Object) and returns the very same value (getter). |
getBody
setBody
default T letBody(T aBody)
BodyAccessor.BodyMutator.setBody(Object)
and returns the very same value (getter).aBody
- The value to set (via BodyAccessor.BodyMutator.setBody(Object)
).Copyright © 2021. All rights reserved.