org.alfresco.repo.avm
Class IssuerIDImpl

java.lang.Object
  extended by org.alfresco.repo.avm.IssuerIDImpl
All Implemented Interfaces:
IssuerID

public class IssuerIDImpl
extends java.lang.Object
implements IssuerID

Bean for issuer id tracking.


Constructor Summary
IssuerIDImpl()
           
IssuerIDImpl(java.lang.String issuer, long next)
           
 
Method Summary
 java.lang.String getIssuer()
          Get the name of the issuer.
 long getNext()
          Get the highest id.
 long getVersion()
           
 void setIssuer(java.lang.String issuer)
           
 void setNext(long next)
          Set the next id to be issued.
 void setVersion(long version)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IssuerIDImpl

public IssuerIDImpl()

IssuerIDImpl

public IssuerIDImpl(java.lang.String issuer,
                    long next)
Method Detail

setVersion

public void setVersion(long version)

getVersion

public long getVersion()

getIssuer

public java.lang.String getIssuer()
Description copied from interface: IssuerID
Get the name of the issuer.

Specified by:
getIssuer in interface IssuerID
Returns:

setIssuer

public void setIssuer(java.lang.String issuer)

getNext

public long getNext()
Description copied from interface: IssuerID
Get the highest id.

Specified by:
getNext in interface IssuerID
Returns:

setNext

public void setNext(long next)
Description copied from interface: IssuerID
Set the next id to be issued.

Specified by:
setNext in interface IssuerID
Parameters:
next - The next id to be issued.


Copyright © 2005 - 2008 Alfresco Software, Inc. All Rights Reserved.