net.sourceforge.fixagora.basis.shared.model.persistence
Class IDManager

java.lang.Object
  extended by net.sourceforge.fixagora.basis.shared.model.persistence.IDManager
All Implemented Interfaces:
java.io.Serializable

@Entity
public class IDManager
extends java.lang.Object
implements java.io.Serializable

The Class IDManager.

See Also:
Serialized Form

Constructor Summary
IDManager()
           
 
Method Summary
 long getId()
          Gets the id.
 java.lang.Long getLastID()
          Gets the last id.
 java.lang.String getName()
          Gets the name.
 void setId(long id)
          Sets the id.
 void setLastID(java.lang.Long lastID)
          Sets the last id.
 void setName(java.lang.String name)
          Sets the name.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IDManager

public IDManager()
Method Detail

getName

public java.lang.String getName()
Gets the name.

Returns:
the name

setName

public void setName(java.lang.String name)
Sets the name.

Parameters:
name - the new name

getLastID

public java.lang.Long getLastID()
Gets the last id.

Returns:
the last id

setLastID

public void setLastID(java.lang.Long lastID)
Sets the last id.

Parameters:
lastID - the new last id

getId

public long getId()
Gets the id.

Returns:
the id

setId

public void setId(long id)
Sets the id.

Parameters:
id - the new id