if(tp != null){
tp.setInverseProperty((IProperty)convertResource(target,sp.getInverseProperty()));
IProperty [] sub = sp.getSubProperties();
if(sub != null && sub.length > 0){
for(IProperty p: (IProperty []) convertResources(target,sub,IProperty.class)){
tp.addSubProperty(p);
}
}
IProperty [] sup = sp.getSuperProperties();
if(sup != null && sup.length > 0){
for(IProperty p: (IProperty []) convertResources(target,sup,IProperty.class)){