Definition complex type [SDM]

 
Platform SDK: System Definition Model Overview

Definition Complex Type

Note: This documentation is preliminary and is subject to change.

Defines the base set of elements for object, relationship, constraint, and flow definitions. All definitions can include a description, setting members, setting values, and design surface data. Each definition is identified by a simple name and references a manager. The manager is responsible for providing support to the SDM runtime for this particular definition through the class identified by the definition.

The name of the definition must be unique for all definitions within the scope that contains the definition. The scope may be either an .sdm file or another definition.

<xs:complexType name="Definition">
    <xs:sequence>
        <xs:element name="Description"
            type="Description"
            minOccurs="0"
         />
Description
Text description of the definition.
<xs:element name="DesignData" type="DesignData" minOccurs="0" />
DesignData
Design surface specific information about an object, relationship, constraint, or flow definition.
<xs:choice minOccurs="0" maxOccurs="unbounded" > <xs:element name="SettingDeclaration" type="SettingMember" />
SettingDeclaration
The elements and attributes used to declare a setting.
<xs:element name="SettingValue" type="SettingValue" />
SettingValue
Value for a setting on the definition or its base definition. A value can only be provided once for a setting declaration within an definition.
<xs:element name="SettingValueList" type="SettingValueList" />
SettingValueList
A list of setting values.
</xs:choice> </xs:sequence> <xs:attribute name="Name" type="SimpleName" use="required" />
Name
Name for this definition. The name must be unique within the scope of the containing .sdm file.
<xs:attribute name="Manager" type="QualifiedName" use="optional" />
Manager
Reference to the manager declaration for this definition. This attribute must be present if the ClrClassName attribute is present.
<xs:attribute name="ClrClassName" type="string" use="optional" />
ClrClassName
Name of the CLR class that supports this definition in the runtime. The class must exist in the assembly identified by the manager. The Manager attribute must be present if this attribute is present. The class name must be the fully-qualified class name; for example, Microsoft.SystemDefinitionModel.Serializer.
</xs:complexType>
Definition
Defines the base set of elements for object, relationship, constraint, and flow definitions.

Child Elements

Element Type Description
Description Description Text description of the definition.
DesignData DesignData Design surface specific information about an object, relationship, constraint, or flow definition.
SettingDeclaration SettingMember The elements and attributes used to declare a setting.
SettingValue SettingValue Value for a setting on the definition or its base definition. A value can only be provided once for a setting declaration within an definition.
SettingValueList SettingValueList A list of setting values.

Attributes

Name Type Description
ClrClassName string Name of the CLR class that supports this definition in the runtime. The class must exist in the assembly identified by the manager. The Manager attribute must be present if this attribute is present. The class name must be the fully-qualified class name; for example, Microsoft.SystemDefinitionModel.Serializer.
Manager QualifiedName Reference to the manager declaration for this definition. This attribute must be present if the ClrClassName attribute is present.
Name SimpleName Name for this definition. The name must be unique within the scope of the containing .sdm file.

See Also

SystemDefinitionModel Schema Complex Types

  
  Last updated: June 2005  |  What did you think of this topic?  |  Order a Platform SDK CD
  © Microsoft Corporation. All rights reserved. Terms of use.