Package org.refcodes.mixin
Interface IdAccessor<T>
-
- Type Parameters:
T
- The type of the ID to be accessed.
- All Known Subinterfaces:
IdAccessor.IdProperty<T>
public interface IdAccessor<T>
Provides an accessor for a ID property.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
IdAccessor.IdMutator<T>
Provides a mutator for a ID property.static interface
IdAccessor.IdProperty<T>
Provides a ID property.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description T
getId()
Retrieves the ID from the ID property.
-
-
-
Method Detail
-
getId
T getId()
Retrieves the ID from the ID property.- Returns:
- The ID stored by the ID property.
-
-