Skip to main content

Class: ApHelper

Constructors​

constructor​

• new ApHelper(logger)

Parameters​

NameType
loggerLogger

Defined in​

ng-application-profile/src/lib/services/ap-helper.service.ts:27

Properties​

apMap​

• Private apMap: WeakMap<ApplicationProfile, number>

Defined in​

ng-application-profile/src/lib/services/ap-helper.service.ts:23


weakMapCount​

• Private weakMapCount: number = 0

Defined in​

ng-application-profile/src/lib/services/ap-helper.service.ts:25

Methods​

getConcreteType​

â–¸ getConcreteType(ap, classIds): string

Parameters​

NameType
apApplicationProfile
classIdsMany<string>

Returns​

string

Defined in​

ng-application-profile/src/lib/services/ap-helper.service.ts:126


getRangeRule​

â–¸ getRangeRule(profile, key): RangeRule

Parameters​

NameType
profileTypeProfile
keystring

Returns​

RangeRule

Defined in​

ng-application-profile/src/lib/services/ap-helper.service.ts:56


getRules​

â–¸ getRules(ap, types, key?): Rule<string, unknown>[]

Parameters​

NameType
apApplicationProfile
typesMany<string>
key?string

Returns​

Rule<string, unknown>[]

Defined in​

ng-application-profile/src/lib/services/ap-helper.service.ts:105


getTypeProfile​

â–¸ getTypeProfile(ap, classIds): TypeProfile

Parameters​

NameType
apApplicationProfile
classIdsMany<string>

Returns​

TypeProfile

Defined in​

ng-application-profile/src/lib/services/ap-helper.service.ts:38


hasAttribute​

â–¸ hasAttribute(profile, key): boolean

Parameters​

NameType
profileTypeProfile
keystring

Returns​

boolean

Defined in​

ng-application-profile/src/lib/services/ap-helper.service.ts:52


isAttribute​

â–¸ isAttribute(profile, key): boolean

Parameters​

NameType
profileTypeProfile
keystring

Returns​

boolean

Defined in​

ng-application-profile/src/lib/services/ap-helper.service.ts:66


isReference​

â–¸ isReference(profile, key): boolean

Parameters​

NameType
profileTypeProfile
keystring

Returns​

boolean

Defined in​

ng-application-profile/src/lib/services/ap-helper.service.ts:72


isRequiredAttribute​

â–¸ isRequiredAttribute(attr): boolean

Parameters​

NameType
attrAttributeProfile

Returns​

boolean

Defined in​

ng-application-profile/src/lib/services/ap-helper.service.ts:95


isSingle​

â–¸ isSingle(profile, attributeKey): boolean

Parameters​

NameType
profileTypeProfile
attributeKeystring

Returns​

boolean

Defined in​

ng-application-profile/src/lib/services/ap-helper.service.ts:78


isSingleAttribute​

â–¸ isSingleAttribute(attr): boolean

Parameters​

NameType
attrAttributeProfile

Returns​

boolean

Defined in​

ng-application-profile/src/lib/services/ap-helper.service.ts:83