role

With this attribute the role of the QuickFix can be set manually.

The role of a QuickFix describes the type of change which it makes. If the role is not set manually, the role is the type of the used activity element ("add", "delete", "replace" or "stringReplace"). If two different activity elements are used in a QuickFix, the role is automatically "mix".

default
Depends on which activity element is used by the QuickFix.

Attribute Information

Used By

Element sqf:fix

Source

<xs:attribute name="role" use="optional">
  <xs:annotation>
    <xs:documentation>With this attribute the role of the QuickFix can be set manually.</xs:documentation>
    <xs:documentation>The role of a QuickFix describes the type of change which it makes. If the role is not set manually, the role is the type of the used activity element ("add", "delete", "replace" or "stringReplace"). If two different activity elements are used in a QuickFix, the role is automatically "mix".</xs:documentation>
    <xs:documentation source="default">Depends on which activity element is used by the QuickFix.</xs:documentation>
  </xs:annotation>
  <xs:simpleType>
    <xs:restriction base="xs:string">
      <xs:enumeration value="replace"/>
      <xs:enumeration value="add"/>
      <xs:enumeration value="stringReplace"/>
      <xs:enumeration value="delete"/>
      <xs:enumeration value="mix"/>
    </xs:restriction>
  </xs:simpleType>
</xs:attribute>

Sample