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, writeMOFIDData
public 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.StorageException
public 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.BtreeStorage
storageId
- the storageId as Stringorg.netbeans.mdr.persistence.StorageException
public java.lang.String numberToStorageId(int number) throws org.netbeans.mdr.persistence.StorageException
numberToStorageId
in class org.netbeans.mdr.persistence.btreeimpl.btreestorage.BtreeStorage
number
- the numberic representation of the storageIdorg.netbeans.mdr.persistence.StorageException
Copyright © 2005-2012 Apache Software Foundation. All Rights Reserved.