Defines the ISBN length. Valid lengths of ISBNs are 10 and 13
which are represented as ISBN_10 and ISBN_13 respectively.
Using ANY allows to validate values that could either be ISBN10 or ISBN13.
In such case, ISBN type would be determined by the length of the corresponding value.
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Returns the enum constant of this class with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this class. (Extraneous whitespace characters are
not permitted.)
Parameters:
name - the name of the enum constant to be returned.