public void init(EOModel eomodel, EOEnterpriseObject eo) { for (Enumeration e = entities().objectEnumerator(); e.hasMoreElements();) { GSVEntity entity = (GSVEntity)e.nextElement(); EOEntity eoentity = eomodel.entityNamed(entity.name()); NSLog.debug.appendln("checking gsventity"+entity.name()); if ( eoentity == null) { removeEntity(entity); NSLog.debug.appendln("removed obsolete gsventity"+entity.name()); } else { entity.init(this, eoentity);
public void init(EOModel eomodel) { if (!inited) { inited = true; for (Enumeration e = entities().immutableClone().objectEnumerator(); e.hasMoreElements();) { GSVEntity entity = (GSVEntity)e.nextElement(); String name = entity.name(); EOEntity eoentity = eomodel.entityNamed(name);  if ( eoentity == null) { removeEntity(entity);  } else { entity.init(this, eoentity); }
    public void init(EOModel eomodel, EOEnterpriseObject eo) {	for (Enumeration e = entities().objectEnumerator(); e.hasMoreElements();) {	    GSVEntity entity = (GSVEntity)e.nextElement();	    EOEntity eoentity = eomodel.entityNamed(entity.name());	    NSLog.debug.appendln("checking gsventity"+entity.name());	    if ( eoentity == null) {		removeEntity(entity);		NSLog.debug.appendln("removed obsolete gsventity"+entity.name());	    } else {		entity.init(this, eoentity);	    }	}    }