nl.knowledgeplaza.util.jpa
Class AbstractBean<T>

java.lang.Object
  extended by nl.knowledgeplaza.util.AbstractBean<T>
      extended by nl.knowledgeplaza.util.jpa.AbstractBean<T>
All Implemented Interfaces:
PropertyChangeProvider
Direct Known Subclasses:
AbstractBeanEclipselink

public class AbstractBean<T>
extends AbstractBean<T>

Version:
$Revision: 1.1 $

Constructor Summary
AbstractBean()
           
 
Method Summary
static void ignoreAllChanges()
          disable the change detection on ALL entities, ignore and register must be balanced!
 void ignoreChanges()
          disable the change detection on this entity (for defaults in the constructor), ignore and register must be balanced!
 boolean isDirty()
          PendingChanges
 boolean isReadonly()
          Readonly
 void markAsDirty(boolean value)
           
protected  void markedAsDirtyHook()
           
static void registerAllChanges()
           
 void registerChanges()
           
 void setReadonly(boolean value)
           
 void touch()
          Touch the current entity (see unix man pages)
 
Methods inherited from class nl.knowledgeplaza.util.AbstractBean
addPropertyChangeListener, addPropertyChangeListener, addVetoableChangeListener, firePropertyChange, fireVetoableChange, getPropertyChangeListeners, getPropertyChangeListeners, removePropertyChangeListener, removePropertyChangeListener, removeVetoableChangeListener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractBean

public AbstractBean()
Method Detail

isDirty

public boolean isDirty()
PendingChanges


markAsDirty

public void markAsDirty(boolean value)

markedAsDirtyHook

protected void markedAsDirtyHook()

isReadonly

public boolean isReadonly()
Readonly


setReadonly

public void setReadonly(boolean value)

ignoreChanges

public void ignoreChanges()
disable the change detection on this entity (for defaults in the constructor), ignore and register must be balanced!


registerChanges

public void registerChanges()

ignoreAllChanges

public static void ignoreAllChanges()
disable the change detection on ALL entities, ignore and register must be balanced!


registerAllChanges

public static void registerAllChanges()

touch

public void touch()
Touch the current entity (see unix man pages)



Copyright © 2010. All Rights Reserved.