Inspecting Java Objects

Java objects can appear in the data grid of a table or view, or in SQL query results. To inspect Java objects:

  1. Select the object(s) in the data grid.
  2. Click Inspect.

    The Object Inspector window appears.

This section covers the following topics:

Java Object Fields

To view an object's fields, click the "+" sign that appears to the left of the class name.

The names of the object's fields appear. If a field is public, its contents appear, if they are displayable. If the field is not public, its visibility level (e.g., private, protected) appears instead.

If the field is an array or vector, click the "+" sign to the left of the field to inspect its contents.

Java Object Methods

To view an object's methods, select the Java object name in the left panel. Its public methods appear in the right-hand window.

Superclass and Interface Methods for a Java Object

If an object's class is a subclass, you can view the methods of any superclasses. To do this, select the class bar at the top of the right-hand side of the window.

If an object's class implements an interface, you can view the interface's methods:

  1. Select the Interfaces check box.

    The drop-down list now contains the interfaces the object implements.

  2. Select an interface.

    Its methods now appear in the right panel.

Executing Methods with No Parameters

If a public method takes no parameters, you can execute it in Cloudview. To do this, select the method and click Execute. The value returned, if any, appears in the box in the lower right-hand corner.

If the method supplies a way to display a graphics, sound, or a multimedia file, you can hear or see the file's contents.