Skip to main content

IObject

Short summary

Every Coding Ninja Monkey class must implement the interface :ref:IObject. This makes it possible to keep different classes very general, such as lists.

AccessAbstractFinalExtendsImplements
-NoNo__SYSTEM.IQueryInterface, IComparable, ICloneable-

UML Diagram

Properties

address

Type: __XWORD

This property returns the address of the concrete object,

className

Type: ClassName

This abstract property returns the class name of the concrete object,

hashcode

Type: Hashcode

This property returns the unique hash code of the object.

isObjectAlive

Type: BOOL

This property returns true if the object is valid.

name

Type: ObjectName

This property returns the full qualified name of the concrete object,

Methods

isEqual

  • Parameters:
    • object (IObject): foreign objet to check
  • Return type: BOOL

This method is used to check if two objects are equal.

isObjectNull

  • Parameters:
    • object (IObject): foreign object to check
  • Return type: BOOL

This method is a helper method to check if an object is NULL.

isObjectValid

  • Parameters:
    • object (IObject): foreign object to check
  • Return type: BOOL

This method is a helper method to check if an object is valid (not NULL).

Code

Declaration

INTERFACE IObject EXTENDS __SYSTEM.IQueryInterface, IComparable, ICloneable