org.objectweb.speedo.sequence.api
Interface SequenceManager

All Known Implementing Classes:
SpeedoSequenceManager

public interface SequenceManager

Class to manage sequences defined for a pmf.

Author:
Y.Bersihand

Method Summary
 void addSequence(java.lang.Object sequence)
          Add the sequence if not already registered in the list of sequences defined for this pmf.
 java.lang.Object getLongGenMgr()
          Get the long generator manager.
 org.objectweb.jorm.api.PMapper getMapper()
           
 POManagerFactoryItf getPMF()
           
 SpeedoSequenceItf getSequence(java.lang.String name)
          Return the sequence associated to the name parameter.
 void removeSequence(java.lang.String sequenceName)
          Try to remove the sequence identified by the sequenceName from the list of sequences defined for this pmf.
 void setLongGenMgr(java.lang.Object longGenMgr)
          Set the long generator manager.
 void setMapper(org.objectweb.jorm.api.PMapper mapper)
           
 void setPMF(POManagerFactoryItf pmf)
           
 

Method Detail

getLongGenMgr

java.lang.Object getLongGenMgr()
Get the long generator manager.


setLongGenMgr

void setLongGenMgr(java.lang.Object longGenMgr)
Set the long generator manager.


addSequence

void addSequence(java.lang.Object sequence)
Add the sequence if not already registered in the list of sequences defined for this pmf.

Parameters:
sequence -

removeSequence

void removeSequence(java.lang.String sequenceName)
Try to remove the sequence identified by the sequenceName from the list of sequences defined for this pmf. If the sequence does not exist, nothing is done.

Parameters:
sequenceName - the fully qualified name of the sequence, i.e "packageName.sequenceName".

getSequence

SpeedoSequenceItf getSequence(java.lang.String name)
Return the sequence associated to the name parameter. If no sequence is found, return null.

Parameters:
name - the fully qualified name of the sequence, i.e "packageName.sequenceName".

getMapper

org.objectweb.jorm.api.PMapper getMapper()

setMapper

void setMapper(org.objectweb.jorm.api.PMapper mapper)

getPMF

POManagerFactoryItf getPMF()

setPMF

void setPMF(POManagerFactoryItf pmf)