CORBAObject object

The CORBAObject object gives PowerBuilder clients access to several standard CORBA methods. All proxy objects generated for EAServer components using the EAServer proxy generator are descendants of CORBAObject.

Properties

CORBAObject property

Datatype

Description

ClassDefinition

PowerObject

An object of type PowerObject containing information about the class definition of the object or control.

Events

CORBAObject event

Occurs

Constructor

When the object is created

Destructor

When the object is destroyed

Functions

CORBAObject function

Datatype returned

Description

ClassName

String

Returns the name assigned to the object

_Is_A

Boolean

Checks to see whether a CORBA object is an instance of a class that implements a particular interface

_Narrow

Long

Converts a CORBA object reference from a general super-type to a more specific sub-type

GetContextService

Integer

Creates a reference to a context-specific instance of the specified service

GetParent

PowerObject

Returns a reference to the name of the parent object

PostEvent

Boolean

Adds an event to the end of the message queue for the object

TriggerEvent

Integer

Triggers a specific event in the object and executes the script for the event

TypeOf

Object

Returns the type of the object