Nanook

Nanook

  • Docs
  • API
  • GitHub

›Model Decision

Logger

  • Logger Interface
  • Logger Memory

Model

  • Table Interface
  • Testcase Definition Interface
  • Todo Meta
  • Todo Static
  • Todo Generator
  • Todo Reference

Model Decision

  • Base Section Definition
  • Base Single Row Section Definition
  • Execute Section Definition
  • Never Execute Section Definition
  • Multiplicity Section Definition
  • Summary Section Definition
  • Field Section Definition
  • Field Sub Section Definition
  • Multi Row Section Definition
  • Tag Section Definition
  • Filter Section Definition
  • Generator Switch Section Definition
  • Testcase Definition Decision
  • Table Decision
  • Section Types
  • Validate Double
  • Validate Helper
  • Validate Missing

Model Matrix

  • Testcase Definition Matrix
  • Table Matrix

Importer xlsx

  • Importer xlsx

File Processor

  • Importer Interface
  • Parser Interface
  • Interface Filter
  • Simple Array Filter
  • Simple Array Ignore Filter
  • Parser Constants
  • Parser Decision Constants
  • Parser Decision
  • Parser Matrix Constants
  • Parser Matrix
  • Parser Specification Constants
  • Parser Specification
  • Parser Specification Converter

Data Generator

  • Data Generator Interface
  • Data Generator Base
  • Service Registry
  • Generator Faker

Processor

  • Interface Processor
  • Interface Writer
  • Node
  • Reference
  • Testcase Data
  • Processor
  • writeMetaData
  • writeStaticData
  • utilCartesian

Base Section Definition

BaseSectionDefinition

Base class for all the sections used in the decision table. A decision table is devided in different sections. Each section has different funktionality.

Kind: global class

  • BaseSectionDefinition
    • .sectionType
    • .name
    • .mandatory
    • .multiple
    • .headerRow
    • .dataRows
    • .multiInstancesAllowed
    • .isHeader()
    • .createNewRow() ⇒ string
    • .getRowIds() ⇒ array
    • .validate() ⇒ array

baseSectionDefinition.sectionType

The type of a section. To be overwrite by a sub class.

Kind: instance property of BaseSectionDefinition

baseSectionDefinition.name

The name of this section.

Kind: instance property of BaseSectionDefinition

baseSectionDefinition.mandatory

Defines if the section must have at least one value.

Kind: instance property of BaseSectionDefinition

baseSectionDefinition.multiple

defines if this section may have more than one row.

Kind: instance property of BaseSectionDefinition

baseSectionDefinition.headerRow

This id is used to identify a row or section in the model. All rows and columns are identified by auch an id.

Kind: instance property of BaseSectionDefinition

baseSectionDefinition.dataRows

Stores the IDs of the data rows. Not the rows itself.

Kind: instance property of BaseSectionDefinition

baseSectionDefinition.multiInstancesAllowed

If set to false only one section of this type is allowed per model.

Kind: instance property of BaseSectionDefinition

baseSectionDefinition.isHeader()

Returns true if the given row id is from a header row.

Kind: instance method of BaseSectionDefinition

baseSectionDefinition.createNewRow() ⇒ string

Creates a new row for this section. Generates a new UUID and add it to the row array.

Kind: instance method of BaseSectionDefinition
Returns: string - id The new created row id

baseSectionDefinition.getRowIds() ⇒ array

Return an array with all the row IDs of this section.

Kind: instance method of BaseSectionDefinition
Returns: array - ids An array of row ids

baseSectionDefinition.validate() ⇒ array

Validates this section definition. Checks that the name of the section exists.

Kind: instance method of BaseSectionDefinition
Returns: array - issues An array of issues found

← Todo ReferenceBase Single Row Section Definition →
  • BaseSectionDefinition
    • baseSectionDefinition.sectionType
    • baseSectionDefinition.name
    • baseSectionDefinition.mandatory
    • baseSectionDefinition.multiple
    • baseSectionDefinition.headerRow
    • baseSectionDefinition.dataRows
    • baseSectionDefinition.multiInstancesAllowed
    • baseSectionDefinition.isHeader()
    • baseSectionDefinition.createNewRow() ⇒ string
    • baseSectionDefinition.getRowIds() ⇒ array
    • baseSectionDefinition.validate() ⇒ array
Nanook
Docs
TutorialsGuide
More
ImprintPrivacy PolicyGitHubStar
Copyright © 2022 Nanook.io