Use case

A use case is a specific requirement describing a functional feature element.

It specifies, which actors will take part in the use case and lists the exceptional cases, that are possible.

Schema

nodes:useCase inherits from nodes:requirement. In addition to the requirement a node may have propert nodes:useCaseActor, a multiple value property which references a nodes:useCaseActor.

The node may have additional child node nodes:exceptionalCase. This is a nodes:useCase, that describes an exceptional case of the use case, i.e. an error condition.

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

Note, that this demonstrates the use of a page specific CSS file.