
Classes | |
| class | DatabaseSequence |
| class | NativeDatabaseSequence |
| class | PrimaryKeySequence |
Public Member Functions | |
| ERXSequence (String name, long initialValue) | |
| ERXSequence (String name) | |
| String | name () |
| long | nextValue (long increment) |
| long | nextValue () |
Static Public Member Functions | |
| static ERXSequence | createDatabaseSequenceWithName (EOEditingContext ec, String modelName, String name) |
| static ERXSequence | createSequenceWithName (String name, long initialValue) |
| static void | registerSequenceWithName (ERXSequence sequence, String name) |
| static ERXSequence | sequenceWithName (String name) |
Protected Member Functions | |
| long | increasedMaxValue (long increment) |
| long | increment () |
| long | lastValue () |
| long | maxValue () |
Protected Attributes | |
| long | _lastValue |
| long | _maxValue |
| Logger | log |
Private Attributes | |
| final String | _name |
Static Private Attributes | |
| static final Map | cache = Collections.synchronizedMap(new HashMap()) |
| ERXSequence | ( | String | name | ) |
| ERXSequence | ( | String | name, | |
| long | initialValue | |||
| ) |
| static ERXSequence createDatabaseSequenceWithName | ( | EOEditingContext | ec, | |
| String | modelName, | |||
| String | name | |||
| ) | [static] |
| static ERXSequence createSequenceWithName | ( | String | name, | |
| long | initialValue | |||
| ) | [static] |
| long increasedMaxValue | ( | long | increment | ) | [protected] |
Reimplemented in ERXSequence.DatabaseSequence.
| long increment | ( | ) | [protected] |
Reimplemented in ERXSequence.NativeDatabaseSequence.
| long lastValue | ( | ) | [protected] |
| long maxValue | ( | ) | [protected] |
| String name | ( | ) |
| long nextValue | ( | long | increment | ) |
Reimplemented in ERXSequence.NativeDatabaseSequence.
| long nextValue | ( | ) |
| static void registerSequenceWithName | ( | ERXSequence | sequence, | |
| String | name | |||
| ) | [static] |
| static ERXSequence sequenceWithName | ( | String | name | ) | [static] |
long _lastValue [protected] |
long _maxValue [protected] |
final Map cache = Collections.synchronizedMap(new HashMap()) [static, private] |
Logger log [protected] |
1.5.8