|
BEA Systems, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.beasys.commerce.foundation.SmartValue | +--com.beasys.commerce.axiom.util.AlphaNumericSequencerValue
This class generates sequential identifiers in a prescribed format.. The user of the classs can configure the starting number, prefix, suffix, and step. It is also possible to specify the width of the numeric component. The current sequence number is persisted and access to the counter is controlled so that uniqueness can be guaranteed across all users of a given sequencer. It is used to generate unique keys for entities such as accounts, users, and sessions.
AlphaNumericSequencer
,
AlphaNumericSequencerHome
,
AlphaNumericSequencer.getAlphaNumericSequencerByValue()
,
AlphaNumericSequencer.setAlphaNumericSequencerByValue(AlphaNumericSequencerValue)
, Serialized FormField Summary | |
int |
counter
Containment: By Value Multiplicity: 1:1 |
java.lang.String |
identifier
Containment: By Value Multiplicity: 1:1 PRIMARY KEY FIELD |
int |
numDigits
Containment: By Value Multiplicity: 1:1 |
java.lang.String |
prefix
Containment: By Value Multiplicity: 1:1 |
int |
step
Containment: By Value Multiplicity: 1:1 |
java.lang.String |
suffix
Containment: By Value Multiplicity: 1:1 |
Constructor Summary | |
protected |
AlphaNumericSequencerValue()
Only get/setAlphaNumericSequencerByValue methods are allowed to call this constructor. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public java.lang.String identifier
public java.lang.String prefix
public int counter
public int step
public int numDigits
public java.lang.String suffix
Constructor Detail |
protected AlphaNumericSequencerValue()
|
BEA Systems, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |