AffixDecorator
Decorates a string by adding a prefix and suffix.
Constructors
Properties
Additional logic that determines how strings are generated.
The description of the affix. Here, '\'
is the escape character (which also escapes itself), and each unescaped '@'
is replaced with the original string. If the descriptor does not contain an unescaped '@'
, then the entire descriptor is placed both in front of and after the original string. For example, affixing "word"
with descriptor "(@)"
gives "(word)"
, and affixing "word"
with descriptor "()"
gives "()word()"
.
Functions
Returns a deep copy, retaining the uuid if and only if retainUuid is true
.
Validates the state, and indicates whether and why it is invalid.
Generates count random data according to the settings in this scheme, ignoring settings from decorators.