public class UniqueValueHelperDefaultImpl extends Object implements UniqueValuesHelper
| Constructor and Description |
|---|
UniqueValueHelperDefaultImpl() |
| Modifier and Type | Method and Description |
|---|---|
Long |
getNextUniqueValue(String discriminator)
Returns next unique value, associated to the given discriminator.
|
List<Long> |
getNextUniqueValues(String discriminator,
int count)
Returns count next unique values, associated to the given discriminator.
|
public Long getNextUniqueValue(String discriminator)
UniqueValuesHelpergetNextUniqueValue in interface UniqueValuesHelperdiscriminator - on empty string. Max length 10 chars.public List<Long> getNextUniqueValues(String discriminator, int count)
UniqueValuesHelpergetNextUniqueValues in interface UniqueValuesHelperdiscriminator - non empty string. Max length 10 chars.count - number of values to generate.Copyright © 2021. All rights reserved.