element <qm:categoryType> (global)
Namespace:
Type:
anonymous complexType (extension of qm:reportableArtifact)
Content:
complex, 12 elements
Defined:
globally in qm.xsd; see XML source
Includes:
definitions of 8 elements
Used:
never
XML Representation Summary
<qm:categoryType>
   
Content: 
</qm:categoryType>
Content model elements (12):
alm:updated,
dc:identifier,
dc:title,
jproc:team-area,
qm:defaultCategory,
qm:dependsOn,
qm:multiSelectable,
qm:projectArea (defined in qm:reportableArtifact complexType),
qm:required,
qm:scope,
qm:stylesheet,
qm:valueset
Annotation
A category type defines a grouping for a given set of category types. All categories must be associated to one and only one category type.
Anonymous Type Detail
Type Derivation Tree
qm:reportableArtifact (extension)
  complexType
XML Source (w/o annotations (15); see within schema source)
<xs:element name="categoryType">
<xs:complexType>
<xs:complexContent>
<xs:extension base="reportableArtifact">
<xs:sequence>
<xs:element ref="alm:updated"/>
<xs:element ref="dc:title"/>
<xs:element maxOccurs="1" minOccurs="1" name="scope" type="xs:string"/>
<xs:element maxOccurs="1" minOccurs="0" name="required" type="xs:boolean"/>
<xs:element maxOccurs="1" minOccurs="0" name="multiSelectable" type="xs:boolean"/>
<xs:element maxOccurs="1" minOccurs="0" name="dependsOn">
<xs:complexType>
<xs:attribute name="href" type="xs:anyURI" use="required"/>
</xs:complexType>
</xs:element>
<xs:element maxOccurs="1" minOccurs="0" name="defaultCategory">
<xs:complexType>
<xs:attribute name="href" type="xs:anyURI" use="required"/>
</xs:complexType>
</xs:element>
<xs:element maxOccurs="unbounded" minOccurs="0" name="valueset">
<xs:complexType>
<xs:sequence>
<xs:element maxOccurs="1" minOccurs="1" name="key">
<xs:complexType>
<xs:attribute name="href" type="xs:anyURI" use="required"/>
</xs:complexType>
</xs:element>
<xs:element maxOccurs="unbounded" minOccurs="1" name="value">
<xs:complexType>
<xs:attribute name="href" type="xs:anyURI" use="required"/>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
</xs:element>
Content Element Detail (all declarations; defined within this component only; 8/12)
alm:updated
Type:
xs:dateTime, predefined, simple content
[READ-ONLY] The last modification date of a resource. Format is XML dateTime.
XML Source (w/o annotations (1); see within schema source)
<xs:element ref="alm:updated"/>

dc:title
Type:
xs:string, predefined, simple content
The name of the category type.
XML Source (w/o annotations (1); see within schema source)
<xs:element ref="dc:title"/>

qm:defaultCategory
Type:
anonymous complexType, empty content
The default category for this category type. May not be applicable if dependsOn category type and value sets have been configured. This attribute can only be set on an existing category type. It will be ignored on creation.
XML Source (w/o annotations (2); see within schema source)
<xs:element maxOccurs="1" minOccurs="0" name="defaultCategory">
<xs:complexType>
<xs:attribute name="href" type="xs:anyURI" use="required"/>
</xs:complexType>
</xs:element>

qm:dependsOn
Type:
anonymous complexType, empty content
Defines the parent category type. The reference must exist. A category type can only have at most 1 parent and have at most only one child. The available category values for the category type will be filtered based on the selection of the parent type. This is defined through valuesets.
XML Source (w/o annotations (2); see within schema source)
<xs:element maxOccurs="1" minOccurs="0" name="dependsOn">
<xs:complexType>
<xs:attribute name="href" type="xs:anyURI" use="required"/>
</xs:complexType>
</xs:element>

qm:multiSelectable
Type:
xs:boolean, predefined, simple content
[READ-ONLY] Defines wether this category type supports multi-selected values.
XML Source (w/o annotations (1); see within schema source)
<xs:element maxOccurs="1" minOccurs="0" name="multiSelectable" type="xs:boolean"/>

qm:required
Type:
xs:boolean, predefined, simple content
[READ-ONLY] Defines wether this category type is required or optional.
XML Source (w/o annotations (1); see within schema source)
<xs:element maxOccurs="1" minOccurs="0" name="required" type="xs:boolean"/>

qm:scope
Type:
xs:string, predefined, simple content
[IMMUTABLE] The artifact scope to which this category type is defined for. (e.g TestPlan, TestCase, etc..).
XML Source (w/o annotations (1); see within schema source)
<xs:element maxOccurs="1" minOccurs="1" name="scope" type="xs:string"/>

qm:valueset
Type:
anonymous complexType, complex content
The category valuesets defined based on the category type's parent category (dependsOn). Value sets define the filtered list of category types that are applicable based on the category value selected on the parent category type. Ex. (City dependsOn State). ValueSets would be defined to define the approriate City category values for when a particular State value (the key) is chosen. The key for all the value set's defined must be a category value based on the parent (dependsOn) category type.
XML Source (w/o annotations (5); see within schema source)
<xs:element maxOccurs="unbounded" minOccurs="0" name="valueset">
<xs:complexType>
<xs:sequence>
<xs:element maxOccurs="1" minOccurs="1" name="key">
<xs:complexType>
<xs:attribute name="href" type="xs:anyURI" use="required"/>
</xs:complexType>
</xs:element>
<xs:element maxOccurs="unbounded" minOccurs="1" name="value">
<xs:complexType>
<xs:attribute name="href" type="xs:anyURI" use="required"/>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>

XML schema documentation generated with DocFlex/XML RE 1.9.0 using DocFlex/XML XSDDoc 2.8.0 template set