net.sourceforge.domian.repository
Class PersistentEntity<T extends Entity>
java.lang.Object
net.sourceforge.domian.repository.PersistentEntity<T>
public final class PersistentEntity<T extends Entity>
- extends java.lang.Object
A holder class wrapping a possible Entity
object,
as well as meta-data conserning persistence stuff.
- Since:
- 0.4
- Author:
- Eirik Torske
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
entity
private T extends Entity entity
metaData
private EntityPersistenceMetaData metaData
PersistentEntity
public PersistentEntity(T entity,
EntityPersistenceMetaData entityMetaData)
getEntity
public T getEntity()
setEntity
public void setEntity(T entity)
getMetaData
public EntityPersistenceMetaData getMetaData()
setMetaData
public void setMetaData(EntityPersistenceMetaData metaData)
touchWriteMetaData
public void touchWriteMetaData()
touchReadMetaData
public void touchReadMetaData()
Copyright © 2006-2010. All Rights Reserved.