org.apache.jackrabbit.jcr2spi.state
Class ItemState.SimpleMergeResult
java.lang.Object
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.
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 |
ItemState.SimpleMergeResult
public ItemState.SimpleMergeResult(boolean modified)
- Parameters:
modified
- modification status
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-2009 The Apache Software Foundation. All Rights Reserved.