| Modifier and Type | Method and Description |
|---|---|
IsbnBuilder |
IdentifierDummy.isbnBuilder()
Provides a builder for a random International Standard Book Number.
|
| Modifier and Type | Method and Description |
|---|---|
IsbnBuilder |
InternationalStandardNumberFactory.createIsbnBuilder() |
| Modifier and Type | Method and Description |
|---|---|
IsbnBuilder |
IsbnBuilder.withoutSeparator()
The generated ISBN will contain only digits and no separator
|
IsbnBuilder |
IsbnBuilder.withPrefix(String prefix)
Sets the prefix of the generated ISBN.
|
IsbnBuilder |
IsbnBuilder.withPublication(String publication)
Sets the publication of the generated ISBN.
|
IsbnBuilder |
IsbnBuilder.withRandomPrefix()
Sets a random prefix for the generated ISBN to one that is randomly chosen from the yml definitions.
|
IsbnBuilder |
IsbnBuilder.withRandomPrefix(String... prefixes)
Sets the prefix for the generated ISBN to one that is randomly chosen from provided arguments.
|
IsbnBuilder |
IsbnBuilder.withRandomPublication()
Sets a random publication for the generated ISBN.
|
IsbnBuilder |
IsbnBuilder.withRandomPublication(String... publications)
Sets the publication for the generated ISBN to one that is randomly chosen from provided arguments.
|
IsbnBuilder |
IsbnBuilder.withRandomRegistrant()
Sets a random registrant for the generated ISBN.
|
IsbnBuilder |
IsbnBuilder.withRandomRegistrant(String... registrants)
Sets the registrant for the generated ISBN to one that is randomly chosen from provided arguments.
|
IsbnBuilder |
IsbnBuilder.withRandomRegistrationGroup()
Sets a random registration group for the generated ISBN.
|
IsbnBuilder |
IsbnBuilder.withRandomRegistrationGroup(String... registrationGroups)
Sets the registration group for the generated ISBN to one that is randomly chosen from provided arguments.
|
IsbnBuilder |
IsbnBuilder.withRandomSeparator()
Sets a separator for the generated ISBN to one that is randomly chosen from the yml definitions.
|
IsbnBuilder |
IsbnBuilder.withRandomSeparator(String... separators)
Sets the separator for the generated ISBN to one that is randomly chosen from provided arguments
|
IsbnBuilder |
IsbnBuilder.withRandomType()
Sets a random type for the generated ISBN (10 or 13 character length).
|
IsbnBuilder |
IsbnBuilder.withRandomType(IsbnType... types)
Sets the type for the generated ISBN to one that is randomly chosen from provided arguments
|
IsbnBuilder |
IsbnBuilder.withRegistrant(String registrant)
Sets the registrant of the generated ISBN.
|
IsbnBuilder |
IsbnBuilder.withRegistrationGroup(String group)
Sets the registration group of the generated ISBN.
|
IsbnBuilder |
IsbnBuilder.withSeparator(String separator)
Sets the separator used for formatting ISBN
|
IsbnBuilder |
IsbnBuilder.withType(IsbnType type)
Sets the type of the generated ISBN
|
Copyright © 2022. All rights reserved.