SModelReference reference = LanguageAspect.STRUCTURE.get(node.getConceptLanguage());
reference = reference.update();
return node.getModel().getUsedVersion(reference);
}
public static int getReferenceToNodeVersion(SNode node, SModelReference targetModelReference) {
<BUG>if (targetModelReference == null) { //target model reference is nullable in postponed references

return -1;
}</BUG>
return node.getModel().getUsedVersion(targetModelReference);

SModelReference reference = LanguageAspect.STRUCTURE.get(node.getConceptLanguage());
reference = reference.update();
return node.getModel().getUsedVersion(reference);
