All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.jscsi.target.scsi.inquiry.CodeSet Maven / Gradle / Ivy

package org.jscsi.target.scsi.inquiry;

/**
 * The CODE SET field indicates the code set used for the IDENTIFIER field.
 * 
 * 
 * 
 * 
 * 
 * 
 * 
 * 
 * 
 * 
 * 
 * 
 * 
 * 
 * 
 * 
 * 
 * 
 * 
 * 
 * 
 * 
 * 
 * 
 * 
 * 
 * 
CodeDescription
0x0RESERVED
0x1The IDENTIFIER field shall contain binary values.
0x2The IDENTIFIER field shall contain ASCII printable characters
* (i.e., code values 20h through 7Eh)
0x3The IDENTIFIER field shall contain ISO/IEC 10646-1 (UTF-8) codes
0x4 - 0xfRESERVED
* * The CODE SET field has a length of four bits. * * @see IdentificationDescriptor * @author Andreas Ergenzinger */ public enum CodeSet { /** * This value is reserved. */ RESERVED((byte)0x0), /** * The IDENTIFIER field shall contain binary values. */ BINARY_VALUES((byte)0x1), /** * The IDENTIFIER field shall contain ASCII printable characters. */ ASCII_PRINTABLE_VALUES((byte)0x2), /** * The IDENTIFIER field shall contain ISO/IEC 10646-1 (UTF-8) codes: */ UTF8_CODES((byte)0x3); private CodeSet(final byte value) { this.value = value; } /** * The serialized value of this object. */ private final byte value; /** * Returns serialized value of this object. * * @return serialized value of this object */ public final byte getValue() { return value; } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy