ErrorCodeAccessor
, ErrorCodeAccessor.ErrorCodeMutator
public static interface ErrorCodeAccessor.ErrorCodeProperty extends ErrorCodeAccessor, ErrorCodeAccessor.ErrorCodeMutator
ErrorCodeAccessor.ErrorCodeBuilder<B extends ErrorCodeAccessor.ErrorCodeBuilder<B>>, ErrorCodeAccessor.ErrorCodeMutator, ErrorCodeAccessor.ErrorCodeProperty
Modifier and Type | Method | Description |
---|---|---|
default String |
letErrorCode(String aErrorCode) |
This method stores and passes through the given argument, which is
very useful for builder APIs: Sets the given error code (setter) as
of
ErrorCodeAccessor.ErrorCodeMutator.setErrorCode(String) and returns the very same value
(getter). |
getErrorCode
setErrorCode
default String letErrorCode(String aErrorCode)
ErrorCodeAccessor.ErrorCodeMutator.setErrorCode(String)
and returns the very same value
(getter).aErrorCode
- The error code to set (via
ErrorCodeAccessor.ErrorCodeMutator.setErrorCode(String)
).Copyright © 2021. All rights reserved.