Home > Class Reference > ENSLIB namespace > %Library.DataType
Private  Storage   

%Library.DataType


datatype class %Library.DataType

ODBC Type: VARCHAR

Cache datatype superclass.

Note that data types do not have to inherit from this class in order to be a data type but this is used by the Cache built in data types.

Inventory


Parameters Properties Methods Queries Indices ForeignKeys Triggers
1 1


Summary


Methods
IsValid

Subclasses
%Dictionary.CacheClassname %Dictionary.CacheIdentifier %Dictionary.SQLIdentifier
%Library.Binary %Library.Currency %Library.Date
%Library.Decimal %Library.Double %Library.EnumString
%Library.Float %Library.InformixTimeStamp %Library.Integer
%Library.Name %Library.Numeric %Library.String
%Library.StringTimeStamp %Library.Time %Library.TimeStamp
%Library.UTC %Library.UniqueIdentifier %MV.Date

Parameters


• parameter INDEXNULLMARKER;
Override this parameter value to specify what value should be used as a null marker when a property of the type is used in a subscript of an index map. The default null marker used is -1E14, if none is specfied for the datatype. However %Library.PosixTime and %Library.BigInt datatypes could have values that collate before -1E14, and this means null values would not sort before all non-NULL values.

Methods


• abstract classmethod IsValid(%val As %CacheString) as %Status
Return $$$OK if the value is valid for the datatype, or an error code otherwise.