How to fetch related asset data from any asset?
Accepted answer
Hi,
Thanks for update.
I think one fetch related assets in following way:
1. for current RAMAsset object, call RAMAsset#getRelationships to retrieve relationships current asset has;
2. for one RMARelationship, call RAMRelationship#getChildAsset() to retrieve related asset, use RAMRelationship#getRelationshipTypeName() to fetch relationship name.
Hope that could help.
Thanks for update.
I think one fetch related assets in following way:
1. for current RAMAsset object, call RAMAsset#getRelationships to retrieve relationships current asset has;
2. for one RMARelationship, call RAMRelationship#getChildAsset() to retrieve related asset, use RAMRelationship#getRelationshipTypeName() to fetch relationship name.
Hope that could help.
Comments
Lin Lu
JAZZ DEVELOPER Aug 18 '14, 1:08 a.m.