Object Class

The Object class is the ultimate superclass of all other classes in PSL. Because every other class is a subclass of the Object class, all methods accessible from the Object class are accessible from all other classes. You should, however, override some of these methods per subclass. For example, every class should provide its own implementation of the toString( ) method, so that it can provide an appropriate string representation.

Ancestor

None

Descendants

Class
Db

Primitive

Runtime

Reference

Methods

Description

data

Deprecated. Returns the status of a node in an array of objects.

exists

Returns an indication of whether the object exists (i.e., has been instantiated).

getClass

Returns a reference to the Class object that describes the class of this object.

isPrimitive

Returns an indication of whether the object is a primitive class.

order

Returns the next subscript in an array of objects.

query

Returns the next node that contains data in an array of objects.

toString

Returns a generic string representation of an object.