getRelatedModelPropertyValues

Table of Contents
  • getRelatedModelPropertyValues

returns the specified properties of all related objects in a list of maps when invoked on an instance.
Signature: getRelatedModelPropertyValues(String relationName, List propertyList)
Sample:

// will return specified props in propertyList as list of map
List propMapList = myRsComputerSystem.getRelatedModelPropertyValues("composedOf", ["ComputerSystemName"])

The method will return specified properties and two additional properties alias and id.
If specified relation is not defined it will return an empty list .
If a property does not exist, it will be discarded and will not be added to the map.

Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.