public enum NamingConvention extends java.lang.Enum<NamingConvention> implements Enumeration
Modifier and Type | Method and Description |
---|---|
static NamingConvention |
fromString(java.lang.String value) |
java.lang.String |
getValue() |
java.lang.String |
toString() |
static NamingConvention |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static NamingConvention[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NamingConvention LETTER
public static final NamingConvention NUMBER
public static NamingConvention[] values()
for (NamingConvention c : NamingConvention.values()) System.out.println(c);
public static NamingConvention 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 static NamingConvention fromString(java.lang.String value) throws EnumerationException
EnumerationException
public java.lang.String getValue()
public java.lang.String toString()
toString
in class java.lang.Enum<NamingConvention>
Copyright © 2014 Open Microscopy Environment