org.openwms.core.domain
Class AbstractEntity.AbstractEntityListener

java.lang.Object
  extended by org.openwms.core.domain.AbstractEntity.AbstractEntityListener
Enclosing class:
AbstractEntity

public static class AbstractEntity.AbstractEntityListener
extends Object

An AbstractEntityListener forces the creation of an uid before the entity is persisted.

Since:
0.1
Version:
$Revision: 1583 $
Author:
Tina Russell

Constructor Summary
AbstractEntity.AbstractEntityListener()
           
 
Method Summary
 void onPreInsert(AbstractEntity abstractEntity)
          Before a new entity is persisted we generate an UUID for it.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractEntity.AbstractEntityListener

public AbstractEntity.AbstractEntityListener()
Method Detail

onPreInsert

public void onPreInsert(AbstractEntity abstractEntity)
Before a new entity is persisted we generate an UUID for it.

Parameters:
abstractEntity - The entity to persist


Copyright © 2005-2011 openwms.org. All Rights Reserved.