cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - You can change your system assigned username to something more personal in your community settings. X

Outofdate Equivalence link

AK_10813265
10-Marble

Outofdate Equivalence link

Hello all,

 

I am looking for a full code which will help me to get equivalent link status between upstream part to downstream part

1 REPLY 1

Hi @AK_10813265 

Here are a queries that collect upstream from downstream and opposite way

 

You just process the results in a loop. The query should contain Vector with a link and a wtpart 

 

 

//how to get downstream  links from WTPart
QueryResult qrDownStream = PersistenceHelper.manager.navigate(wtPart,EquivalenceLink.DOWNSTREAM_ROLE,wt.associativity.EquivalenceLink.class, false);

//how to get upstream links from WTPart
QueryResult qrUpStream = PersistenceHelper.manager.navigate(wtPart,wt.associativity.EquivalenceLink.UPSTREAM_ROLE, wt.associativity.EquivalenceLink.class, false);

 

HelesicPetr_0-1703063600769.png

 

PS> if the EquivalenceLink is out of date, then the link is on non latest iteration. So the latest does not have a link. 

PetrH

Announcements


Top Tags