SFSDataType
The costants defining the data types supported by SFSObject and SFSArray classes.
new SFSDataType()
Developers never istantiate the SFSDataType class: only use its static properties.
Properties
BOOL number
A boolean value.
BOOL_ARRAY number
An array of boolean values.
BYTE number
A byte (8 bit) value.
BYTE_ARRAY number
An array of byte values.
DOUBLE number
A double precision number (64 bit) value.
DOUBLE_ARRAY number
An array of double precision number values.
FLOAT number
A floating point number (32 bit) value.
FLOAT_ARRAY number
An array of floating point number values.
INT number
An integer (32 bit) value.
INT_ARRAY number
A short integer (16 bit) value.
LONG number
A long integer value.
IMPORTANT: in JavaScript, long integer numbers are limited to Number.MAX_SAFE_INTEGER (positive and negative, inclusive).
This is inconsistent with the max and min Long values available in Java, which are down to -2^63
and up to 2^63 - 1
.
So if you are developing your server side Extension in Java, make sure you take this limitation into account when dealing with integers.
LONG_ARRAY number
An array of long integer values.
IMPORTANT: in JavaScript, long integer numbers are limited to Number.MAX_SAFE_INTEGER (positive and negative, inclusive).
This is inconsistent with the max and min Long values available in Java, which are down to -2^63
and up to 2^63 - 1
.
So if you are developing your server side Extension in Java, make sure you take this limitation into account when dealing with integers.
NULL number
A null
value.
SFS_ARRAY number
A nested SFSArray object.
- See also
- SFSArray
SFS_OBJECT number
A nested SFSObject object.
- See also
- SFSObject
SHORT number
A short integer (16 bit) value.
SHORT_ARRAY number
An array of short integer values.
TEXT number
A UTF-8 encoded string value, with length up to 2 GBytes.
UTF_STRING number
A UTF-8 encoded string value, with length up to 32 KBytes.
UTF_STRING_ARRAY number
An array of string values.