It's all about the answers!

Ask a question

How can identify whether an artifact, I got by OSLC query, is a Base Artifact or Module's artifact?


1
1
Oded Mozesh (52312) | asked Jan 21 '15, 9:25 a.m.
Hi,

Is there a short way to identify whether an artifact, I got by OSLC query, is Base Artifact or Module's artifact.
I want to avoid  collecting all the Modules' artifacts and then, when getting artifact by resourceUri to check if it exists in any module.



Thanks,
Oded Mozesh



Accepted answer


permanent link
Gabriel Ruelas (1.1k13) | answered Jan 21 '15, 9:35 a.m.
Hi,
 Module artifacts does not contains an entry for parent folder ( nav:parent ). Normal artifacts does.
Oded Mozesh selected this answer as the correct answer

Your answer


Register or to post your answer.