element <mapMemberFromType>

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

XML Representation Summary
<mapMemberFromType
| member | = | xsd:string
| property | = | xsd:string
| suppressDefault | = | xsd:boolean : "true"
| typeId | = | xsd:string
/>

May be included in elements (4):

  mapResource, mapResourceElement, mapResourceMember, mapResourceType

Known Usage Locations

- Within global complexTypes (1):
  mappingResourceType [ref]

Annotation
Map RSS from the type declaration attached to the given property.
Embedded Type Detail

Type Derivation Summary twoWayMappingType complexType

XML Source

<xsd:element name="mapMemberFromType" substitutionGroup="twoWayMapping"> <xsd:annotation> <xsd:documentation> Map RSS from the type declaration attached to the given property. </xsd:documentation> </xsd:annotation> <xsd:complexType> <xsd:complexContent> <xsd:extension base="twoWayMappingType"> <xsd:attribute name="property" type="xsd:string" use="required"> <xsd:annotation> <xsd:documentation>The property path providing the value.</xsd:documentation> </xsd:annotation> </xsd:attribute> <xsd:attribute name="member" type="xsd:string" use="required"> <xsd:annotation> <xsd:documentation>The struct member.</xsd:documentation> </xsd:annotation> </xsd:attribute> <xsd:attribute default="true" name="suppressDefault" type="xsd:boolean" use="optional"> <xsd:annotation> <xsd:documentation> If true, do not emit the member initializer if the property matches the default specified in the STRUCT. If may be useful to set this to false if the default changes between SDK releases (to avoid branching components). </xsd:documentation> </xsd:annotation> </xsd:attribute> <xsd:attribute name="typeId" type="xsd:string" use="optional"> <xsd:annotation> <xsd:documentation> This attribute tells which of a set of type mappings to use from the given type (as named in the id="..." attributes on the mapXXXType children of sourceTypeMapping). </xsd:documentation> </xsd:annotation> </xsd:attribute> </xsd:extension> </xsd:complexContent> </xsd:complexType> </xsd:element>

Attribute Detail
member

  The struct member.

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

  XML Source

  <xsd:attribute name="member" type="xsd:string" use="required"> <xsd:annotation> <xsd:documentation>The struct member.</xsd:documentation> </xsd:annotation> </xsd:attribute>

property

  The property path providing the value.

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

  XML Source

  <xsd:attribute name="property" type="xsd:string" use="required"> <xsd:annotation> <xsd:documentation>The property path providing the value.</xsd:documentation> </xsd:annotation> </xsd:attribute>

suppressDefault

  If true, do not emit the member initializer if the property matches the default
  specified in the STRUCT. If may be useful to set this to false if the
  default changes between SDK releases (to avoid branching components).

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

  XML Source

  <xsd:attribute default="true" name="suppressDefault" type="xsd:boolean" use="optional"> <xsd:annotation> <xsd:documentation> If true, do not emit the member initializer if the property matches the default specified in the STRUCT. If may be useful to set this to false if the default changes between SDK releases (to avoid branching components). </xsd:documentation> </xsd:annotation> </xsd:attribute>

typeId

  This attribute tells which of a set of type mappings to use
  from the given type (as named in the id="..." attributes on
  the mapXXXType children of sourceTypeMapping).

  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> This attribute tells which of a set of type mappings to use from the given type (as named in the id="..." attributes on the mapXXXType children of sourceTypeMapping). </xsd:documentation> </xsd:annotation> </xsd:attribute>