src/builder/group-builder.ts
Properties |
|
Methods |
|
constructor(code: string, description: string)
|
Defined in src/builder/group-builder.ts:6
|
Public addQuestion | ||||||||
addQuestion(question: QuestionListType)
|
||||||||
Defined in src/builder/group-builder.ts:13
|
||||||||
Parameters :
Returns :
void
|
Public build |
build()
|
Defined in src/builder/group-builder.ts:15
|
Returns :
Group<any>
|
Protected questions |
questions:
|
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>;
}