org.qi4j.library.uowfile.plural
Class HasUoWFilesLifecycle.Mixin

java.lang.Object
  extended by org.qi4j.library.uowfile.plural.HasUoWFilesLifecycle.Mixin
All Implemented Interfaces:
Lifecycle
Enclosing interface:
HasUoWFilesLifecycle<T extends java.lang.Enum<T>>

public static class HasUoWFilesLifecycle.Mixin
extends java.lang.Object
implements Lifecycle


Constructor Summary
HasUoWFilesLifecycle.Mixin()
           
 
Method Summary
 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

HasUoWFilesLifecycle.Mixin

public HasUoWFilesLifecycle.Mixin()
Method Detail

create

public void create()
            throws LifecycleException
Description copied from interface: Lifecycle
Creation callback method.

Called by the Qi4j 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 Qi4j 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