ArrayDecorator
data class ArrayDecorator(var enabled: Boolean = DEFAULT_ENABLED, var minCount: Int = DEFAULT_MIN_COUNT, var maxCount: Int = DEFAULT_MAX_COUNT, var separatorEnabled: Boolean = DEFAULT_SEPARATOR_ENABLED, var separator: String = DEFAULT_SEPARATOR, val affixDecorator: AffixDecorator = DEFAULT_AFFIX_DECORATOR) : DecoratorScheme(source)
The user-configurable collection of schemes applicable to generating arrays.
Constructors
Link copied to clipboard
constructor(enabled: Boolean = DEFAULT_ENABLED, minCount: Int = DEFAULT_MIN_COUNT, maxCount: Int = DEFAULT_MAX_COUNT, separatorEnabled: Boolean = DEFAULT_SEPARATOR_ENABLED, separator: String = DEFAULT_SEPARATOR, affixDecorator: AffixDecorator = DEFAULT_AFFIX_DECORATOR)
Properties
Link copied to clipboard
The affixation to apply to the generated values.
Link copied to clipboard
Additional logic that determines how strings are generated.
Link copied to clipboard
The icon signifying this scheme in its entirety, or null
if it does not have an icon.
Link copied to clipboard
Whether to separate elements using separator.
Functions
Link copied to clipboard
Returns a deep copy, retaining the uuid if and only if retainUuid is true
.
Link copied to clipboard
Validates the state, and indicates whether and why it is invalid.