public enum SenseDataDescriptorType extends Enum<SenseDataDescriptorType>
SenseDataDescriptor and
determines the object's (non-abstract sub)class.
Vendor specific sense data descriptors types (values 0x80 to 0xff) and respective
SenseDataDescriptors are not implemented!
| Enum Constant and Description |
|---|
ATA_RETURN
See SAT.
|
BLOCK_COMMANDS
See SBC.
|
COMMAND_SPECIFIC_INFORMATION
The command-specific information sense data descriptor provides
information that depends on the command on which the exception condition
occurred.
|
FIELD_REPLACEABLE_UNIT
The field replaceable unit sense data descriptor (see table 24) provides
information about a component that has failed.
|
INFORMATION
The information sense data descriptor provides information that is
device-type or command specific and is defined in a command standard.
|
OSD_ATTRIBUTE_IDENTIFICATION
See OSD.
|
OSD_OBJECT_IDENTIFICATION
See OSD.
|
OSD_RESPONSE_INTEGRITY_CHECK_VALUE
See OSD.
|
SENSE_KEY_SPECIFIC
The sense key specific sense data descriptor provides additional
information about the exception condition.
|
STREAM_COMMANDS
See SSC.
|
| Modifier and Type | Method and Description |
|---|---|
byte |
getValue() |
static SenseDataDescriptorType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SenseDataDescriptorType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SenseDataDescriptorType INFORMATION
public static final SenseDataDescriptorType COMMAND_SPECIFIC_INFORMATION
public static final SenseDataDescriptorType SENSE_KEY_SPECIFIC
SenseData.senseKey field.public static final SenseDataDescriptorType FIELD_REPLACEABLE_UNIT
public static final SenseDataDescriptorType STREAM_COMMANDS
public static final SenseDataDescriptorType BLOCK_COMMANDS
public static final SenseDataDescriptorType OSD_OBJECT_IDENTIFICATION
public static final SenseDataDescriptorType OSD_RESPONSE_INTEGRITY_CHECK_VALUE
public static final SenseDataDescriptorType OSD_ATTRIBUTE_IDENTIFICATION
public static final SenseDataDescriptorType ATA_RETURN
public static SenseDataDescriptorType[] values()
for (SenseDataDescriptorType c : SenseDataDescriptorType.values()) System.out.println(c);
public static SenseDataDescriptorType 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 final byte getValue()
Copyright © 2012 University of Konstanz, Distributed Systems Group. All Rights Reserved.