org.apache.ojb.odmg
Class Image

java.lang.Object
  extended by org.apache.ojb.odmg.Image
Direct Known Subclasses:
Image.Field, Image.MultipleRef, Image.SingleRef

public abstract class Image
extends Object

This class encapsulates classes used to take persistence capable object state snapshoot and to detect changed fields or references.

Version:
$Id: Image.java,v 1.1 2007-08-24 22:17:37 ewestfal Exp $

Nested Class Summary
static class Image.Field
           
static class Image.ImageException
          Thrown if something unexpected is happen when handling the object images for state detection.
static interface Image.ImageListener
           
static class Image.MultipleRef
           
static class Image.SingleRef
           
 
Field Summary
(package private) static Logger log
           
private  long timestamp
           
 
Constructor Summary
private Image()
           
 
Method Summary
abstract  void cleanup(boolean reuse)
           
(package private)  boolean illegalImageComparison(Image oldImage)
           
abstract  boolean modified(Image other)
           
 void performReferenceDetection(Image oldImage)
           
(package private) abstract  void referenceProcessing(Image oldImage)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

static Logger log

timestamp

private long timestamp
Constructor Detail

Image

private Image()
Method Detail

illegalImageComparison

boolean illegalImageComparison(Image oldImage)

cleanup

public abstract void cleanup(boolean reuse)

modified

public abstract boolean modified(Image other)

referenceProcessing

abstract void referenceProcessing(Image oldImage)

performReferenceDetection

public void performReferenceDetection(Image oldImage)


Copyright © 2007-2011 The Kuali Foundation. All Rights Reserved.