### File

`src/builder/group-builder.ts`

### Index

###### Properties
Protected questions
###### Methods
Public addQuestion Public build

### Constructor

`constructor(code: string, description: string)`
Defined in src/builder/group-builder.ts:6
Parameters :
Name | Type | Optional | Description
code | `string` |  |
description | `string` |  |

### Methods

Public addQuestion
`addQuestion(question: QuestionListType)`
Defined in src/builder/group-builder.ts:13
Parameters :
Name | Type | Optional | Description
question | `QuestionListType` |  |
Returns : `void`

Public build
`build()`
Defined in src/builder/group-builder.ts:15
Returns : `Group<any>`

### Properties

Protected questions
`questions: `QuestionListType[]``
Type : `QuestionListType[]`
Defined in src/builder/group-builder.ts:6

    import { Group } from '../group';
    import { Question } from '../question';

    export abstract class GroupBuilder<QuestionListType> {

      protected questions: QuestionListType[];

      public constructor(
        protected code: string,
        protected description: string
      ) { }

      public abstract addQuestion(question: QuestionListType): void;

      public abstract build(): Group<any>;
    }

# results matching ""

# No results matching ""