When you create new properties for a class, you can use any of the dialog boxes that CIM WorkShop provides for specifying properties of a particular type. These dialog boxes are configured to accept only a value of the appropriate type. The dialog boxes include the following:
Real Integer dialog box
Signed Integer dialog box
Unsigned Integer dialog box
String dialog box
Array dialog box
Boolean dialog box
The Values field of this dialog box accepts only a real integer. A real integer can be a negative or positive number including a decimal point. When you create a property that is of the type Real Integer, type a real integer in the Values field of this dialog box.
The Values field of this dialog box accepts only a signed integer of a specified size. A signed integer can be a negative or positive whole number. CIM properties that have values which are signed integers can be 8 bits, 16 bits, 32 bits, or 64 bits in size. Depending on the size of the signed integer that makes up the value of the property, type the following in the Values field of this dialog box:
For a property that is an 8-bit signed integer, type a positive or negative numeric value equivalent to 8 bits.
For a property that is a 16-bit signed integer, type a positive or negative numeric value equivalent to 16 bits.
For a property that is a 32-bit signed integer, type a positive or negative numeric value equivalent to 32 bits.
For a property that is a 64-bit signed integer, type a positive or negative numeric value equivalent to 64 bits.
The Values field of this dialog box accepts only an unsigned integer of a specified size. An unsigned integer can be only a positive whole number. CIM properties that have values which are unsigned integers can be 8 bits, 16 bits, 32 bits, or 64 bits in size. Depending on the size of the unsigned integer that makes up the value of the property, type the following in the Values field of this dialog box:
For a property that is an 8-bit unsigned integer, type a positive numeric value equivalent to 8 bits.
For a property that is a 16-bit unsigned integer, type a positive numeric value equivalent to 16 bits.
For a property that is a 32-bit unsigned integer, type a positive numeric value equivalent to 32 bits.
For a property that is a 64-bit unsigned integer, type a positive numeric value equivalent to 64 bits.
The Values field of this dialog box accepts only alphabetic and numeric characters. When you specify the value of a property that is a character string, you must enter a character string, such as Processor_Type, in the Values field of this dialog box. Character strings may not contain integers.
In the Array dialog boxes, you can specify an array as a value for a property. The following array dialog boxes are available to return arrays:
8-Bit Unsigned Integer Array Dialog Box - returns a collection of positive integers equivalent to 8 bits in size
16-Bit Unsigned Integer Array Dialog Box - returns a collection of positive integers equivalent to 16 bits in size
32-Bit Unsigned Integer Array Dialog Box - returns a collection of positive integers equivalent to 32 bits in size
64-Bit Unisgned Integer Array Dialog Box - returns a collection of positive integers equivalent to 64 bits in size
8-Bit Signed Integer Array Dialog Box - returns a collection of positive or negative integers equivalent to 8 bits in size
16-Bit Signed Integer Array Dialog Box - returns a collection of positive or negative integers equivalent to 16 bits in size
32-Bit Signed Integer Array Dialog Box - returns a collection of positive or negative integers equivalent to 32 bits in size
64-Bit Signed Integer Array Dialog Box - returns a collection of positive or negative integers equivalent to 64 bits in size
String Array Dialog Box - returns a collection of alphabetic and numeric character strings
Boolean Array Dialog Box - returns a collection of Boolean expressions, True or False
32-Bit Real Array Dialog Box - returns a collection of positive or negative real numbers, with or without a decimal point, equivalent to 32 bits in size
64-Bit Real Array Dialog Box - returns a collection of positive or negative real numbers, with or without a decimal point, equivalent to 64 bits in size
16-Bit Character Array Dialog Box - returns a collection of alphabetic and numeric character strings equivalent to 16 bits in size
Date/Time Array Dialog Box - returns a collection of dates in the format mm-dd-yy and times in the format hh:mm:ss
In the Boolean dialog box, you can specify True or False as the value of a selected property.