public enum DefectAssetType extends Enum<DefectAssetType> implements HasName
| Enum Constant and Description |
|---|
ALL
Defect list that applies to any asset.
|
DEVICE
Defect list for a
Device. |
TRAILER
Defect list for a Trailer.
|
UNKNOWN
Fallback when enumeration value is unknown.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getCode() |
String |
getName() |
static DefectAssetType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DefectAssetType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DefectAssetType UNKNOWN
public static final DefectAssetType ALL
public static final DefectAssetType DEVICE
Device.public static final DefectAssetType TRAILER
public static DefectAssetType[] values()
for (DefectAssetType c : DefectAssetType.values()) System.out.println(c);
public static DefectAssetType 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.