Package ome.xml.model.enums
Enum LaserType
- java.lang.Object
-
- java.lang.Enum<LaserType>
-
- ome.xml.model.enums.LaserType
-
- All Implemented Interfaces:
Serializable
,Comparable<LaserType>
,Enumeration
public enum LaserType extends Enum<LaserType> implements Enumeration
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DYE
EXCIMER
FREEELECTRON
GAS
METALVAPOR
OTHER
SEMICONDUCTOR
SOLIDSTATE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static LaserType
fromString(String value)
String
getValue()
String
toString()
static LaserType
valueOf(String name)
Returns the enum constant of this type with the specified name.static LaserType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
EXCIMER
public static final LaserType EXCIMER
-
GAS
public static final LaserType GAS
-
METALVAPOR
public static final LaserType METALVAPOR
-
SOLIDSTATE
public static final LaserType SOLIDSTATE
-
DYE
public static final LaserType DYE
-
SEMICONDUCTOR
public static final LaserType SEMICONDUCTOR
-
FREEELECTRON
public static final LaserType FREEELECTRON
-
OTHER
public static final LaserType OTHER
-
-
Method Detail
-
values
public static LaserType[] 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 (LaserType c : LaserType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static LaserType valueOf(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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
fromString
public static LaserType fromString(String value) throws EnumerationException
- Throws:
EnumerationException
-
getValue
public String getValue()
-
-