EnumTypeConverter Class
Enum Type Converter.
Extends
Implements
Methods
Name | Description | |
---|---|---|
convertPropertyToString(propertyDescription: PropertyDescription, value?: Primitives.Enum): string | Promise<string> | ||
sortCompare(a: Primitives.Enum, b: Primitives.Enum, ignoreCase?: false | true): number |
Inherited methods
Name | Inherited from | Description |
---|---|---|
convertFromString(_value: string): ConvertedPrimitives.Value | undefined | Promise<ConvertedPrimitives.Value | undefined> | TypeConverter | |
convertFromStringToPropertyValue(value: string, _propertyRecord?: PropertyRecord): Promise<PropertyValue> | TypeConverter | |
convertToString(value?: Primitives.Value): string | Promise<string> | TypeConverter | |
isEqualTo(valueA: Primitives.Value, valueB: Primitives.Value): boolean | TypeConverter | |
isNotEqualTo(valueA: Primitives.Value, valueB: Primitives.Value): boolean | TypeConverter | |
isNotNull(value: Primitives.Value): boolean | TypeConverter | |
isNull(value: Primitives.Value): boolean | TypeConverter |
Inherited properties
Name | Type | Inherited from | Description |
---|---|---|---|
isBooleanType Accessor ReadOnly | boolean | TypeConverter | |
isLessGreaterType Accessor ReadOnly | boolean | TypeConverter | |
isNullableType Accessor ReadOnly | boolean | TypeConverter | |
isStringType Accessor ReadOnly | boolean | TypeConverter |
Defined in
Last Updated: 08 January, 2020