db4o 7.4

com.db4o.defragment
Class AbstractContextIDMapping

java.lang.Object
  extended by com.db4o.defragment.AbstractContextIDMapping
All Implemented Interfaces:
ContextIDMapping
Direct Known Subclasses:
BTreeIDMapping, TreeIDMapping

public abstract class AbstractContextIDMapping
extends java.lang.Object
implements ContextIDMapping

Base class for defragment ID mappings.

See Also:
Defragment

Constructor Summary
AbstractContextIDMapping()
           
 
Method Summary
 void mapIDs(int origID, int mappedID, boolean isClassID)
          Registers a mapping for the given IDs.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.db4o.defragment.ContextIDMapping
close, mappedID, open
 

Constructor Detail

AbstractContextIDMapping

public AbstractContextIDMapping()
Method Detail

mapIDs

public final void mapIDs(int origID,
                         int mappedID,
                         boolean isClassID)
Description copied from interface: ContextIDMapping
Registers a mapping for the given IDs.

Specified by:
mapIDs in interface ContextIDMapping
Parameters:
origID - The original ID
mappedID - The ID to be mapped to the original ID.
isClassID - true if the given original ID specifies a class slot, false otherwise.

db4o 7.4

Copyright 2007 db4objects Inc. All rights reserved.