Definition Complex Type Complex Type
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"
/>
<xs:element name="DesignData"
type="DesignData"
minOccurs="0"
/>
<xs:choice
minOccurs="0"
maxOccurs="unbounded"
>
<xs:element name="SettingDeclaration"
type="SettingMember"
/>
<xs:element name="SettingValue"
type="SettingValue"
/>
<xs:element name="SettingValueList"
type="SettingValueList"
/>
</xs:choice>
</xs:sequence>
<xs:attribute name="Name"
type="SimpleName"
use="required"
/>
<xs:attribute name="Manager"
type="QualifiedName"
use="optional"
/>
<xs:attribute name="ClrClassName"
type="string"
use="optional"
/>
</xs:complexType>
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
Send comments about this topic to Microsoft
Build date: 9/5/2007