|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.counterclaim.openefm.model.id.TimestampIdDispenser

| Field Summary | |
private static TimestampIdDispenser |
dispenser
Singleton value of the TimestampIdDispenser. |
private static org.apache.log4j.Logger |
log
|
private java.lang.String |
uniqueId
Unique ID to create a namespace for this app. |
| Constructor Summary | |
private |
TimestampIdDispenser()
|
| Method Summary | |
static TimestampIdDispenser |
getDispenser()
Returns the TimestampIdDispenser singleton. |
java.lang.String |
getNextId()
Returns the next universal ID. |
java.lang.String |
getUniqueIdentifier()
Returns a unique identifier to differenciate keys between companies. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
private static org.apache.log4j.Logger log
private static TimestampIdDispenser dispenser
private java.lang.String uniqueId
| Constructor Detail |
private TimestampIdDispenser()
| Method Detail |
public static TimestampIdDispenser getDispenser()
public java.lang.String getNextId()
getNextId in interface IdDispenserpublic java.lang.String getUniqueIdentifier()
getUniqueIdentifier in interface IdDispenser
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||