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

Field Section Definition

FieldSectionDefinition ⇐ BaseSectionDefinition

This is the most important section for a decision table. This section is devided into 1..n sub sections. It is the section containing the relevant data.

Kind: global class
Extends: BaseSectionDefinition

  • FieldSectionDefinition ⇐ BaseSectionDefinition
    • .subSections
    • .tdgMandatory
    • .mandatory
    • .validate() ⇒ array
    • .createNewRow() ⇒ string
    • .createNewField(fieldName) ⇒ string

fieldSectionDefinition.subSections

{object} The subSections of this fieldSection. The section definitions stored by there id

Kind: instance property of FieldSectionDefinition

fieldSectionDefinition.tdgMandatory

Defines if the dataGenerator column is mandatory. Default=false.

Kind: instance property of FieldSectionDefinition

fieldSectionDefinition.mandatory

Defines if the section must have at least one value. Default=true

Kind: instance property of FieldSectionDefinition

fieldSectionDefinition.validate() ⇒ array

Validates this section definition. A fieldSection must have at least one subSection.

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

fieldSectionDefinition.createNewRow() ⇒ string

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

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

fieldSectionDefinition.createNewField(fieldName) ⇒ string

Adds a new empty field

Kind: instance method of FieldSectionDefinition
Returns: string - subSection The new created sub section

ParamTypeDescription
fieldNamestringThe name of the new field
← Summary Section DefinitionField Sub Section Definition →
  • FieldSectionDefinition ⇐ BaseSectionDefinition
    • fieldSectionDefinition.subSections
    • fieldSectionDefinition.tdgMandatory
    • fieldSectionDefinition.mandatory
    • fieldSectionDefinition.validate() ⇒ array
    • fieldSectionDefinition.createNewRow() ⇒ string
    • fieldSectionDefinition.createNewField(fieldName) ⇒ string
Nanook
Docs
TutorialsGuide
More
ImprintPrivacy PolicyGitHubStar
Copyright © 2022 Nanook.io