Previous Topic: Creating and Maintaining a ConnectionNext Topic: Finding a DSM Object


Retrieving Attributes

If you have successfully retrieved a Client Automation object from a list or search function, you have returned a structure containing the properties for that object.

In the examples, the output structures described in the WSDL have been mapped to holder classes. For example, if you had retrieved a structure of type dsm:ComputerProperties from the findComputer function, you have retrieved a java object of type ComputerPropertiesHolder. To obtain the UUID from this object, do the following:

ComputerPropertiesHolder methodOutput =
new ComputerPropertiesHolder();
//find the computer
…
String computerId = methodOutput.value.getComputerUUID();