Class EntityAction

Applied Stereotypes:
XSDcomplexType, union

Defines an action that adds or deletes a referred entity.
Entities to be added or deleted must be defined in the Entities section.
An entity can only exist in one copy. Adding an already active entity will have no effect, neither will deleting an already inactive entity.

Used in:
GlobalAction
Properties
  Name Type Cardinality AppliedStereotypes Description
  entityRef Entity 1..1 nameRef, XSDattribute Name of the reference entity.
  addEntityAction AddEntityAction 1..1 xor, XSDelement Action that adds the reference entity to the scenario.
  deleteEntityAction DeleteEntityAction 1..1 xor, XSDelement Action that deletes the reference entity from the scenario.
XSD 1.3 Representation


<xsd:complexType name="EntityAction">
<xsd:choice>
<xsd:element name="AddEntityAction" type="AddEntityAction"/>
<xsd:element name="DeleteEntityAction" type="DeleteEntityAction"/>
</xsd:choice>
<xsd:attribute name="entityRef" type="String" use="required"/>
</xsd:complexType>

Change log from version 1.2
  • Property 'addEntityAction'. Lower cardinality changed.
    • New Value
      1
      From 1.2.0
      0
  • Property 'deleteEntityAction'. Lower cardinality changed.
    • New Value
      1
      From 1.2.0
      0
Stereotype Details Information
  • Class
    • XSDcomplexType [modelGroup: "choice"; mixed: "false"]
    • union
  • Property entityRef
    • nameRef [xsdType: "string"]
    • XSDattribute
  • Property addEntityAction
    • xor
    • XSDelement [position: "2"]
  • Property deleteEntityAction
    • xor
    • XSDelement [position: "3"]

To XSD