IDMW 2.0 XML-Schema Dokumentation
OPTIONS_SET_REF Element
IDMW 2.0 XML-Schema Dokumentation > T_NEW_CATALOG Element > FEATURE_DEFINITION Element > DECISIONS Element > DECISION Element > OPTION_COMBINATION Element : OPTIONS_SET_REF Element
Description

This element is used to reference a feature and define a rule for its feature classes. The rules may be defined via values, lists, intervals or feature groups in conjunction with a quantity operator.

The simple data type operator was defined for this purpose and may contain the following values:

 

eq (equal)

ne (not equal)

in (is contained in a quantity)

nin (is not contained in a quantity)

gt (greater)

lt (less)

ge (greater than or equal)

le (less than or equal)

Namespace (none)
Diagram
MEASURE_INTERVAL Element MEASURE_VALUE_OP Element FEATURE_REF_OP Element OPTION_REF_OP Element OPTION_GROUP_REF_OP Element OPTION_LIST Element OPTION_INTERVAL Element Choice OPTIONS_SET_REF Element
Overview
OPTIONS_SET_REF 0..∞

This element is used to reference a feature and define a rule for its feature classes. The rules may be defined via values, lists, intervals or feature groups in conjunction with a quantity operator.

The simple data type operator was defined for this purpose and may contain the following values:

 

eq (equal)

ne (not equal)

in (is contained in a quantity)

nin (is not contained in a quantity)

gt (greater)

lt (less)

ge (greater than or equal)

le (less than or equal)

FEATURE_NO required Restriction of xs:nonNegativeInteger
This attribute is used to reference a feature.    D   nonNegativeInteger
   P   
   M   [0:999]
REF_LEVEL optional Restriction of xs:nonNegativeInteger
In piece lists, sub-positions can query features of the main position (PARENT), the uppermost position (ROOT) and the item itself (SELF) via the REF_LEVEL and depending on them trigger an action or integrate the action in a condition.

1 = ROOT

2 = PARENT

3 = SELF (default is SELF if no REF level is specified)
   D   nonNegativeInteger
   P   
   M   [1:3]
Choice
OPTION_INTERVAL
This element is used to evaluate whether an option falls within or outside of an interval.
OPERATOR required Restriction of operator Simple Type

This attribute is used to evaluate whether an option is within or without the interval specified in OPTION_KEY_MIN and OPTION_KEY_MAX.

in (is contained in a quantity)

nin (is not contained in a quantity)

   D   operator
   P   in|nin
   M   
OPTION_KEY_MIN required Restriction of xs:string

This attribute is used to specify the starting value of the interval.

 

   D   string
   P   
   M   [1:30]
OPTION_KEY_MAX required Restriction of xs:string
This attribute is used to specify the end value of the interval.    D   string
   P   
   M   [1:30]
OPTION_LIST
This element is used to evaluate whether an option corresponds to a value in a list.
OPERATOR required Restriction of operator Simple Type

This attribute is used to evaluate whether an option falls within or without a list of values.

in (is contained in a quantity)

nin (is not contained in a quantity)

   D   operator
   P   in|nin
   M   
Sequence 1..∞
OPTION_REF
This element is used to reference the options in a comparison list.
OPTION_KEY required Restriction of xs:string
This attribute is used to reference an option.    D   string
   P   
   M   [1:30]
OPTION_GROUP_REF_OP
This element is used to evaluate whether an option falls within a feature group.
OPTION_GROUP_KEY required Restriction of xs:string
This attribute is used to reference a feature group.    D   string
   P   
   M   [1:30]
OPERATOR required Restriction of operator Simple Type

This attribute is used to evaluate whether an option falls within a feature group.

in (is contained in a quantity)

nin (is not contained in a quantity)

   D   operator
   P   in|nin
   M   
OPTION_REF_OP

This element is used to define a comparison with an option.

The comparison operator may contain the following values:

 

eq (equal)

ne (not equal)

gt (greater)

lt (less)

ge (greater than or equal)

le (less than or equal)

OPTION_KEY required Restriction of xs:string
This attribute is used to reference an option.    D   string
   P   
   M   [1:30]
OPERATOR required Restriction of operator Simple Type
This attribute is used to define a comparison with an option.

The comparison operator may contain the following values:

 

eq (equal)

ne (not equal)

gt (greater)

lt (less)

ge (greater than or equal)

le (less than or equal)

   D   operator
   P   eq|ne|gt|lt|ge|le
   M   
FEATURE_REF_OP

This element is used to directly compare the feature.

The comparison operator may contain the following values:

 

eq (equal)

ne (not equal)

FEATURE_NO required Restriction of xs:nonNegativeInteger
This attribute is used to reference a feature.    D   nonNegativeInteger
   P   
   M   [0:999]
OPERATOR required Restriction of operator Simple Type
This attribute is used to define a comparison with a feature.

The comparison operator may contain the following values:

 eq (equal)

ne (not equal)

   D   operator
   P   eq|ne
   M   
MEASURE_VALUE_OP
This element is used to check the dimension of an option using another dimension.
MEASURE_VALUE required xs:nonNegativeInteger

This attribute is used to specify the comparison dimension.

 

   D   nonNegativeInteger
   P   
   M   
OPERATOR required Restriction of operator Simple Type
This attribute is used to define a comparison with a dimension.

The comparison operator may contain the following values:

 

eq (equal)

ne (not equal)

gt (greater)

lt (less)

ge (greater than or equal)

le (less than or equal)

   D   operator
   P   eq|ne|gt|lt|ge|le
   M   
MEASURE_INTERVAL
This element is used to evaluate whether an option's dimension falls within or outside of an interval.
OPERATOR required Restriction of operator Simple Type

This attribute is used to evaluate whether a value is within the interval specified in MEASURE_MIN and MEASURE_MAX.

in (is contained in a quantity)

nin (is not contained in a quantity)

   D   operator
   P   in|nin
   M   
MEASURE_MIN required xs:nonNegativeInteger

This attribute is used to specify the starting value of the interval.

   D   nonNegativeInteger
   P   
   M   
MEASURE_MAX required xs:nonNegativeInteger
This attribute is used to specify the end value of the interval.    D   nonNegativeInteger
   P   
   M   
Attributes
NameTypeUseDefaultFixedDescription
FEATURE_NORestriction of xs:nonNegativeIntegerrequired  
This attribute is used to reference a feature.    D   nonNegativeInteger
   P   
   M   [0:999]
REF_LEVELRestriction of xs:nonNegativeIntegeroptional  
In piece lists, sub-positions can query features of the main position (PARENT), the uppermost position (ROOT) and the item itself (SELF) via the REF_LEVEL and depending on them trigger an action or integrate the action in a condition.

1 = ROOT

2 = PARENT

3 = SELF (default is SELF if no REF level is specified)
   D   nonNegativeInteger
   P   
   M   [1:3]
Source
<xs:element name="OPTIONS_SET_REF" minOccurs="0" maxOccurs="unbounded" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:complexType>
    <xs:choice>
      <xs:element name="OPTION_INTERVAL">
        <xs:annotation>
          <xs:documentation>271--0--NEW</xs:documentation>
          <xs:documentation>Version Beta 2.0 Build 4</xs:documentation>
        </xs:annotation>
        <xs:complexType>
          <xs:attribute name="OPERATOR" use="required">
            <xs:annotation>
              <xs:documentation xml:lang="DE">eigener Typ Operator
"IN" und "NIN" möglich
</xs:documentation>
              <xs:documentation>Version Beta 2.0 Build 4</xs:documentation>
              <xs:documentation>17.01.2013 - Version 2.2.5 Polsterbranche - von 5 auf 30stellig geändert</xs:documentation>
            </xs:annotation>
            <xs:simpleType>
              <xs:restriction base="operator">
                <xs:pattern value="in|nin" />
              </xs:restriction>
            </xs:simpleType>
          </xs:attribute>
          <xs:attribute name="OPTION_KEY_MIN" use="required">
            <xs:annotation>
              <xs:documentation>405--8/9/10--Max_Breite/Hoehe/Tiefe</xs:documentation>
              <xs:documentation>Version Beta 2.0 Build 3</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:attribute name="OPTION_KEY_MAX" use="required">
            <xs:annotation>
              <xs:documentation>405--8/9/10--Max_Breite/Hoehe/Tiefe</xs:documentation>
              <xs:documentation>Version Beta 2.0 Build 3</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="OPTION_LIST">
        <xs:complexType>
          <xs:sequence maxOccurs="unbounded">
            <xs:element name="OPTION_REF">
              <xs:complexType>
                <xs:attribute name="OPTION_KEY" use="required">
                  <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:sequence>
          <xs:attribute name="OPERATOR" use="required">
            <xs:annotation>
              <xs:documentation xml:lang="DE">eigener Typ Operator "IN" und "NOTIN" möglich</xs:documentation>
            </xs:annotation>
            <xs:simpleType>
              <xs:restriction base="operator">
                <xs:pattern value="in|nin" />
              </xs:restriction>
            </xs:simpleType>
          </xs:attribute>
        </xs:complexType>
      </xs:element>
      <xs:element name="OPTION_GROUP_REF_OP">
        <xs:annotation>
          <xs:documentation>271--0--NEW</xs:documentation>
          <xs:documentation>Version Beta 2.0 Build 4</xs:documentation>
        </xs:annotation>
        <xs:complexType>
          <xs:attribute name="OPTION_GROUP_KEY" use="required">
            <xs:annotation>
              <xs:documentation>271--0--NEW</xs:documentation>
              <xs:documentation>Version Beta 2.0 Build 4</xs:documentation>
              <xs:documentation>17.01.2013 - Version 2.2.5 Polsterbranche - von 5 auf 30stellig geändert</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:attribute name="OPERATOR" use="required">
            <xs:annotation>
              <xs:documentation xml:lang="DE">eigener Typ Operator
hier sind nur "IN" und "NOTIN" möglich, da es sich um eine Mengenoperation handelt
</xs:documentation>
              <xs:documentation>Version Beta 2.0 Build 4</xs:documentation>
              <xs:documentation>17.01.2013 - Version 2.2.5 Polsterbranche - von 5 auf 30stellig geändert</xs:documentation>
            </xs:annotation>
            <xs:simpleType>
              <xs:restriction base="operator">
                <xs:pattern value="in|nin" />
              </xs:restriction>
            </xs:simpleType>
          </xs:attribute>
        </xs:complexType>
      </xs:element>
      <xs:element name="OPTION_REF_OP">
        <xs:annotation>
          <xs:documentation>271--0--NEW</xs:documentation>
          <xs:documentation>Version Beta 2.0 Build 4</xs:documentation>
        </xs:annotation>
        <xs:complexType>
          <xs:attribute name="OPTION_KEY" use="required">
            <xs:annotation>
              <xs:documentation>271--0--NEW</xs:documentation>
              <xs:documentation>Version Beta 2.0 Build 4</xs:documentation>
              <xs:documentation>17.01.2013 - Version 2.2.5 Polsterbranche - von 5 auf 30stellig geändert</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:attribute name="OPERATOR" use="required">
            <xs:annotation>
              <xs:documentation xml:lang="DE">eigener Typ Operator

</xs:documentation>
              <xs:documentation>Version Beta 2.0 Build 4</xs:documentation>
              <xs:documentation>17.01.2013 - Version 2.2.5 Polsterbranche - von 5 auf 30stellig geändert</xs:documentation>
            </xs:annotation>
            <xs:simpleType>
              <xs:restriction base="operator">
                <xs:pattern value="eq|ne|gt|lt|ge|le" />
              </xs:restriction>
            </xs:simpleType>
          </xs:attribute>
        </xs:complexType>
      </xs:element>
      <xs:element name="FEATURE_REF_OP">
        <xs:annotation>
          <xs:documentation xml:lang="de">Darf nur bei ACTION RULES vorkommen
Action Rules sind DECISIONS, die einen ActionPart enthalten</xs:documentation>
          <xs:documentation />
        </xs:annotation>
        <xs:complexType>
          <xs:attribute name="FEATURE_NO" use="required">
            <xs:annotation>
              <xs:documentation>271--0--NEW</xs:documentation>
              <xs:documentation>Version Beta 2.0 Build 4</xs:documentation>
              <xs:documentation>17.01.2013 - Version 2.2.5 Polsterbranche - von 5 auf 30stellig geändert</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:attribute name="OPERATOR" use="required">
            <xs:annotation>
              <xs:documentation xml:lang="DE">eigener Typ Operator



</xs:documentation>
              <xs:documentation>Version Beta 2.0 Build 4</xs:documentation>
              <xs:documentation>17.01.2013 - Version 2.2.5 Polsterbranche - von 5 auf 30stellig geändert</xs:documentation>
            </xs:annotation>
            <xs:simpleType>
              <xs:restriction base="operator">
                <xs:pattern value="eq|ne" />
              </xs:restriction>
            </xs:simpleType>
          </xs:attribute>
        </xs:complexType>
      </xs:element>
      <xs:element name="MEASURE_VALUE_OP">
        <xs:annotation>
          <xs:documentation>1000--0--NEW</xs:documentation>
          <xs:documentation>Version Beta 2.4 Build 1</xs:documentation>
          <xs:documentation>01.07.2014 K. Richter</xs:documentation>
        </xs:annotation>
        <xs:complexType>
          <xs:attribute name="MEASURE_VALUE" type="xs:nonNegativeInteger" use="required">
            <xs:annotation>
              <xs:documentation>1000--0--NEW</xs:documentation>
              <xs:documentation>Version Beta 2.4 Build 1</xs:documentation>
              <xs:documentation>01.07.2014 K. Richter</xs:documentation>
            </xs:annotation>
          </xs:attribute>
          <xs:attribute name="OPERATOR" use="required">
            <xs:annotation>
              <xs:documentation xml:lang="DE">eigener Typ Operator</xs:documentation>
              <xs:documentation>Version Beta 2.4 Build 1</xs:documentation>
            </xs:annotation>
            <xs:simpleType>
              <xs:restriction base="operator">
                <xs:pattern value="eq|ne|gt|lt|ge|le" />
              </xs:restriction>
            </xs:simpleType>
          </xs:attribute>
        </xs:complexType>
      </xs:element>
      <xs:element name="MEASURE_INTERVAL">
        <xs:annotation>
          <xs:documentation>1000--0--NEW</xs:documentation>
          <xs:documentation>Version Beta 2.4 Build 1</xs:documentation>
          <xs:documentation>01.07.2014 K. Richter</xs:documentation>
        </xs:annotation>
        <xs:complexType>
          <xs:attribute name="OPERATOR" use="required">
            <xs:annotation>
              <xs:documentation xml:lang="DE">eigener Typ Operator "IN" und "NIN" möglich </xs:documentation>
              <xs:documentation>Version Beta 2.4 Build 1</xs:documentation>
            </xs:annotation>
            <xs:simpleType>
              <xs:restriction base="operator">
                <xs:pattern value="in|nin" />
              </xs:restriction>
            </xs:simpleType>
          </xs:attribute>
          <xs:attribute name="MEASURE_MIN" type="xs:nonNegativeInteger" use="required">
            <xs:annotation>
              <xs:documentation>405--8/9/10--Min_Breite/Hoehe/Tiefe</xs:documentation>
              <xs:documentation>Version Beta 2.4 Build 1</xs:documentation>
              <xs:documentation>01.07.2014 K. Richter</xs:documentation>
            </xs:annotation>
          </xs:attribute>
          <xs:attribute name="MEASURE_MAX" type="xs:nonNegativeInteger" use="required">
            <xs:annotation>
              <xs:documentation>405--8/9/10--Max_Breite/Hoehe/Tiefe</xs:documentation>
              <xs:documentation>Version Beta 2.4 Build 1</xs:documentation>
              <xs:documentation>01.07.2014 K. Richter</xs:documentation>
            </xs:annotation>
          </xs:attribute>
        </xs:complexType>
      </xs:element>
    </xs:choice>
    <xs:attribute name="FEATURE_NO" use="required">
      <xs:annotation>
        <xs:documentation>271--0--NEW</xs:documentation>
        <xs:documentation>Version Beta 2.0 Build 4</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:attribute name="REF_LEVEL" use="optional">
      <xs:annotation>
        <xs:documentation xml:lang="DE">1 = ROOT
2 = PARENT
3 = SELF
Standardfall ist SELF, wenn kein REF-Level angegeben ist</xs:documentation>
        <xs:documentation xml:lang="DE">12.02.2015 K. Richter</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:restriction base="xs:nonNegativeInteger">
          <xs:maxInclusive value="3" />
          <xs:minInclusive value="1" />
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
  </xs:complexType>
</xs:element>
See Also
OPTION_COMBINATION ElementDECISION ElementDECISIONS ElementFEATURE_DEFINITION ElementT_NEW_CATALOG ElementIDMW 2.0 XML-Schema Dokumentation