new SFSDataType()

Developers never istantiate the SFSDataType class: only use its static properties.

See also
SFSObject
SFSArray

Properties

constant static

BOOL  number

A boolean value.

constant static

BOOL_ARRAY  number

An array of boolean values.

constant static

BYTE  number

A byte (8 bit) value.

constant static

BYTE_ARRAY  number

An array of byte values.

constant static

DOUBLE  number

A double precision number (64 bit) value.

constant static

DOUBLE_ARRAY  number

An array of double precision number values.

constant static

FLOAT  number

A floating point number (32 bit) value.

constant static

FLOAT_ARRAY  number

An array of floating point number values.

constant static

INT  number

An integer (32 bit) value.

constant static

INT_ARRAY  number

A short integer (16 bit) value.

constant static

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.

constant static

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.

constant static

NULL  number

A null value.

constant static

SFS_ARRAY  number

A nested SFSArray object.

See also
SFSArray
constant static

SFS_OBJECT  number

A nested SFSObject object.

See also
SFSObject
constant static

SHORT  number

A short integer (16 bit) value.

constant static

SHORT_ARRAY  number

An array of short integer values.

constant static

TEXT  number

A UTF-8 encoded string value, with length up to 2 GBytes.

constant static

UTF_STRING  number

A UTF-8 encoded string value, with length up to 32 KBytes.

constant static

UTF_STRING_ARRAY  number

An array of string values.