(file) Return to ComplexGraph.mof CVS log (file) (dir) Up to [OMI] / omi / samples / Providers / TestClass_ComplexGraphs

File: [OMI] / omi / samples / Providers / TestClass_ComplexGraphs / ComplexGraph.mof (download)
Revision: 1.1, Mon Apr 20 17:20:01 2015 UTC (9 years, 2 months ago) by krisbash
Branch: MAIN
CVS Tags: OMI_1_0_8_2, OMI_1_0_8_1, HEAD
OMI 1.0.8-1

Qualifier Description : string = null,
    Scope(property, method, parameter, class, indication);

Qualifier EmbeddedInstance : string = null, 
    Scope(property, method, parameter);

Qualifier Abstract : boolean = false,
    Scope(class, indication);

Qualifier Indication : boolean = false, 
    Scope(class, indication), 
    Flavor(DisableOverride, ToSubclass);

Qualifier Structure: boolean = false, 
    Scope(class, indication), 
    Flavor(DisableOverride, ToSubclass);

Qualifier Key : boolean = false, 
    Scope(property, reference), 
    Flavor(DisableOverride, ToSubclass);

Qualifier EmbeddedObject : boolean = false, 
    Scope(property, method, parameter), 
    Flavor(DisableOverride, ToSubclass);

[Description ("Root class for the inheritnace hierarchy" ), Indication, Structure]
class Root
{
	uint32 Uint32Property;
};

[Description ("Class outside of the inheritnace hierarchy" ), Indication, Structure]
class Separate
{
	boolean BooleanProperty;
};

[Description ("Class in the middle of inheritance hierarchy, referencing two other instances." ), Indication, Structure]
class Base : Root
{
	[EmbeddedInstance("Separate")] string SeparateReference;

	[EmbeddedInstance("Base")] string BaseInstance;
        [EmbeddedInstance("Base")] string BaseInstanceArray[];

 	Root REF RootReference;
};

[Description ("Leaf in the inheritance hierarchy, referencing one more instance." ), Indication, Structure]
class Derived : Base
{
	string StringProperty;
	[EmbeddedInstance("Derived")] string DerivedInstance;
};

[Description ("Class returned by the provider")]
class ClassHierarchyTest
{
        [Key]
	string TestName;

	[EmbeddedObject] string TestInstance;
};

ViewCVS 0.9.2