Use case actor

This artifact is the actor within a use case. Again, having a separate page facilitates the references to the use case.

Schema

nodes:requirement inherits from nodes:shortId and nodes:versionable. Inheriting nodes:versionable will create a new version each time the node is saved. Inheriting from nodes:shortId will generate a unique property nodes:id the node is created the first time. It will use the value constraint for the nodes:baseId property for a prefix, i.e. it will generate names like ACT-1504.

The node will usually have child node nodes:description. This is a nodes:htmlDiv, i.e. an HTML DIV used to describe the actor and its role.

As custom_nodestypes.xml:

<nodeType
   hasOrderableChildNodes="true"
   isMixin="false"
   name="nodes:useCase"
   primaryItemName="">
  <supertypes>
   <supertype>nodes:requirement</supertype>
  </supertypes>
  <propertyDefinition
    autoCreated="false"
    mandatory="false"
    multiple="true"
    name="nodes:actors"
    onParentVersion="VERSION"
    protected="false"
    requiredType="Reference">
   <valueConstraints>
    <valueConstraint>nodes:useCaseActor</valueConstraint>
   </valueConstraints>
  </propertyDefinition>
  <childNodeDefinition
    autoCreated="false"
    defaultPrimaryType="nodes:useCases"
    mandatory="false"
    name="nodes:exceptionalCases"
    onParentVersion="VERSION"
    protected="false"
    sameNameSiblings="false">
   <requiredPrimaryTypes>
    <requiredPrimaryType>nodes:useCases</requiredPrimaryType>
   </requiredPrimaryTypes>
  </childNodeDefinition>
 </nodeType>

Template

The template looks like