2.1.3.17 FilterDescriptor

Target namespace: http://schemas.microsoft.com/windows/2007/BusinessDataCatalog

Referenced by: FilterDescriptors

A complex type that specifies a FilterDescriptor.

Child Elements:

LocalizedDisplayNames: A LocalizedDisplayNames element (section 2.1.3.28) that specifies the localized names of the Model.

Properties: A Properties element (section 2.1.3.39) that specifies the Properties of the Model.

Attributes:

Type: A FilterDescriptorType attribute (section 2.1.4.3) that specifies the type of the FilterDescriptor.

FilterField: A NameString attribute (section 2.1.4.9) that specifies the field of an Entity to which the Filter is applied in an implementation-specific execution that uses the metadata.

Name: A NameString attribute (section 2.1.4.9) that specifies the name of the Model.

DefaultDisplayName: A NameString attribute that specifies the default display name of the Model.

IsCached: An xs:boolean attribute that specifies whether the Model is used frequently. This MAY<13> be used as a recommendation as to whether to cache the Model. This attribute MUST be set to one of the values listed in the following table.

Value

Description

False

The Model is infrequently used.

True

The Model is frequently used.

The following W3C XML Schema ([XMLSCHEMA1/2] section 2.1) fragment specifies the contents of this complex type.

 <xs:complexType name="FilterDescriptor">
   <xs:complexContent>
     <xs:extension base="bdc:MetadataObject">
       <xs:attribute name="Type" type="bdc:FilterDescriptorType" use="required"/>
       <xs:attribute name="FilterField" type="bdc:NameString" use="optional"/>
     </xs:extension>
   </xs:complexContent>
 </xs:complexType>

See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1/2] section 2.1).