When creating an object you usually need to indicate which of the creation properties you have supplied by marking the corresponding ‘supplied’ boolean to true. For example, if you are creating a SoftwareJobContainer and you want to supply a value for the comment property you should do both of the following:
props.setComment(“MyComment”); props.setCommentSupplied(true);
Similarly, if you are retrieving the properties of a DSM object you will need to indicate which properties you would like the web service to return to you. This is achieved through the provision of a separate propertiesRequired structure as an input parameter. For example, if you are retrieving the properties of a computer unit and you want to return the computer’s UUID, you should pass the following structure to the findComputer function:
ComputerPropertiesRequired props = new ComputerPropertiesRequired(); props.setComputerUUIDRequired(true);
|
Copyright © 2014 CA Technologies.
All rights reserved.
|
|