CElementPropertyInfo prop = new CElementPropertyInfo(
calcName(p),REPEATED_ELEMENT,ID.NONE,null,null,null,p.getLocation(),!optional);
rts.addTo(prop);
clazz.addProperty(prop);
} else {
CReferencePropertyInfo prop = new CReferencePropertyInfo(
calcName(p),true,!optional,false/*TODO*/,null,null,p.getLocation(), false, false, false);
rts.addTo(prop);
clazz.addProperty(prop);
}