Retrieving data from a view when running jar file



I'm currently working on a java script (using Eclipse) and I'd like to get from you guys an example of a script that I could use to retrieve data from a view created within uCMDB.

In this view, I want to get the IP addresses (with their subnets) linked to Unix CI Type:

View definition:

Unix --> IPAddress
IP Subnet --> IPAddress




  |------> IPAddress

           |------> IP Subnet


When running the jar script, I would like to get the following attributes:

Unix [Name], Unix [DiscoveredOsName], IPAddress [Display Label], Subnet [Display Label]

I don't know what's the correct syntax to retrive those specific attributes.

Should you have a precise and complete example, I would be grateful :)


Thank you,