Enum Ismn.Prefix
- java.lang.Object
-
- java.lang.Enum<Ismn.Prefix>
-
- no.unit.nva.model.instancetypes.artistic.music.Ismn.Prefix
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<Ismn.Prefix>
- Enclosing class:
- Ismn
protected static enum Ismn.Prefix extends java.lang.Enum<Ismn.Prefix>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Ismn.Prefixfind(java.lang.String prefix)java.lang.StringgetString()static Ismn.PrefixvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static Ismn.Prefix[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ISMN10
public static final Ismn.Prefix ISMN10
-
ISMN13
public static final Ismn.Prefix ISMN13
-
-
Method Detail
-
values
public static Ismn.Prefix[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Ismn.Prefix c : Ismn.Prefix.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Ismn.Prefix valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
find
public static Ismn.Prefix find(java.lang.String prefix)
-
getString
public java.lang.String getString()
-
-