public enum DtcClass extends Enum<DtcClass> implements HasName
| Enum Constant and Description |
|---|
A
DTCClass 1 matches the GTR module B Class A definition.
|
B1
DTCClass 2 matches the GTR module B Class B1 definition.
|
B2
DTCClass 3 matches the GTR module B Class B2 definition.
|
C
DTCClass 4 matches the GTR module B Class C Definition.
|
UNCLASSIFIED
DTCClass 0 is unclassified.
|
| Modifier and Type | Method and Description |
|---|---|
static DtcClass |
findOrDefault(String name) |
int |
getCode() |
String |
getName() |
static DtcClass |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DtcClass[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DtcClass UNCLASSIFIED
public static final DtcClass A
public static final DtcClass B1
public static final DtcClass B2
public static final DtcClass C
public static DtcClass[] values()
for (DtcClass c : DtcClass.values()) System.out.println(c);
public static DtcClass 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 int getCode()
Copyright © 2023. All rights reserved.