On 03/14/2013 12:40 PM, Jan Synacek wrote:
Also, I added two association classes needed to connect LMI_Mount
with
LMI_MountSetting and LMI_MountService with LMI_MountCapabilities.
[ Association ]
class LMI_MountElementSettingData : CIM_ElementSettingData
{
[ Override("ManagedElement"), Description (
"LMI_Mount reference." ) ]
CIM_ManagedElement REF ManagedElement
[ Override("SettingData"), Description (
"LMI_MountSetting reference." ) ]
CIM_SettingData REF SettingData
};
Umm, LMI_Mount is not CIM_ManagedElement. It seems we cannot inherit
CIM_ElementSettingData here. We can make LMI_MountElementSettingData
without any superclass and just pretend it behaves like
CIM_ElementSettingData.
Jan.