IDMW 2.0 XML-Schema Dokumentation
SET_FEATURE Element
IDMW 2.0 XML-Schema Dokumentation > T_NEW_CATALOG Element > FEATURE_DEFINITION Element > DECISIONS Element > DECISION Element > OPTION_COMBINATION Element > ACTIONS Element : SET_FEATURE Element
Description
This action sets a value for an option of a feature. Contrary to „SET_FEATURE FIXED“, this value can be modified if permitted by the conditions.  This value rule also applies if the corresponding field was previously set to default or manual.
Namespace (none)
Diagram
FORMULA_REF Element OPTION_REF Element FEATURE_REF Element Choice SET_FEATURE Element
Overview
SET_FEATURE
This action sets a value for an option of a feature. Contrary to „SET_FEATURE FIXED“, this value can be modified if permitted by the conditions.  This value rule also applies if the corresponding field was previously set to default or manual.
FEATURE_NO required Restriction of xs:nonNegativeInteger
This attribute is used to reference a feature.    D   nonNegativeInteger
   P   
   M   [0:999]
Choice
FEATURE_REF
This element references another feature for the setting of option values.
FEATURE_NO required Restriction of xs:nonNegativeInteger
This attribute is used to reference a feature.    D   nonNegativeInteger
   P   
   M   [0:999]
OPTION_REF
This element is used to reference an option (OPTION) that is set directly.
OPTION_KEY required Restriction of xs:string
This attribute is used to reference an option.    D   string
   P   
   M   [1:30]
FORMULA_REF
This element is used to reference a formula for the calculation of options.
FORMULA_KEY optional Restriction of xs:string
This attribute is used to reference a formula.    D   string
   P   
   M   [1:30]
Attributes
NameTypeUseDefaultFixedDescription
FEATURE_NORestriction of xs:nonNegativeIntegerrequired  
This attribute is used to reference a feature.    D   nonNegativeInteger
   P   
   M   [0:999]
Source
<xs:element name="SET_FEATURE" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:complexType>
    <xs:choice>
      <xs:element name="FEATURE_REF">
        <xs:complexType>
          <xs:attribute name="FEATURE_NO" use="required">
            <xs:annotation>
              <xs:documentation>use required aufgenommen, K. Rchter, 12.06.2015</xs:documentation>
            </xs:annotation>
            <xs:simpleType>
              <xs:restriction base="xs:nonNegativeInteger">
                <xs:minInclusive value="0" />
                <xs:maxInclusive value="9999" />
              </xs:restriction>
            </xs:simpleType>
          </xs:attribute>
        </xs:complexType>
      </xs:element>
      <xs:element name="OPTION_REF">
        <xs:complexType>
          <xs:attribute name="OPTION_KEY" use="required">
            <xs:annotation>
              <xs:documentation>use required aufgenommen, K. Rchter, 12.06.2015</xs:documentation>
            </xs:annotation>
            <xs:simpleType>
              <xs:restriction base="xs:string">
                <xs:minLength value="1" />
                <xs:maxLength value="30" />
              </xs:restriction>
            </xs:simpleType>
          </xs:attribute>
        </xs:complexType>
      </xs:element>
      <xs:element name="FORMULA_REF">
        <xs:complexType>
          <xs:attribute name="FORMULA_KEY">
            <xs:simpleType>
              <xs:restriction base="xs:string">
                <xs:minLength value="1" />
                <xs:maxLength value="30" />
              </xs:restriction>
            </xs:simpleType>
          </xs:attribute>
        </xs:complexType>
      </xs:element>
    </xs:choice>
    <xs:attribute name="FEATURE_NO" use="required">
      <xs:simpleType>
        <xs:restriction base="xs:nonNegativeInteger">
          <xs:minInclusive value="0" />
          <xs:maxInclusive value="9999" />
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
  </xs:complexType>
</xs:element>
See Also
ACTIONS ElementOPTION_COMBINATION ElementDECISION ElementDECISIONS ElementFEATURE_DEFINITION ElementT_NEW_CATALOG ElementIDMW 2.0 XML-Schema Dokumentation