Package org.refcodes.mixin
Interface StatusAccessor<S>
-
- Type Parameters:
S
- The type of the state to be used.
- All Known Subinterfaces:
StatusAccessor.StatusProperty<S>
public interface StatusAccessor<S>
Provides access to a statusCode property for e.g. key / statusCode pair.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
StatusAccessor.StatusBuilder<S,B extends StatusAccessor.StatusBuilder<S,B>>
Provides a builder method for a state property returning the builder for applying multiple build operations.static interface
StatusAccessor.StatusMutator<S>
Extends theStatusAccessor
with a setter method.static interface
StatusAccessor.StatusProperty<S>
Extends theStatusAccessor
with a setter method.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description S
getStatus()
Retrieves the state from the statusCode property.
-
-
-
Method Detail
-
getStatus
S getStatus()
Retrieves the state from the statusCode property.- Returns:
- The statusCode stored by the state property.
-
-