Class: ApHelper
Constructors​
constructor​
• new ApHelper(logger
)
Parameters​
Name | Type |
---|---|
logger | Logger |
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​
Name | Type |
---|---|
ap | ApplicationProfile |
classIds | Many <string > |
Returns​
string
Defined in​
ng-application-profile/src/lib/services/ap-helper.service.ts:126
getRangeRule​
â–¸ getRangeRule(profile
, key
): RangeRule
Parameters​
Name | Type |
---|---|
profile | TypeProfile |
key | string |
Returns​
Defined in​
ng-application-profile/src/lib/services/ap-helper.service.ts:56
getRules​
â–¸ getRules(ap
, types
, key?
): Rule
<string
, unknown
>[]
Parameters​
Name | Type |
---|---|
ap | ApplicationProfile |
types | Many <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​
Name | Type |
---|---|
ap | ApplicationProfile |
classIds | Many <string > |
Returns​
Defined in​
ng-application-profile/src/lib/services/ap-helper.service.ts:38
hasAttribute​
â–¸ hasAttribute(profile
, key
): boolean
Parameters​
Name | Type |
---|---|
profile | TypeProfile |
key | string |
Returns​
boolean
Defined in​
ng-application-profile/src/lib/services/ap-helper.service.ts:52
isAttribute​
â–¸ isAttribute(profile
, key
): boolean
Parameters​
Name | Type |
---|---|
profile | TypeProfile |
key | string |
Returns​
boolean
Defined in​
ng-application-profile/src/lib/services/ap-helper.service.ts:66
isReference​
â–¸ isReference(profile
, key
): boolean
Parameters​
Name | Type |
---|---|
profile | TypeProfile |
key | string |
Returns​
boolean
Defined in​
ng-application-profile/src/lib/services/ap-helper.service.ts:72
isRequiredAttribute​
â–¸ isRequiredAttribute(attr
): boolean
Parameters​
Name | Type |
---|---|
attr | AttributeProfile |
Returns​
boolean
Defined in​
ng-application-profile/src/lib/services/ap-helper.service.ts:95
isSingle​
â–¸ isSingle(profile
, attributeKey
): boolean
Parameters​
Name | Type |
---|---|
profile | TypeProfile |
attributeKey | string |
Returns​
boolean
Defined in​
ng-application-profile/src/lib/services/ap-helper.service.ts:78
isSingleAttribute​
â–¸ isSingleAttribute(attr
): boolean
Parameters​
Name | Type |
---|---|
attr | AttributeProfile |
Returns​
boolean
Defined in​
ng-application-profile/src/lib/services/ap-helper.service.ts:83