1 //%LICENSE////////////////////////////////////////////////////////////////
3 // Licensed to The Open Group (TOG) under one or more contributor license
4 // agreements. Refer to the OpenPegasusNOTICE.txt file distributed with
5 // this work for additional information regarding copyright ownership.
6 // Each contributor licenses this file to you under the OpenPegasus Open
7 // Source License; you may not use this file except in compliance with the
10 // Permission is hereby granted, free of charge, to any person obtaining a
11 // copy of this software and associated documentation files (the "Software"),
12 // to deal in the Software without restriction, including without limitation
13 // the rights to use, copy, modify, merge, publish, distribute, sublicense,
14 // and/or sell copies of the Software, and to permit persons to whom the
15 // Software is furnished to do so, subject to the following conditions:
17 // The above copyright notice and this permission notice shall be included
18 // in all copies or substantial portions of the Software.
20 // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
21 // OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
22 // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
23 // IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
24 // CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
25 // TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
26 // SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
28 //////////////////////////////////////////////////////////////////////////
30 // ==================================================================
31 // JMPICIMInstance2_TestElement
32 // ==================================================================
35 Description ("JMPICIMInstance2_TestElement is an abstract class that provides a common "
36 "superclass (or top of the inheritance tree) for the "
37 "non-association classes in the test Schema.")
39 class JMPICIMInstance2_TestElement
43 Description ("CreationClassName indicates the name of the class or the "
44 "subclass used in the creation of an instance. When used "
45 "with the other key properties of this class, this property "
46 "allows all instances of this class and its subclasses to "
47 "be uniquely identified.")
49 string CreationClassName;
52 Description ("An identifier that uniquely identifies each instance "
53 "of the JMPICIMInstance2_TestElement hierarchy.")
58 // ===================================================================
59 // JMPICIMInstance2_TestPropertyTypes
60 // ===================================================================
62 Description ("JMPICIMInstance2_TestPropertyTypes is a concrete class derived from "
63 "JMPICIMInstance2_TestElement"),
64 provider ("JMPICIMInstance2_TestPropertyTypes")
66 class JMPICIMInstance2_TestPropertyTypes : JMPICIMInstance2_TestElement
69 Description ("a string property of JMPICIMInstance2_TestPropertyTypes")
71 string PropertyString;
73 [ Description ("a uint8 property of JMPICIMInstance2_TestPropertyTypes")
77 [ Description ("a uint16 property of JMPICIMInstance2_TestPropertyTypes")
79 uint16 PropertyUint16;
81 [ Description ("a uint32 property of JMPICIMInstance2_TestPropertyTypes")
83 uint32 PropertyUint32;
85 [ Description ("a uint64 property of JMPICIMInstance2_TestPropertyTypes")
87 uint64 PropertyUint64;
89 [ Description ("a sint8 property of JMPICIMInstance2_TestPropertyTypes")
93 [ Description ("a sint16 property of JMPICIMInstance2_TestPropertyTypes")
95 sint16 PropertySint16;
97 [ Description ("a sint32 property of JMPICIMInstance2_TestPropertyTypes")
99 sint32 PropertySint32;
101 [ Description ("a sint64 property of JMPICIMInstance2_TestPropertyTypes")
103 sint64 PropertySint64;
105 [ Description ("a boolean property of JMPICIMInstance2_TestPropertyTypes")
107 boolean PropertyBoolean;
109 [ Description ("a real32 property of JMPICIMInstance2_TestPropertyTypes")
111 real32 PropertyReal32;
113 [ Description ("a real64 property of JMPICIMInstance2_TestPropertyTypes")
115 real64 PropertyReal64;
117 [ Description ("a datetime property of JMPICIMInstance2_TestPropertyTypes")
119 datetime PropertyDatetime;
121 [ Description ("a char16 property of JMPICIMInstance2_TestPropertyTypes")
123 char16 PropertyChar16;
125 [ Description ("an object property of JMPICIMInstance2_TestPropertyTypes"),
128 string PropertyObject;
130 // [ Description ("a reference property of JMPICIMInstance2_TestPropertyTypes")
132 // ref PropertyReference;
134 [ Description ("an array of uint8s property of JMPICIMInstance2_TestPropertyTypes")
136 uint8 PropertyArrayUint8[];
138 [ Description ("an array of uint16s property of JMPICIMInstance2_TestPropertyTypes")
140 uint16 PropertyArrayUint16[];
142 [ Description ("an array of uint32s property of JMPICIMInstance2_TestPropertyTypes")
144 uint32 PropertyArrayUint32[];
146 [ Description ("an array of uint64s property of JMPICIMInstance2_TestPropertyTypes")
148 uint64 PropertyArrayUint64[];
150 [ Description ("an array of sint8s property of JMPICIMInstance2_TestPropertyTypes")
152 sint8 PropertyArraySint8[];
154 [ Description ("an array of sint16s property of JMPICIMInstance2_TestPropertyTypes")
156 sint16 PropertyArraySint16[];
158 [ Description ("an array of sint32s property of JMPICIMInstance2_TestPropertyTypes")
160 sint32 PropertyArraySint32[];
162 [ Description ("an array of sint64s property of JMPICIMInstance2_TestPropertyTypes")
164 sint64 PropertyArraySint64[];
166 [ Description ("an array of booleans property of JMPICIMInstance2_TestPropertyTypes")
168 boolean PropertyArrayBoolean[];
170 [ Description ("an array of real32s property of JMPICIMInstance2_TestPropertyTypes")
172 real32 PropertyArrayReal32[];
174 [ Description ("an array of real64s property of JMPICIMInstance2_TestPropertyTypes")
176 real64 PropertyArrayReal64[];
178 [ Description ("an array of datetimes property of JMPICIMInstance2_TestPropertyTypes")
180 datetime PropertyArrayDatetime[];
182 [ Description ("an array of char16s property of JMPICIMInstance2_TestPropertyTypes")
184 char16 PropertyArrayChar16[];
186 [ Description ("an object property of JMPICIMInstance2_TestPropertyTypes"),
189 string PropertyArrayObject[];
191 [ Description ("a function that returns a string which says hello")
195 [ Description ("a function which tells the provider to allow modifications")
197 boolean enableModifications (boolean fState);