| Home >> All >> org >> [ odmg Javadoc ] |
org.odmg: Javadoc index of package org.odmg.
Package Samples:
org.odmg
Classes:
Transaction: This interfaces provides the operations necessary to perform database transactions. All access, creation, and modification of persistent objects and their fields must be done within a transaction. Before performing any database operations, a thread must explicitly create a transaction object or associate itself with an existing transaction object (by calling join ), and that transaction must be open (through a call to begin ). All subsequent operations by the thread, including reads, writes, and lock acquisitions, are done under the thread’s current transaction. A thread may only operate on its ...
Database: The interface for interacting with an ODMG database. Databases must be opened before starting any transactions that use the database and closed after ending these transactions. A database application generally begins processing by accessing one or more critical objects and proceeding from there. These objects are root objects, because they lead to interconnected webs of other objects. The ability to name an object (using method bind ) and retrieve it later by that name (using method lookup facilitates this start-up capability. A name is not explicitly defined as an attribute of an object. Naming ...
DList: The ODMG List collection. A DList collection is an ordered collection that provides efficient insertion and removal of elements at arbitrary positions in the list, but it also supports indexed access. The beginning index value is 0. When an element is added at a given position in the list, the index of all subsequent elements is increased by 1. Similarly, when an element is removed from the list, the index of all subsequent elements is decreased by 1. All of the operations defined by the JavaSoft List interface are supported by an ODMG implementation of DList , the exception UnsupportedOperationException ...
DCollection: The base interface for all ODMG collections. The ODMG collections are based on JavaSoft’s collection interfaces. All of the operations defined by the JavaSoft Collection interface are supported by an ODMG implementation of DCollection ; the exception UnsupportedOperationException is not thrown when a call is made to any of the Collection methods. DCollection contains methods used to perform queries on the collection. The OQL query predicate is given as a string with the syntax of the where clause of OQL. The predefined OQL variable this is used inside the predicate to denote the current element ...
DArray: The interface that defines the operations of an ODMG array. Nearly all of its operations are defined by the JavaSoft List interface. All of the operations defined by the JavaSoft List interface are supported by an ODMG implementation of DArray , the exception UnsupportedOperationException is not thrown when a call is made to any of the List methods. An instance of a class implementing this interface can be obtained by calling the method Implementation.newDArray .
DSet: The ODMG Set collection interface. A DSet object is an unordered collection that does not support multiple elements with the same value. An implementation typically is very efficient at determining whether the collection contains a particular value. All of the operations defined by the JavaSoft Set interface are supported by an ODMG implementation of DSet , the exception UnsupportedOperationException is not thrown when a call is made to any of the Set methods.
DBag: This interface defines the operations associated with an ODMG bag collection. All of the operations defined by the JavaSoft Collection interface are supported by an ODMG implementation of DBag , the exception UnsupportedOperationException is not thrown when a call is made to any of the Collection methods.
DMap: The ODMG Map collection interface. All of the operations defined by the JavaSoft Map interface are supported by an ODMG implementation of DMap , the exception UnsupportedOperationException is not thrown when a call is made to any of the Map methods.
TransactionAbortedException: This exception is thrown when the database asynchronously and explicitly aborts the user's transaction due to some failure, the user's data is reset just as if the user had directly called Transaction.abort .
TransactionNotInProgressException: This exception is thrown when attempting to perform an operation that must be performed when there is a transaction is in progress, but no such transaction is in progress.
DatabaseNotFoundException: This exception is thrown when attempting to open a database that does not exist. This could be caused by the name provided to Database.open being incorrect.
ObjectNameNotFoundException: An attempt to get a object via its name using Database.lookup and the name is not associated with an object in the database.
Implementation: The factory interface for a particular ODMG implementation. Each ODMG implementation will have a class that implements this interface.
DatabaseClosedException: This exception is thrown when an attempt is made to call a method on a Database that has been closed or has not been opened.
TransactionInProgressException: This exception is thrown when a call has been made to a method that should not be called when a transaction is in progress.
ObjectNameNotUniqueException: This exception is thrown when attempting to bind a name to an object when the name is already bound to another object.
QueryParameterCountInvalidException: This exception is thrown when the number of bound parameters for a query does not match the number of placeholders.
ClassNotPersistenceCapableException: This exception is thrown when the implementation cannot make an object persistent because of the type of the object.
DatabaseIsReadOnlyException: This exception is thrown when a call has been made that modifies a database that is open in read-only mode.
QueryParameterTypeInvalidException: This exception is thrown when the type of a query parameter is not compatible with the expected type.
ODMGRuntimeException: This is the base class for all RuntimeExceptions thrown by an ODMG implementation.
DatabaseOpenException: This exception is thrown when attempting to open a database that is already open.
NotImplementedException: This exception is thrown when an implementation does not support an operation.
ODMGException: This is the base class for all exceptions thrown by an ODMG implementation.
ObjectNotPersistentException: This exception is thrown when deleting an object that is not persistent.
| Home | Contact Us | Privacy Policy | Terms of Service |