Class: BooleanMapper
Implements​
MicroAttributeMapper
<boolean
|string
,boolean
>
Constructors​
constructor​
• new BooleanMapper()
Methods​
deserialize​
â–¸ deserialize(dataType
, value
): boolean
Parameters​
Name | Type |
---|---|
dataType | string |
value | string |
Returns​
boolean
Implementation of​
MicroAttributeMapper.deserialize
Defined in​
ng-application-profile/src/lib/services/mappers/boolean-mapper.service.ts:10
serialize​
â–¸ serialize(dataType
, value
): boolean
Parameters​
Name | Type |
---|---|
dataType | string |
value | boolean |
Returns​
boolean
Implementation of​
MicroAttributeMapper.serialize
Defined in​
ng-application-profile/src/lib/services/mappers/boolean-mapper.service.ts:18
supportDeserialize​
â–¸ supportDeserialize(dataType
, value
): boolean
Parameters​
Name | Type |
---|---|
dataType | string |
value | string |
Returns​
boolean
Implementation of​
MicroAttributeMapper.supportDeserialize
Defined in​
ng-application-profile/src/lib/services/mappers/boolean-mapper.service.ts:6
supportSerialize​
â–¸ supportSerialize(dataType
, value
): boolean
Parameters​
Name | Type |
---|---|
dataType | string |
value | boolean |
Returns​
boolean
Implementation of​
MicroAttributeMapper.supportSerialize
Defined in​
ng-application-profile/src/lib/services/mappers/boolean-mapper.service.ts:14
toBoolean​
â–¸ Private
toBoolean(val
): boolean
Parameters​
Name | Type |
---|---|
val | string | boolean |
Returns​
boolean
Defined in​
ng-application-profile/src/lib/services/mappers/boolean-mapper.service.ts:22