SubjectIdentifiers (query directive)
From WandoraWiki
Description
Returns all subject identifiers of the input topic.
Constructor
SubjectIdentifiers()
Examples
You can use SubjectIdentifiers directive alone to simply get the subject identifiers of the input topic
importPackage(org.wandora.query2); new SubjectIdentifiers()
Following example gets the base name of the input topic or the first subject identifier if it doesn't have a base name.
importPackage(org.wandora.query2); new If( new BaseName().where("#DEFAULT","!=",null), new BaseName(), new First(new SubjectIdentifiers()) )