com.hyper9.simdk.stubs.enums
Enum ScsiLunType

java.lang.Object
  extended by java.lang.Enum<ScsiLunType>
      extended by com.hyper9.simdk.stubs.enums.ScsiLunType
All Implemented Interfaces:
Serializable, Comparable<ScsiLunType>

public enum ScsiLunType
extends Enum<ScsiLunType>

Author:
akutz

Enum Constant Summary
Cdrom
           
Communications
           
Disk
           
Enclosure
           
MediaChanger
           
OpticalDevice
           
Printer
           
Processor
           
Scanner
           
StorageArrayController
           
Tape
           
Unknown
           
Worm
           
 
Method Summary
static ScsiLunType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ScsiLunType[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

Disk

public static final ScsiLunType Disk

Tape

public static final ScsiLunType Tape

Printer

public static final ScsiLunType Printer

Processor

public static final ScsiLunType Processor

Worm

public static final ScsiLunType Worm

Cdrom

public static final ScsiLunType Cdrom

Scanner

public static final ScsiLunType Scanner

OpticalDevice

public static final ScsiLunType OpticalDevice

MediaChanger

public static final ScsiLunType MediaChanger

Communications

public static final ScsiLunType Communications

StorageArrayController

public static final ScsiLunType StorageArrayController

Enclosure

public static final ScsiLunType Enclosure

Unknown

public static final ScsiLunType Unknown
Method Detail

values

public static ScsiLunType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (ScsiLunType c : ScsiLunType.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static ScsiLunType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null


Copyright © 2009-2010 Hyper9. All Rights Reserved.