Skip to main content

AbstractFactory

Classes

abstract AbstractObjectPropertyFactory

Extended by

Type Parameters

Type Parameter
T

Implements

Constructors

Constructor
new AbstractObjectPropertyFactory<T>(abstractObjectClass, derivedClassesData): AbstractObjectPropertyFactory<T>;
Parameters
ParameterType
abstractObjectClassFunction
derivedClassesDataobject[]
Returns

AbstractObjectPropertyFactory<T>

Properties

type
abstract type: TPropertyDataTypes;
Implementation of

IPropertyFactory.type

Accessors

derivedTypes
Get Signature
get derivedTypes(): string[];
Returns

string[]

factoryClass
Get Signature
get factoryClass(): Function;
Returns

Function

Implementation of

IPropertyFactory.factoryClass

Methods

getDefaultValue()
getDefaultValue(type?): T;
Parameters
ParameterType
type?string
Returns

T

Implementation of

IPropertyFactory.getDefaultValue

Interfaces

IPropertyFactory

Properties

factoryClass
factoryClass: Function;
type
type: TPropertyDataTypes;

Methods

getDefaultValue()
getDefaultValue(subClass?): any;
Parameters
ParameterType
subClass?string
Returns

any

Was this page helpful?