org.apache.jackrabbit.jcr2spi.state
Class ItemState.SimpleMergeResult

java.lang.Object
  extended by org.apache.jackrabbit.jcr2spi.state.ItemState.SimpleMergeResult
All Implemented Interfaces:
ItemState.MergeResult
Enclosing class:
ItemState

protected class ItemState.SimpleMergeResult
extends Object
implements ItemState.MergeResult

A SimpleMergeResult is just a holder for a modification status. The modified() method just returns the modification status passed to the constructor.


Constructor Summary
ItemState.SimpleMergeResult(boolean modified)
           
 
Method Summary
 void dispose()
          Dispose this MergeResult and release all internal resources that are not needed any more.
 boolean modified()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ItemState.SimpleMergeResult

public ItemState.SimpleMergeResult(boolean modified)
Parameters:
modified - modification status
Method Detail

modified

public boolean modified()
Specified by:
modified in interface ItemState.MergeResult
Returns:
true iff the target state of ItemState.merge(ItemState, boolean) was modified.

dispose

public void dispose()
Description copied from interface: ItemState.MergeResult
Dispose this MergeResult and release all internal resources that are not needed any more.

Specified by:
dispose in interface ItemState.MergeResult


Copyright © 2004-2010 The Apache Software Foundation. All Rights Reserved.