public class FOStoreBtreeStorage
extends org.netbeans.mdr.persistence.btreeimpl.btreestorage.BtreeStorage
| Constructor and Description |
|---|
FOStoreBtreeStorage(java.lang.String name,
boolean isNew)
Creates a new FOStoreBtreeStorage instance.
|
| Modifier and Type | Method and Description |
|---|---|
org.netbeans.mdr.persistence.MOFID |
createMOFID(int clid,
long uid)
Returns Creates a MOFID based on the class id and uid taken from a
FOStore OID.
|
java.lang.String |
numberToStorageId(int number)
Creates a storage id from an int.
|
int |
storageIdToNumber(java.lang.String storageId)
Converts a storageId to an int.
|
close, commitChanges, create, createMultivaluedIndex, createMultivaluedOrderedIndex, createSinglevaluedIndex, delete, dropIndex, exists, getIndex, getMOFIDData, getMofidGenerator, getMofidMap, getMultivaluedIndex, getMultivaluedOrderedIndex, getName, getPrimaryIndex, getSerialNumber, getSinglevaluedIndex, getStorageId, objectStateChanged, objectStateWillChange, open, readMOFID, readMOFIDData, resolveObject, rollBackChanges, shutDown, supportsMultipleStorableIndexes, writeMOFID, writeMOFIDDatapublic FOStoreBtreeStorage(java.lang.String name,
boolean isNew)
throws org.netbeans.mdr.persistence.StorageException
isNew.name - the name of the storage.isNew - true if the database is being createdorg.netbeans.mdr.persistence.StorageExceptionpublic org.netbeans.mdr.persistence.MOFID createMOFID(int clid,
long uid)
clid - the class iduid - the unique idpublic int storageIdToNumber(java.lang.String storageId)
throws org.netbeans.mdr.persistence.StorageException
storageIdToNumber in class org.netbeans.mdr.persistence.btreeimpl.btreestorage.BtreeStoragestorageId - the storageId as Stringorg.netbeans.mdr.persistence.StorageExceptionpublic java.lang.String numberToStorageId(int number)
throws org.netbeans.mdr.persistence.StorageException
numberToStorageId in class org.netbeans.mdr.persistence.btreeimpl.btreestorage.BtreeStoragenumber - the numberic representation of the storageIdorg.netbeans.mdr.persistence.StorageExceptionCopyright © 2005-2012 Apache Software Foundation. All Rights Reserved.