04-07-2006 05:55 AM
<association name="cm:translations">
<title>Translations</title>
<source>
<role>cm:translationOf</role>
<mandatory>false</mandatory>
<many>false</many>
</source>
<target>
<class>cm:content</class>
<role>cm:hasTranslation</role>
<mandatory>false</mandatory>
<many>true</many>
</target>
</association>04-10-2006 06:31 AM
List asociaciones = (List)ref.getAssociations().get(Repository.resolveToQName("translations"));
while (iter.hasNext()){
AssociationRef assoc = (AssociationRef)iter.next();
NodeRef target = assoc.getTargetRef();
String associationName = Repository.getNameForNode(nodeService,target);
}
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.