4.0

Table Of Contents
ModuleInfo Object
ModuleInfo stores the name, version, description, and display name attributes for each plug-in. A Web service
application can use these attributes to modify its behavior based on the presence or absence of certain plug-
ins or plug-in versions.
The getAllPlugins operation returns arrays of ModuleInfo objects to list all the plug-ins a user can access, as
the following example shows.
public ModuleInfo[] getAllPlugins(username, password);
The following table shows the properties of the ModuleInfo object.
Type Value Description
String
moduleName
Name of the plug-in, used as a prefix in object names.
String
moduleVersion
Plug-in version.
String
moduleDescription
Description of the plug-in.
String
moduleDisplayName
Plug-in name shown in the Orchestrator inventory.
Property Object
A Property object represents a key-value pair that describes the properties of an item in the Orchestrator
inventory.
You can obtain a Property object by calling the getProperties operation on a FinderResult object, as the
following example shows.
Property[] props = finderResult.getProperties();
This example method call returns the contents of the FinderResult object's properties attribute.
The following table shows the properties of the Property object.
Type Value Description
String
name
Property name.
String
value
Property value.
The format of a property's values is defined by each plug-in in its vso.xml file, under the
FinderResult description.
QueryResult Object
The QueryResult object represents the results of a find query.
A
QueryResult
object contains an array of
FinderResult
objects and a counter. A
QueryResult
object is returned
by the find operation, as the following example shows.
public QueryResult find(String type, String query, String username,
String password);
The following table shows the properties of the QueryResult object.
Chapter 8 Developing a Web Services Client
VMware, Inc. 263