net.sourceforge.domian.entity
Class AbstractUUIDEntity
java.lang.Object
net.sourceforge.domian.entity.AbstractEntity
net.sourceforge.domian.entity.AbstractUUIDEntity
- All Implemented Interfaces:
- Entity
- Direct Known Subclasses:
- AbstractLoggingUUIDEntity
public abstract class AbstractUUIDEntity
- extends AbstractEntity
Abstract class for entity objects, ensuring a final, unique, non-null
entity ID from the moment they are created.
The entity ID provided by this class is a 128 bits version-4 UUID.
- Since:
- 0.4.1
- Author:
- Eirik Torske
- See Also:
- UUID
Field Summary |
protected java.util.UUID |
entityId
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
entityId
protected final java.util.UUID entityId
AbstractUUIDEntity
public AbstractUUIDEntity()
getEntityId
public final java.util.UUID getEntityId()
Copyright © 2006-2010. All Rights Reserved.