org.qi4j.spi.module

## Class ModelModule<T extends ModelDescriptor>

- java.lang.Object
- - org.qi4j.spi.module.ModelModule<T>

-     public class ModelModule<T extends ModelDescriptor>
      extends Object

  TODO

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `static Function<?,String>` | `toStringFunction`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `ModelModule(ModuleSpi module, T model)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `equals(Object o)`
    `int` | `hashCode()`
    `T` | `model()`
    `static <T extends ModelDescriptor> Function<ModelModule<T>,T>` | `modelFunction()`
    `static <T extends ModelDescriptor> Function<T,ModelModule<T>>` | `modelModuleFunction(ModuleSpi module)`
    `ModuleSpi` | `module()`
    `String` | `toString()`

    - ### Methods inherited from class java.lang.Object

      `clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

- - ### Field Detail

    - #### toStringFunction

          public static Function<?,String> toStringFunction

  - ### Constructor Detail

    - #### ModelModule

          public ModelModule(ModuleSpi module,
                     T model)

  - ### Method Detail

    - #### modelModuleFunction

          public static <T extends ModelDescriptor> Function<T,ModelModule<T>> modelModuleFunction(ModuleSpi module)

    - #### modelFunction

          public static <T extends ModelDescriptor> Function<ModelModule<T>,T> modelFunction()

    - #### module

          public ModuleSpi module()

    - #### model

          public T model()

    - #### equals

          public boolean equals(Object o)

      Overrides:
        `equals` in class `Object`

    - #### hashCode

          public int hashCode()

      Overrides:
        `hashCode` in class `Object`

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `Object`