com.anasoft.os.daofusion.entity
Class ImmutablePersistentEntity

java.lang.Object
  extended by com.anasoft.os.daofusion.entity.PersistentEntity<java.lang.Long>
      extended by com.anasoft.os.daofusion.entity.ImmutablePersistentEntity
All Implemented Interfaces:
Persistable<java.lang.Long>, java.io.Serializable

public abstract class ImmutablePersistentEntity
extends PersistentEntity<java.lang.Long>

Base class for immutable persistent entities which use Long as the primary key column type.

After their persistence, any updates performed on immutable persistent entities are ignored by Hibernate.

Typically, this kind of persistent entity is used to model domain-specific objects which are not allowed to be changed after their persistence.

Author:
vojtech.szocs
See Also:
PersistentEntity, Serialized Form

Field Summary
 
Fields inherited from class com.anasoft.os.daofusion.entity.PersistentEntity
_ID
 
Constructor Summary
ImmutablePersistentEntity()
           
 
Method Summary
 
Methods inherited from class com.anasoft.os.daofusion.entity.PersistentEntity
clone, getId, setId
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ImmutablePersistentEntity

public ImmutablePersistentEntity()


Copyright © 2008-2009 ANASOFT and contributors. All Rights Reserved.