docs: public void forAllCollectionDefinitions(String template, Properties attributes) throws XDocletException
      {
          for (Iterator it = _curClassDef.getCollections(); it.hasNext(); )
          {
              _curCollectionDef = (CollectionDescriptorDef)it.next();
              if (!isFeatureIgnored(LEVEL_COLLECTION) &&
                  !_curCollectionDef.getBooleanProperty(PropertyHelper.OJB_PROPERTY_IGNORE, false))
              {
                  generate(template);
              }
          }
          _curCollectionDef = null;
      }