element <qm:categoryType>
Namespace: |
|
Type: |
|
Content: |
|
Defined: |
|
Includes: |
|
Used: |
never |
XML Representation Summary |
<qm:categoryType> |
|
Content: |
qm:projectArea, dc:identifier, jproc:team-area, qm:stylesheet, alm:updated, dc:title, qm:scope, qm:required?, qm:multiSelectable?, qm:dependsOn?, qm:defaultCategory?, qm:valueset* |
|
</qm:categoryType> |
Content model elements (12):
-
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 complexType (extension) |
XML Source (w/o annotations (15); see within schema source)
<xs:element name="categoryType"> <xs:complexType> <xs:complexContent> <xs:sequence> <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: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 (defined in this component only; 8/12) -
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)
-
Type: |
xs:string, predefined, simple content |
The name of the category type.
XML Source (w/o annotations (1); see within schema source)
-
Type: |
anonymous, 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> |
-
Type: |
anonymous, 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> |
-
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"/> |
-
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"/> |
-
Type: |
xs:string, predefined, simple content |
The artifact scope to which this category type is defined for. (e.g TestPlan, TestCase, etc..). Note, this property is immutable.
XML Source (w/o annotations (1); see within schema source)
<xs:element maxOccurs="1" minOccurs="1" name="scope" type="xs:string"/> |
-
Type: |
anonymous, 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> |