cn.chenlichao.wmi4j.consts
枚举 WbemCimTypeEnum

java.lang.Object
  继承者 java.lang.Enum<WbemCimTypeEnum>
      继承者 cn.chenlichao.wmi4j.consts.WbemCimTypeEnum
所有已实现的接口:
Serializable, Comparable<WbemCimTypeEnum>

public enum WbemCimTypeEnum
extends Enum<WbemCimTypeEnum>

The WbemCimtypeEnum constants define the valid CIM types of a property value. Created by chenlichao on 14-7-26.


枚举常量摘要
Boolean
          11(0xB): Boolean value
Char16
          103(0x67): 16-bit character
Datetime
          101(0x65): Date/time value
Object
          13(0xD): CIM object
Real32
          4(0x4): 32-bit real number
Real64
          5(0x5): 64-bit real number
Reference
          102(0x66): Reference to a CIM object
Sint16
          2(0x2): Signed 16-bit integer
Sint32
          3(0x3): Signed 32-bit integer
Sint64
          20(0x14): Signed 64-bit integer
Sint8
          16(0x10): Signed 8-bit integer
String
          8(0x8): String
Uint16
          18(0x12): Unsigned 16-bit integer
Uint32
          19(0x13): Unsigned 32-bit integer
Uint64
          21(0x15): Unsigned 64-bit integer
Uint8
          17(0x11): Unsigned 8-bit integer
 
方法摘要
 int getValue()
           
static WbemCimTypeEnum parse(int value)
           
static WbemCimTypeEnum valueOf(String name)
          返回带有指定名称的该类型的枚举常量。
static WbemCimTypeEnum[] values()
          按照声明该枚举类型的常量的顺序,返回 包含这些常量的数组。
 
从类 java.lang.Enum 继承的方法
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
从类 java.lang.Object 继承的方法
getClass, notify, notifyAll, wait, wait, wait
 

枚举常量详细信息

Sint16

public static final WbemCimTypeEnum Sint16
2(0x2): Signed 16-bit integer


Sint32

public static final WbemCimTypeEnum Sint32
3(0x3): Signed 32-bit integer


Real32

public static final WbemCimTypeEnum Real32
4(0x4): 32-bit real number


Real64

public static final WbemCimTypeEnum Real64
5(0x5): 64-bit real number


String

public static final WbemCimTypeEnum String
8(0x8): String


Boolean

public static final WbemCimTypeEnum Boolean
11(0xB): Boolean value


Object

public static final WbemCimTypeEnum Object
13(0xD): CIM object


Sint8

public static final WbemCimTypeEnum Sint8
16(0x10): Signed 8-bit integer


Uint8

public static final WbemCimTypeEnum Uint8
17(0x11): Unsigned 8-bit integer


Uint16

public static final WbemCimTypeEnum Uint16
18(0x12): Unsigned 16-bit integer


Uint32

public static final WbemCimTypeEnum Uint32
19(0x13): Unsigned 32-bit integer


Sint64

public static final WbemCimTypeEnum Sint64
20(0x14): Signed 64-bit integer


Uint64

public static final WbemCimTypeEnum Uint64
21(0x15): Unsigned 64-bit integer


Datetime

public static final WbemCimTypeEnum Datetime
101(0x65): Date/time value


Reference

public static final WbemCimTypeEnum Reference
102(0x66): Reference to a CIM object


Char16

public static final WbemCimTypeEnum Char16
103(0x67): 16-bit character

方法详细信息

values

public static WbemCimTypeEnum[] values()
按照声明该枚举类型的常量的顺序,返回 包含这些常量的数组。该方法可用于迭代 常量,如下所示:
for (WbemCimTypeEnum c : WbemCimTypeEnum.values())
    System.out.println(c);


valueOf

public static WbemCimTypeEnum valueOf(String name)
返回带有指定名称的该类型的枚举常量。 字符串必须与用于声明该类型的枚举常量的 标识符完全匹配。(不允许有多余 的空格。)

参数:
name - 要返回的枚举常量的名称。
返回:
返回带有指定名称的枚举常量
抛出:
如果该枚举类型没有带有指定名称的常量, - 则抛出 IllegalArgumentException

getValue

public int getValue()

parse

public static WbemCimTypeEnum parse(int value)


Copyright © 2014. All rights reserved.