Enum StringCase

java.lang.Object
java.lang.Enum<StringCase>
org.instancio.settings.StringCase
All Implemented Interfaces:
Serializable, Comparable<StringCase>, java.lang.constant.Constable

@ExperimentalApi public enum StringCase extends Enum<StringCase>
A setting that specifies the case of generated strings.

String case can be set using the Keys.STRING_CASE setting:


 Person person = Instancio.of(Person.class)
     .withSetting(Keys.STRING_CASE, StringCase.MIXED) // all strings mixed-case
     .create();
 

Note that this setting is only applicable to string types listed below, otherwise this setting is ignored:

Since:
4.8.0
See Also: