element <enumPropertyDeclaration>

Namespace: | http://www.nokia.com/sdt/emf/component
Type: | embedded complexType
Content: | complex, 4 attributes, 2 elements
Defined: | globally within component.xsd, see XML source
Used: | at 1 location

XML Representation Summary
<enumPropertyDeclaration
| defaultValue | = | xsd:string
| displayValue | = | anySimpleType
| qualifiedName | = | xsd:string
| value | = | anySimpleType
| >
Content: | enumElement+, sourceTypeMapping?
</enumPropertyDeclaration>

May contain elements (2):

  enumElement (within enumPropertyDeclaration), | sourceTypeMapping

May be included in elements (1):

  componentDefinition

Known Usage Locations

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

Annotation
Declares an enumerated type that may be referenced from one or more
enumerated property declarations in this or other component documents. All enum property declarations are in a global
namespace and must be declared as global elements.
XML Source

<xsd:element name="enumPropertyDeclaration"> <xsd:annotation> <xsd:documentation> Declares an enumerated type that may be referenced from one or more enumerated property declarations in this or other component documents. All enum property declarations are in a global namespace and must be declared as global elements. </xsd:documentation> </xsd:annotation> <xsd:complexType> <xsd:sequence> <xsd:element maxOccurs="unbounded" name="enumElement"> <xsd:annotation> <xsd:documentation> This sequence is the list of values comprising the enumerated type. Each value consists of an internal string value and a displayable string value. </xsd:documentation> </xsd:annotation> <xsd:complexType> <xsd:attribute name="value" use="required"> <xsd:annotation> <xsd:documentation>The internal value, which is not localizable.</xsd:documentation> </xsd:annotation> </xsd:attribute> <xsd:attribute name="displayValue" use="optional"> <xsd:annotation> <xsd:documentation>The displayable value, which should be localized.</xsd:documentation> </xsd:annotation> </xsd:attribute> </xsd:complexType> </xsd:element> <xsd:element maxOccurs="1" minOccurs="0" ref="sourceTypeMapping"> <xsd:annotation> <xsd:documentation> This element provides source mapping for the type, for use by map*FromType elements. Added post 1.2 </xsd:documentation> </xsd:annotation> </xsd:element> </xsd:sequence> <xsd:attribute name="qualifiedName" type="xsd:string" use="required"> <xsd:annotation> <xsd:documentation> The globally unique name for this type. By convention this is a dotted name, e.g. com.example.MyEnumType. This value is used in enumPropertyDeclaration. </xsd:documentation> </xsd:annotation> </xsd:attribute> <xsd:attribute name="defaultValue" type="xsd:string"> <xsd:annotation> <xsd:documentation> A default internal value for the enumeration. It can be overriden in property declarations. </xsd:documentation> </xsd:annotation> </xsd:attribute> </xsd:complexType> </xsd:element>

Attribute Detail
defaultValue

  A default internal value for the enumeration. It can be overriden in property declarations.

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

  XML Source

  <xsd:attribute name="defaultValue" type="xsd:string"> <xsd:annotation> <xsd:documentation> A default internal value for the enumeration. It can be overriden in property declarations. </xsd:documentation> </xsd:annotation> </xsd:attribute>

displayValue

  The displayable value, which should be localized.

  Type: | anySimpleType
  Use: | optional
  Defined: | locally, within enumElement element

qualifiedName

  The globally unique name for this type. By convention this is a dotted name, e.g. com.example.MyEnumType.
  This value is used in enumPropertyDeclaration.

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

  XML Source

  <xsd:attribute name="qualifiedName" type="xsd:string" use="required"> <xsd:annotation> <xsd:documentation> The globally unique name for this type. By convention this is a dotted name, e.g. com.example.MyEnumType. This value is used in enumPropertyDeclaration. </xsd:documentation> </xsd:annotation> </xsd:attribute>

value

  The internal value, which is not localizable.

  Type: | anySimpleType
  Use: | required
  Defined: | locally, within enumElement element

Content Element Detail
enumElement

  This sequence is the list of values comprising the enumerated type. Each
  value consists of an internal string value and a displayable string value.

  Type: | embedded, empty content
  Defined: | locally, within this element

sourceTypeMapping

  This element provides source mapping for the type, for use by
  map*FromType elements. Added post 1.2

  Type: | embedded, complex content
  Defined: | by reference, within this element

  XML Source

  <xsd:element maxOccurs="1" minOccurs="0" ref="sourceTypeMapping"> <xsd:annotation> <xsd:documentation> This element provides source mapping for the type, for use by map*FromType elements. Added post 1.2 </xsd:documentation> </xsd:annotation> </xsd:element>