public class AutoCometJobKeyGenerator extends PersistentKeyGenerator
AutoCometJobPersistentKeyGenerator.Type| Constructor and Description |
|---|
AutoCometJobKeyGenerator() |
| Modifier and Type | Method and Description |
|---|---|
Object |
generate()
Generates a new unique key.
|
Object |
generateFor(Object object)
Generates a new unique key in relation to given object.
|
createSeriesAfterLookupError, init, initializeKeyGenerator, lookup, reset, setDigits, setKey, setNumeric, setStart, setTemplate, setTypepublic Object generate()
KeyGeneratorKeyGenerator.reset() method the generator is reseted so that a key
can be returned which already was returned before calling KeyGenerator.reset().generate in interface KeyGeneratorgenerate in class PersistentKeyGeneratorpublic Object generateFor(Object object)
KeyGeneratorKeyGenerator.generate()
method and furthermore it is guaranteed that the key will only be produced for this object (think of a PK which
contains the type information, a media PK will not be generated for a product, nevertheless it is unique overall).generateFor in interface KeyGeneratorgenerateFor in class PersistentKeyGeneratorobject - object for which a key will be generatedCopyright © 2017 SAP SE. All Rights Reserved.