public enum ISBTConcatenation extends java.lang.Enum<ISBTConcatenation> implements IEnumType
Enum Constant and Description |
---|
Autodiscriminate
the decoder decodes and concatenates pairs of ISBT codes immediately.
|
Disable
the decoder does not concatenate pairs of ISBT codes it encounters.
|
Enable
there must be two ISBT codes in order for the decoder to
decode and perform concatenation.
|
Modifier and Type | Method and Description |
---|---|
int |
getCode() |
java.lang.String |
toString() |
static ISBTConcatenation |
valueOf(int code) |
static ISBTConcatenation |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ISBTConcatenation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ISBTConcatenation Disable
public static final ISBTConcatenation Enable
public static final ISBTConcatenation Autodiscriminate
public static ISBTConcatenation[] values()
for (ISBTConcatenation c : ISBTConcatenation.values()) System.out.println(c);
public static ISBTConcatenation valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String toString()
toString
in interface IEnumType
toString
in class java.lang.Enum<ISBTConcatenation>
public static ISBTConcatenation valueOf(int code)