org.openpermis.policy.bean
Class SerialNumber.Context

java.lang.Object
  extended by org.openpermis.policy.bean.SerialNumber.Context
All Implemented Interfaces:
Serializable
Enclosing class:
SerialNumber

private static final class SerialNumber.Context
extends Object
implements Serializable

Context for creating serial numbers.

Since:
0.1.0

Field Summary
private  long lastValue
          The last value created by this context.
private static long serialVersionUID
           
 
Constructor Summary
private SerialNumber.Context()
           
 
Method Summary
 SerialNumber create()
          Creates a new serial number that is unique to this context.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
Constant Field Value:
529851258047190889L
Since:
0.1.0

lastValue

private volatile long lastValue
The last value created by this context.

Since:
0.1.0
Constructor Detail

SerialNumber.Context

private SerialNumber.Context()
Method Detail

create

public SerialNumber create()
Creates a new serial number that is unique to this context.

Returns:
the new serial number requested.
Since:
0.1.0


PERMIS Role Based Access Control 0.4.0 (Build 15)
2009/05/20 08:14:59
Copyright (c) 2002-2007 Ergon Informatik AG