|
CIM Tutorial
> CIM > Overview
> Meta Schema > Property
 |
CIM Meta Schema - Property
|
 |
A property is a value used to denote a characteristic of
a class. Properties are scoped by the class that owns the property
and must be unique within the class. A property has a name, data
type, value and an optional default value. A property that
does not have a default value is initialized to null.
Property data types are limited to the following intrinsic data
types or arrays of such.
|
INTRINSIC DATA TYPE
|
INTERPRETATION
|
| uint8 |
Unsigned
8-bit integer |
| sint8 |
Signed
8-bit integer |
| uint16 |
Unsigned
16-bit integer |
| sint16 |
Signed
16-bit integer |
| uint32 |
Unsigned
32-bit integer |
| sint32 |
Signed
32-bit integer |
| uint64 |
Unsigned
64-bit integer |
| sint64 |
Signed
64-bit integer |
| string |
UCS-2
string |
| boolean |
Boolean
|
| real32 |
IEEE
4-byte floating-point |
| real64 |
IEEE
8-byte floating-point |
| datetime |
A string
containing a date-time |
|
<classname> ref
|
Strongly
typed reference |
| char16 |
16-bit
UCS-2 character |
Examples
[MaxLen (64), Description
(
"The Caption
property is a short textual description (one-"
"line string)
of the object.") ]
string Caption; |
[Write, Description (
"An enumerated
value indicating an administrator's "
"default/startup
configuration for an element's Enabled"
"Status. By
default, the element is \"Enabled\" (value=2)."),
ValueMap {"2",
"3", "5", "6", "7"},
Values {"Enabled",
"Disabled", "Not Applicable",
"Enabled but
Offline", "No Default"} ]
uint16 EnabledDefault = 2; |
|