RandomUniqueString

RandomUniqueString

Generates random unique string with a specified length using either the default character set: a-zA-Z0-9 or a custom set as specified with the 'characters' parameter. The difference between this generator and the 'bankmark.pdgf.generator.ConvertNumberToString' is: bankmark.pdgf.generator.ConvertNumberToString generates a unique string for each number. But number 0 would produce AAAAA and number 1 would produce AAAAB, and so on. Where this generator would produce e.g. ST4GA for 0 and 8GHS3 for 1.

Attributes
Name Description Required Min Max Allowed Values
name (Class)Name of this element. Used to identify plugin Class. Full name is required. Example: com.en.myPluginPackage.myPuginClass no 0 1
id Identification String of this element. May be used to uniquely identify a field within the children of an Element. no 0 1
Nodes
Name Description Required Min Max Allowed Values
length Content type: Integer
Length of string to generate
yes 1 1
characters Content type: String
Sets characters this generator uses for generating a random string.
Default: [a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v, w, x, y, z, v, A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y, Z, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9]
no 0 1
gen Value Generator for this field no 0 1
2.7-83fb0 | 2020-04-22