public enum TypeOfEmission extends Enum<TypeOfEmission>
Java class for TypeOfEmission.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="TypeOfEmission"> <restriction base="{http://www.w3.org/2001/XMLSchema}unsignedInt"> <enumeration value="400"/> <enumeration value="1020"/> </restriction> </simpleType>
Enum Constant and Description |
---|
VALUE_1
400 Hertz
|
VALUE_2
1020 Hertz
|
Modifier and Type | Method and Description |
---|---|
static TypeOfEmission |
fromValue(long v) |
long |
value() |
static TypeOfEmission |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TypeOfEmission[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TypeOfEmission VALUE_1
public static final TypeOfEmission VALUE_2
public static TypeOfEmission[] values()
for (TypeOfEmission c : TypeOfEmission.values()) System.out.println(c);
public static TypeOfEmission 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 long value()
public static TypeOfEmission fromValue(long v)
Copyright © 2020. All rights reserved.