org.jboss.varia.autonumber
Interface AutoNumber

All Superinterfaces:
EJBObject (src) , java.rmi.Remote

public interface AutoNumber
extends EJBObject (src)

AutoNumber stores autonumbers for items in a collection.


Method Summary
 java.lang.Integer getValue()
          Gets the current value of the autonumber.
 void setValue(java.lang.Integer value)
          Sets the current value of the autonumber.
 
Methods inherited from interface javax.ejb.EJBObject (src)
getEJBHome, getHandle, getPrimaryKey, isIdentical, remove
 

Method Detail

getValue

public java.lang.Integer getValue()
                           throws java.rmi.RemoteException
Gets the current value of the autonumber.

Throws:
java.rmi.RemoteException

setValue

public void setValue(java.lang.Integer value)
              throws java.rmi.RemoteException
Sets the current value of the autonumber.

Throws:
java.rmi.RemoteException