Provides a way to associate any value with a datatype lookupkey based on its actual datatype.
This interface is implemented for number as "Number", Date as "Date",
Boolean as "Boolean", and String as "String".
Register your implementation with ValidationServices.dataTypeIdentifierService.
The unique lookup key you will use to identify this native data type.
Methods
supportsValue
supportsValue(value): boolean
Determines if the value is identified as a match and maps to DataTypeLookupKey.
Parameters
value: any
Returns boolean
sampleValue
sampleValue(): any
Returns a sample value that is representative of the DataTypeLookupKey.
Used by ConfigAnalysis to get a value that can be passed into services
that take a live value, such as converters, parsers and formatters.
Provides a way to associate any value with a datatype lookupkey based on its actual datatype. This interface is implemented for number as "Number", Date as "Date", Boolean as "Boolean", and String as "String". Register your implementation with ValidationServices.dataTypeIdentifierService.