ListOfValues Element

Description

A predefined list of values that can be used for test object method arguments or return values.

Attributes

NameTypeUseDefaultDescription
NameIDrequired The name of the predefined list of values.

Diagram

ListOfValues Element (Required, 1 element allowed)Sequence (Required, 1 element allowed)EnumValue Element (Required, 1 or more elements allowed)


Children

Used By

Source

<xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema" name="ListOfValues">
    <xs:annotation>
        <xs:documentation>A predefined list of values that can be used for test object method arguments or return values.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
        <xs:sequence>
            <xs:element name="EnumValue" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>A possible value in a predefined list of values.</xs:documentation>
                </xs:annotation>
                <xs:complexType>
                    <xs:attribute name="Name" type="RestrictedString" use="required" />
                    <xs:attribute name="RealValue" type="xs:integer" use="required" />
                </xs:complexType>
            </xs:element>
        </xs:sequence>
        <xs:attribute name="Name" type="xs:ID" use="required">
            <xs:annotation>
                <xs:documentation>The name of the predefined list of values.</xs:documentation>
            </xs:annotation>
        </xs:attribute>
    </xs:complexType>
</xs:element>