org.objectweb.speedo.naming.lib |
Speedo: an implementation of JDO compliant personality on top of JORM generic
I/O sub-system.
Copyright (C) 2001-2004 France Telecom R&D
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
Implementation of several naming.
The supported naming are:
- UserIdSingle: the identifier is based on a single persistent field,
- UserIdComposite: the identifier is based on a set of persistent field,
- RdbSequence: the identifier is based on a single persistent field which
values are choosen by a sequence on a relational database.
- LongId: the identifier is based on single long composed of two parts (class
idendifier (high bits), instance identifier (low bits)). The value are
choosen by the implementation (Jorm facilities) through persistent
generators.
- OLongId: the identifier is based on single java.lang.Long composed of two parts (class
idendifier (high bits), instance identifier (low bits)). The value are
choosen by the implementation (Jorm facilities) through persistent
generators.
- PolymorphId: the identifier is based on couple of long (class
idendifier, instance identifier). The value are choosen by the
implementation (Jorm facilities).
|
Java Source File Name | Type | Comment |
CommonLongIdNamingManager.java | Class | Defines a common implementation of NamingManager for identifier based on
a single long or java.lang.Long field. |
LongIdNamingManager.java | Class | This is naming manager manages identifier based on a long value
generated by Speedo, using a persistent generator (Speedo structure in
database). |
NamingManagerFactory.java | Class |
This small fractal component is in charge of the naming specialization in
Speedo. |
NamingManagerHelper.java | Class | |
OLongIdNamingManager.java | Class | This is naming manager manages identifier based on a java.lang.Long value
generated by Speedo, using a persistent generator (Speedo structure in
database). |
PolymorphIdNamingManager.java | Class | |
RdbSequenceNamingManager.java | Class | This is naming manager manages identifier based sequence in database (SQL
sequence or simple counter managed by Speedo). |
UserIdCompositeNamingManager.java | Class | |
UserIdSingleNamingManager.java | Class | Is a manager of identifier naming compised of a single visible field. |