Object Class [AX 2012]

The Object class is the base class from which all other classes are derived.

class Object

Run On


Gg922592.pubmethod(en-us,AX.60).gif cancelTimeOut Cancels a previous method call to the setTimeOut method.
Gg922592.pubmethod(en-us,AX.60).gif equal Determines whether the specified object is equal to the current one.
Gg922592.pubmethod(en-us,AX.60).gif getTimeOutTimerHandle Returns the timer handle for the object.
Gg922592.pubmethod(en-us,AX.60).gif handle Retrieves the handle of the class of the object.
Gg922592.pubmethod(en-us,AX.60).gif new Initializes a new instance of the Object class.
Gg922592.pubmethod(en-us,AX.60).gif notify Releases the hold on an object that has called the wait method on this object.
Gg922592.pubmethod(en-us,AX.60).gif notifyAll Releases a lock on the object that was issued by the wait method on this object.
Gg922592.pubmethod(en-us,AX.60).gif objectOnServer Determines whether the object is on a server.
Gg922592.pubmethod(en-us,AX.60).gif owner Returns the instance that owns the object.
Gg922592.pubmethod(en-us,AX.60).gif setTimeOut Sets up the scheduled execution of a specified method.
Gg922592.pubmethod(en-us,AX.60).gif toString Returns a string that represents the current object.
Gg922592.pubmethod(en-us,AX.60).gif usageCount Returns the current number of references, that is, the value of the reference counter, that the object has.
Gg922592.pubmethod(en-us,AX.60).gif wait Pauses a process.
Gg922592.pubmethod(en-us,AX.60).gif xml Returns an XML string that represents the current object.

Methods in the Object class can be called for any object.

The Object class is used to allow assignment and equality checks to be performed without the developer having to know the actual type of the object.

The methods can be grouped into three groups:

  • Time out methods - can be used to activate a method after a specified period of time has passed.

  • Process methods, such as the Wait, Notify, and NotifyAll method - used to control process flow and to wait for another object to finish its task.

  • Class methods - return basic information about the object.

Object Class

Community Additions