org.qi4j.library.uowfile.singular

## Class HasUoWFileLifecycle.Mixin

- java.lang.Object
- - org.qi4j.library.uowfile.singular.HasUoWFileLifecycle.Mixin

- All Implemented Interfaces:
    Lifecycle
  Enclosing interface:
    HasUoWFileLifecycle

      public static class HasUoWFileLifecycle.Mixin
      extends Object
      implements Lifecycle

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `HasUoWFileLifecycle.Mixin()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `create()` Creation callback method.
    `void` | `remove()` Removal callback method.

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

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### HasUoWFileLifecycle.Mixin

          public HasUoWFileLifecycle.Mixin()

  - ### Method Detail

    - #### create

          public void create()
                      throws LifecycleException

      Description copied from interface: `Lifecycle`
      Creation callback method.

      Called by the Zest runtime before the newInstance of the entity completes, before the constraints are checked, allowing for additional initialization.

      Specified by:
        `create` in interface `Lifecycle`
      Throws:
        `LifecycleException` - if the entity could not be created

    - #### remove

          public void remove()
                      throws LifecycleException

      Description copied from interface: `Lifecycle`
      Removal callback method.

      Called by the Zest runtime before the entity is removed from the system, allowing for clean-up operations.

      Specified by:
        `remove` in interface `Lifecycle`
      Throws:
        `LifecycleException` - if the entity could not be removed