public class ProtoSequenceGenerator extends Object implements SequenceGenerator
| Constructor and Description |
|---|
ProtoSequenceGenerator() |
ProtoSequenceGenerator(byte[] state) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
boolean |
hasLastSequence(org.plasma.sdo.PlasmaType type) |
boolean |
isUpdated() |
Long |
lastSequence(org.plasma.sdo.PlasmaType type) |
byte[] |
marshal()
Connects builder elements "depth first" as the proto bjuilders are
immutable.
|
String |
marshalAsString() |
String |
marshalAsString(boolean formatted) |
Long |
nextSequence(commonj.sdo.DataObject dataObject)
Creates and adds a sequence number mapped to the UUID within the given data
object.
|
Long |
nextSequence(org.plasma.sdo.PlasmaType type) |
String |
toString() |
public static final Charset charset
public ProtoSequenceGenerator()
public ProtoSequenceGenerator(byte[] state)
public void close()
close in interface SequenceGeneratorpublic boolean hasLastSequence(org.plasma.sdo.PlasmaType type)
hasLastSequence in interface SequenceGeneratorpublic Long lastSequence(org.plasma.sdo.PlasmaType type)
lastSequence in interface SequenceGeneratorpublic Long nextSequence(commonj.sdo.DataObject dataObject)
SequenceGeneratornextSequence in interface SequenceGeneratordataObject - the data objectpublic Long nextSequence(org.plasma.sdo.PlasmaType type)
nextSequence in interface SequenceGeneratorpublic String marshalAsString()
marshalAsString in interface SequenceGeneratorpublic String marshalAsString(boolean formatted)
marshalAsString in interface SequenceGeneratorpublic byte[] marshal()
marshal in interface SequenceGeneratorpublic boolean isUpdated()
isUpdated in interface SequenceGeneratorCopyright © 2024. All Rights Reserved.