How to use java to obtain link topology information from solarwinds
Take a look at @sum_giais reply to your other post - it will be the same basic approach.Build the SWQL query and then wrap it in Java - not being a coder I can't help you at all on that side.