org.drools.reteoo
Class ReteooBuilder.IdGenerator

java.lang.Object
  extended by org.drools.reteoo.ReteooBuilder.IdGenerator
All Implemented Interfaces:
Externalizable, Serializable
Enclosing class:
ReteooBuilder

public static class ReteooBuilder.IdGenerator
extends Object
implements Externalizable

See Also:
Serialized Form

Constructor Summary
ReteooBuilder.IdGenerator()
           
ReteooBuilder.IdGenerator(int firstId)
           
 
Method Summary
 int getLastId()
           
 int getNextId()
           
 void readExternal(ObjectInput in)
           
 void releaseId(int id)
           
 void writeExternal(ObjectOutput out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReteooBuilder.IdGenerator

public ReteooBuilder.IdGenerator()

ReteooBuilder.IdGenerator

public ReteooBuilder.IdGenerator(int firstId)
Method Detail

readExternal

public void readExternal(ObjectInput in)
                  throws IOException,
                         ClassNotFoundException
Specified by:
readExternal in interface Externalizable
Throws:
IOException
ClassNotFoundException

writeExternal

public void writeExternal(ObjectOutput out)
                   throws IOException
Specified by:
writeExternal in interface Externalizable
Throws:
IOException

getNextId

public int getNextId()

releaseId

public void releaseId(int id)

getLastId

public int getLastId()


Copyright © 2001-2013 JBoss Inc.. All Rights Reserved.