Interface EanSpec

All Superinterfaces:
EanGeneratorSpec, GeneratorSpec<String>, NullableGeneratorSpec<String>, ValueSpec<String>

public interface EanSpec extends ValueSpec<String>, EanGeneratorSpec
Spec for generating European Article Number (EAN).
Since:
2.11.0
  • Method Summary

    Modifier and Type
    Method
    Description
    Specifies that a null value can be generated
    Specifies that EAN-13 should be generated (default behaviour if the type is not specified).
    Specifies that EAN-8 should be generated.

    Methods inherited from interface org.instancio.generator.ValueSpec

    get, list, map, stream, toModel