public SpeedoInheritedField newSpeedoInheritedField(SpeedoField sf)
throws SpeedoRuntimeException {
//check that the persistent field exists
// checks that the field comes from an ancestor.
if (sf.moClass == clazz) {
throw new SpeedoRuntimeException("Field '" + sf.name
+ "' is not an inherited field, because it is defined in the current class '"
+ clazz.getFQName() + "'.");
}
//create the meta object and fill it.
SpeedoInheritedField sif = new SpeedoInheritedField();