|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.jpox.store.poid.AbstractPoidGenerator
org.jpox.store.poid.AbstractUIDPoidGenerator
Poid generator for a UID format. To be extended by implementations giving the UID in particular forms.
| Field Summary |
| Fields inherited from class org.jpox.store.poid.AbstractPoidGenerator |
defaultBlockSize, LOCALISER, name, poidBlock, properties |
| Constructor Summary | |
AbstractUIDPoidGenerator(java.lang.String name,
java.util.Properties props)
Constructor. |
|
| Method Summary | |
protected abstract java.lang.String |
getIdentifier()
Create an identifier in the UID format required. |
protected PoidBlock |
reserveBlock(long size)
Method to reserve "size" POIDs to the PoidBlock. |
| Methods inherited from class org.jpox.store.poid.AbstractPoidGenerator |
allocate, createRepository, current, currentValue, getName, next, nextValue, obtainPoidBlock, obtainPoidBlock, requiresRepository, reserveBlock |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public AbstractUIDPoidGenerator(java.lang.String name,
java.util.Properties props)
name - Symbolic name for this generatorprops - Properties controlling its behaviour| Method Detail |
protected PoidBlock reserveBlock(long size)
reserveBlock in class AbstractPoidGeneratorsize - The block size
protected abstract java.lang.String getIdentifier()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||