/** Sets the bean info for the generator */ public void setEntityType(EntityType entityType) { _entityType = entityType; _dependencies.addAll(entityType.getDependencies()); for (int i = 0; i < _dependencies.size(); i++) Environment.addDependency(_dependencies.get(i)); }