NanookNanook
  • [ DOCS ]
  • [ API ]
  • [ BLOG ]
  • [ 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 ] Tutorials Guide
[ MORE ] About Imprint Privacy Policy GitHub Manage Cookies
© 2018-2026 NANOOK.XHUB.IO — An Open Source Project by BeeBack UG.
[ COOKIE PREFERENCES ]

We use cookies to analyze site usage and improve your experience. You can choose which cookies to allow below. See our Privacy Policy for details.

ESSENTIALAlways active
Provider nanook.xhub.io (First Party)
Cookies nanook-theme — Stores your theme preference (CRT/INK)
Duration Persistent (localStorage)
Purpose Remember your display preferences across visits
ANALYTICS
Provider Google LLC (Google Analytics 4)
Cookies _ga, _ga_PMNJR2G9ZH — Distinguish unique visitors and sessions
Duration _ga: 2 years, _ga_*: 2 years
Purpose Measure site usage, page views, and traffic sources to improve the site. IP addresses are anonymized.
Privacy Google Privacy Policy