public enum NamingConvention extends Enum<NamingConvention> implements Enumeration
Modifier and Type | Method and Description |
---|---|
static NamingConvention |
fromString(String value) |
String |
getValue() |
String |
toString() |
static NamingConvention |
valueOf(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(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static NamingConvention fromString(String value) throws EnumerationException
EnumerationException
public String getValue()
public String toString()
toString
in class Enum<NamingConvention>
Copyright © 2006–2017 Open Microscopy Environment. All rights reserved.