// Use the default implementation if none is specified and if it is possible.
if(mmAdaptorClassname == null)
{
if(extent instanceof RefPackage)
{ // ok, use the default jmi
return new JmiModelHelper( (RefPackage) extent);
}
else
{ // error !
throw new ModelFactoryException("A metamodel adaptor classname is required for '" +
extent + "'");