Package org.refcodes.mixin
Interface StateAccessor<S>
-
- Type Parameters:
S
- The type of the state to be used.
- All Known Subinterfaces:
StateAccessor.StateProperty<S>
public interface StateAccessor<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
StateAccessor.StateBuilder<S,B extends StateAccessor.StateBuilder<S,B>>
Provides a builder method for a state property returning the builder for applying multiple build operations.static interface
StateAccessor.StateMutator<S>
Extends theStateAccessor
with a setter method.static interface
StateAccessor.StateProperty<S>
Extends theStateAccessor
with a setter method.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description S
getState()
Retrieves the state from the statusCode property.
-
-
-
Method Detail
-
getState
S getState()
Retrieves the state from the statusCode property.- Returns:
- The statusCode stored by the state property.
-
-