com.sptci.echo2
Class JDOModelUpdater

java.lang.Object
  extended by com.sptci.echo2.Updater
      extended by com.sptci.echo2.ModelUpdater
          extended by com.sptci.echo2.JDOModelUpdater
All Implemented Interfaces:
java.io.Serializable

public class JDOModelUpdater
extends ModelUpdater
implements java.io.Serializable

An updater used to update JavaBean objects from their associated UI containers. Adds JDO specific actions such as making modifications within the bounds of a transaction.

Copyright 2006 Sans Pareil Technologies, Inc.

Version:
$Id: JDOModelUpdater.java,v 1.2 2006/02/13 23:13:49 rakesh Exp $
Author:
Rakesh Vidyadharan 2006-02-08
See Also:
Serialized Form

Field Summary
private static java.util.logging.Logger logger
          The logger used to log errors/warnings to.
 
Fields inherited from class com.sptci.echo2.Updater
bean, uiContainer
 
Constructor Summary
JDOModelUpdater(java.lang.Object uiContainer, java.lang.Object bean)
          Create a new instance with the specified UI container and java bean.
 
Method Summary
 void update()
          Over-ridden to conduct the updates with the bounds of a transaction as mandated by JDO.
 
Methods inherited from class com.sptci.echo2.Updater
beanValues, getBean, getUiContainer, setBean, setUiContainer, uiValues
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

private static final transient java.util.logging.Logger logger
The logger used to log errors/warnings to.

Constructor Detail

JDOModelUpdater

public JDOModelUpdater(java.lang.Object uiContainer,
                       java.lang.Object bean)
Create a new instance with the specified UI container and java bean.

Parameters:
uiContainer - The Updater.uiContainer to use.
bean - The Updater.bean to use.
Method Detail

update

public void update()
Over-ridden to conduct the updates with the bounds of a transaction as mandated by JDO. Starts a new transaction is necessary and delegates processing to the super-class method implementation.

Overrides:
update in class ModelUpdater
Throws:
BindingException - If errors are encountered while accessing or setting the fields.
See Also:
ModelUpdater.update()


Copyright © 2006 Sans Pareil Technologies, Inc. All Rights Reserved.