element <mapEnumType>

Namespace: | http://www.nokia.com/sdt/emf/component
Type: | embedded (extension of mappingEnumType)
Content: | complex, 6 attributes, 1 element
Defined: | globally within component.xsd, see XML source
Used: | at 1 location

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

May contain elements (1):

  mapEnum

May be included in elements (1):

  sourceTypeMapping

Known Usage Locations

- Within embedded complexTypes of elements (1):
  sourceTypeMapping [ref]

Annotation
Map an enumerator to RSS.
Embedded Type Detail

Type Derivation Summary twoWayMappingType mappingEnumType (extension) complexType

XML Source

<xsd:element name="mapEnumType" substitutionGroup="twoWayMapping"> <xsd:annotation> <xsd:documentation>Map an enumerator to RSS.</xsd:documentation> </xsd:annotation> <xsd:complexType> <xsd:complexContent> <xsd:extension base="mappingEnumType"> <xsd:attribute name="typeId" type="xsd:string" use="optional"> <xsd:annotation> <xsd:documentation> Identifies the id for this particular kind of type mapping. </xsd:documentation> </xsd:annotation> </xsd:attribute> </xsd:extension> </xsd:complexContent> </xsd:complexType> </xsd:element>

Attribute Detail
enumeration

  Unused.

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

headers

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

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

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 mappingEnumType complexType

typeId

  Identifies the id for this particular kind of type mapping.

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

  XML Source

  <xsd:attribute name="typeId" type="xsd:string" use="optional"> <xsd:annotation> <xsd:documentation> Identifies the id for this particular kind of type mapping. </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 mappingEnumType complexType

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 mappingEnumType complexType

Content Element Detail
mapEnum

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