Package org.refcodes.mixin
Interface CodeAccessor<T>
-
- Type Parameters:
T- The type of the code to be used.
- All Known Subinterfaces:
CodeAccessor.CodeProperty<V>
public interface CodeAccessor<T>Provides access to a code property for e.g. key / code pair.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceCodeAccessor.CodeBuilder<V,B extends CodeAccessor.CodeBuilder<V,B>>Provides a builder method for a the property returning the builder for applying multiple build operations.static interfaceCodeAccessor.CodeMutator<V>Extends theCodeAccessorwith a setter method.static interfaceCodeAccessor.CodeProperty<V>Extends theCodeAccessorwith a setter method.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TgetCode()Retrieves the code from the code property.
-
-
-
Method Detail
-
getCode
T getCode()
Retrieves the code from the code property.- Returns:
- The code stored by the code property.
-
-