4.0

Table Of Contents
QueryResult Class
The QueryResult class contains the results of a find query made on the objects Orchestrator accesses through
the plug-in.
public class QueryResult
extends java.lang.Object
implements java.io.Serializable
The totalCount value can be greater than the number of elements the QueryResult returns, if the total number
of results found exceeds the number of results the query returns. The number of results the query returns is
defined in the query syntax in the vso.xml file.
The QueryResult class defines the following methods:
Method Returns Description
addElement(java.lang.Object element)
Void Adds an element to the QueryResult
addElements(java.util.List elements)
Void Adds a list of elements to the QueryResult
getElements() java.util.List
Obtains elements from the plugged in application
getTotalCount()
Long Obtains a count of all the elements available in the
plugged in technology
isPartialResult()
Boolean Determines whether the result obtained is complete
removeElement(java.lang.Object
element)
Void Removes an element from the plugged in technology
setElements(java.util.List elements)
Void Sets elements in the plugged in technology
setTotalCount(long totalCount)
Void Sets the total number of elements available in the
plugged in technology
Constructors
n
QueryResult()
n
QueryResult(java.util.List ret)
n
QueryResult(java.util.List elements, long totalCount)
SDKFinderProperty Class
The SDKFinderProperty class defines methods to obtain and set properties in the objects found in the plugged
in technology by the Orchestrator finder objects. The IDynanmicFinder.getProperties method returns
SDKFinderProperty objects.
public class SDKFinderProperty
extends java.lang.Object
The SDKFinderProperty class defines the following methods:
Method Returns Description
getAttributeName() java.lang.String
Obtains an object attribute name
getBeanProperty() java.lang.String
Obtains properties from a Java bean
getDescription() java.lang.String
Obtains an object description
getDisplayName() java.lang.String
Obtains an object display name
getPossibleResultType() java.lang.String
Obtains the possible types of result the
finder returns
vCenter Orchestrator Developer's Guide
224 VMware, Inc.