Primitive Classes

A Primitive class is a class that contains a single property (its value). A reference to the identifier is a reference to the value of the object. The value of a primitive class object is stored in the variable used as its identifier. The Primitive class is both an individual class containing methods, as well as a grouping of classes. The Primitive class contains methods that are inherited (and therefore available) to all the other classes within the Primitive class grouping.

The following guidelines apply to primitive classes:

The following primitive classes exist in PSL:

Class

Description

Blob

Primitive class for the Blob column. This class does not provide additional methods.

Boolean

Primitive class for Booleans. This class does not provide additional methods.

ByteString

Primitive class that treats its value as a sequence of bytes instead of as a sequence of characters.

Date

Contains methods used to format date fields for output, or otherwise manipulate dates (e.g., getting months, handle frequencies, etc.).

Memo

Primitive class for the Memo column. This class does not provide additional methods.

Number

Contains methods that format numbers and access individual digits within a number.

Primitive

The superclass of all classes that have a primitive data type.

String

Contains methods used to manipulate data defined as String data type.

Time

Primitive class for the Time column.