Class that holds constants for all primitive data types.
Expanded class hierarchy of Primitive
final class Primitive {
/**
* The BOOLEAN primitive data type.
*/
const BOOLEAN = 1;
/**
* The STRING primitive data type.
*/
const STRING = 2;
/**
* The INTEGER primitive data type.
*/
const INTEGER = 3;
/**
* The FLOAT primitive data type.
*/
const FLOAT = 4;
/**
* The DATE primitive data type.
*/
const DATE = 5;
/**
* The DURATION primitive data type.
*/
const DURATION = 6;
/**
* The URI primitive data type.
*/
const URI = 7;
/**
* The BINARY primitive data type.
*/
const BINARY = 8;
}
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
Primitive:: |
constant | The BOOLEAN primitive data type. | ||
Primitive:: |
constant | The STRING primitive data type. | ||
Primitive:: |
constant | The INTEGER primitive data type. | ||
Primitive:: |
constant | The FLOAT primitive data type. | ||
Primitive:: |
constant | The DATE primitive data type. | ||
Primitive:: |
constant | The DURATION primitive data type. | ||
Primitive:: |
constant | The URI primitive data type. | ||
Primitive:: |
constant | The BINARY primitive data type. |