complexType "mappingEnumType"

Namespace: | http://www.nokia.com/sdt/emf/component
Content: | complex, 5 attributes, 1 element
Defined: | globally within component.xsd, see XML source
Used: | at 3 locations

XML Representation Summary
<...
| enumeration | = | xsd:string
| headers | = | list of xsd:string
| nameAlgorithm | = | xsd:string
| uniqueValue | = | xsd:string
| validate | = | xsd:boolean : "true"
| >
Content: | (mapEnum)*
</...>

Content Elements (1):

  mapEnum

Known Usage Locations

- In derivations of embedded types of elements (3):

  mapEnumElement (as extension base), mapEnumMember (as extension base), | mapEnumType (as extension base)

Annotation
Base for mapping enumerator properties.
If any mapEnum elements specified, they completely define the list of mappings
of internal enumerator values to external RSS values. Otherwise, internal
values are directly emitted as RSS values.
Type Definition Detail

Type Derivation Summary twoWayMappingType mappingEnumType (extension)

XML Source

<xsd:complexType name="mappingEnumType"> <xsd:annotation> <xsd:documentation> Base for mapping enumerator properties. If any mapEnum elements specified, they completely define the list of mappings of internal enumerator values to external RSS values. Otherwise, internal values are directly emitted as RSS values. </xsd:documentation> </xsd:annotation> <xsd:complexContent> <xsd:extension base="twoWayMappingType"> <xsd:sequence maxOccurs="unbounded" minOccurs="0"> <xsd:element ref="mapEnum"/> </xsd:sequence> <xsd:attribute name="enumeration" type="xsd:string" use="optional"> <xsd:annotation> <xsd:documentation>Unused.</xsd:documentation> </xsd:annotation> </xsd:attribute> <xsd:attribute name="headers" type="listOfStrings" use="optional"> <xsd:annotation> <xsd:documentation> List of header files that must be included to provide the RSS enumerator symbols. </xsd:documentation> </xsd:annotation> </xsd:attribute> <xsd:attribute default="true" name="validate" type="xsd:boolean" use="optional"> <xsd:annotation> <xsd:documentation> If true, ensure that mapped enumerators are declared in the RSS context, emitting warnings if not. Set this to false if mapping #defines or expressions. </xsd:documentation> </xsd:annotation> </xsd:attribute> <xsd:attribute name="nameAlgorithm" type="xsd:string" use="optional"> <xsd:annotation> <xsd:documentation> If defined, mapped RSS values may be generated by an algorithm based on the current instance and property. See the com.nokia.sdt.sourceGen.nameAlgorithm extension point for details. </xsd:documentation> </xsd:annotation> </xsd:attribute> <xsd:attribute name="uniqueValue" type="xsd:string" use="optional"> <xsd:annotation> <xsd:documentation> When nameAlgorithm is defined, specifies that some or all mapped values are generated by the name algorithm. If the value is "*", every value goes through the name algorithm and gets an enumerator in an *.hrh file. Otherwise, only properties matching the value are generated. </xsd:documentation> </xsd:annotation> </xsd:attribute> </xsd:extension> </xsd:complexContent> </xsd:complexType>

Attribute Detail
enumeration

  Unused.

  Type: | xsd:string
  Use: | optional
  Defined: | locally, within this complexType

  XML Source

  <xsd:attribute name="enumeration" type="xsd:string" use="optional"> <xsd:annotation> <xsd:documentation>Unused.</xsd:documentation> </xsd:annotation> </xsd:attribute>

headers

  List of header files that must be included to provide the RSS enumerator symbols.

  Type: | listOfStrings
  Use: | optional
  Defined: | locally, within this complexType

  XML Source

  <xsd:attribute name="headers" type="listOfStrings" use="optional"> <xsd:annotation> <xsd:documentation> List of header files that must be included to provide the RSS enumerator symbols. </xsd:documentation> </xsd:annotation> </xsd:attribute>

nameAlgorithm

  If defined, mapped RSS values may be generated by an algorithm based on
  the current instance and property. See the com.nokia.sdt.sourceGen.nameAlgorithm
  extension point for details.

  Type: | xsd:string
  Use: | optional
  Defined: | locally, within this complexType

  XML Source

  <xsd:attribute name="nameAlgorithm" type="xsd:string" use="optional"> <xsd:annotation> <xsd:documentation> If defined, mapped RSS values may be generated by an algorithm based on the current instance and property. See the com.nokia.sdt.sourceGen.nameAlgorithm extension point for details. </xsd:documentation> </xsd:annotation> </xsd:attribute>

uniqueValue

  When nameAlgorithm is defined, specifies that some or all mapped values
  are generated by the name algorithm. If the value is "*", every value goes
  through the name algorithm and gets an enumerator in an *.hrh file.
  Otherwise, only properties matching the value are generated.

  Type: | xsd:string
  Use: | optional
  Defined: | locally, within this complexType

  XML Source

  <xsd:attribute name="uniqueValue" type="xsd:string" use="optional"> <xsd:annotation> <xsd:documentation> When nameAlgorithm is defined, specifies that some or all mapped values are generated by the name algorithm. If the value is "*", every value goes through the name algorithm and gets an enumerator in an *.hrh file. Otherwise, only properties matching the value are generated. </xsd:documentation> </xsd:annotation> </xsd:attribute>

validate

  If true, ensure that mapped enumerators are declared in the RSS context,
  emitting warnings if not. Set this to false if mapping #defines or
  expressions.

  Type: | xsd:boolean
  Use: | optional
  Default: | "true"
  Defined: | locally, within this complexType

  XML Source

  <xsd:attribute default="true" name="validate" type="xsd:boolean" use="optional"> <xsd:annotation> <xsd:documentation> If true, ensure that mapped enumerators are declared in the RSS context, emitting warnings if not. Set this to false if mapping #defines or expressions. </xsd:documentation> </xsd:annotation> </xsd:attribute>

Content Element Detail
mapEnum

  Type: | embedded, empty content
  Defined: | by reference, within this complexType

  XML Source

  <xsd:element ref="mapEnum"/>