public static enum ProfileData.DeviceType extends java.lang.Enum<ProfileData.DeviceType>
Enumeration of known profile measurement device types.
NOTE:Enum Constant and Description |
---|
LASERSCANNER |
UNKNOWN |
WIREHARP |
WIRESCANNER |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getTypeId()
Return the device type identifier string corresponding to this type.
|
static ProfileData.DeviceType |
typeFromDeviceId(java.lang.String strDevId)
Return the device type which is inferred from the given
device identifier string.
|
static ProfileData.DeviceType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ProfileData.DeviceType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ProfileData.DeviceType WIRESCANNER
public static final ProfileData.DeviceType WIREHARP
public static final ProfileData.DeviceType LASERSCANNER
public static final ProfileData.DeviceType UNKNOWN
public static ProfileData.DeviceType[] values()
for (ProfileData.DeviceType c : ProfileData.DeviceType.values()) System.out.println(c);
public static ProfileData.DeviceType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String getTypeId()
public static ProfileData.DeviceType typeFromDeviceId(java.lang.String strDevId)
strDevId
is
prefixed by the (two-character) device type string. If
the first two characters of strDevId
are not
a recognized device type identifier string, the device
type UNKNOWN
is returned.strDevId
- device identifier stringDeviceType
object corresponding to given device id