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 interfaceStatusAccessor.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 interfaceStatusAccessor.StatusMutator<S>Extends theStatusAccessorwith a setter method.static interfaceStatusAccessor.StatusProperty<S>Extends theStatusAccessorwith a setter method.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SgetStatus()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.
-
-