org.objectweb.jorm.facility.naming.generator
Interface PLongGen

All Superinterfaces:
LongGen
All Known Implementing Classes:
CompositePLongGen, CompositePLongGen, LongGenIncr

public interface PLongGen
extends LongGen

Author:
S.Chassande-Barrioz

Method Summary
 void init(java.lang.String name, PClassMapping pcm, LongGenMgr mgr)
          Initializes this long generator.
 
Methods inherited from interface org.objectweb.jorm.facility.naming.generator.LongGen
allocateIds, current, genId, genId, getIncrement, setIncrement
 

Method Detail

init

public void init(java.lang.String name,
                 PClassMapping pcm,
                 LongGenMgr mgr)
          throws PException
Initializes this long generator. Verifies if it already exists and if not, creates it.

Parameters:
name - The name identifier associated with this long generator.
pcm - The associated PClassMapping.
mgr - The manager associated with this generator.
Throws:
PException