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 interface
CodeAccessor.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 interface
CodeAccessor.CodeMutator<V>
Extends theCodeAccessor
with a setter method.static interface
CodeAccessor.CodeProperty<V>
Extends theCodeAccessor
with a setter method.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description T
getCode()
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.
-
-