public void forAllIndexDescriptorColumns ( String template , Properties attributes ) throws XDocletException { String fields = _curIndexDescriptorDef . getProperty ( PropertyHelper . OJB_PROPERTY_FIELDS ) ; FieldDescriptorDef fieldDef ; String name ; for ( CommaListIterator it = new CommaListIterator ( fields ) ; it . hasNext ( ) ; ) { name = it . getNext ( ) ; fieldDef = _curClassDef . getField ( name ) ; if ( fieldDef == null ) { throw new XDocletException ( Translator . getString ( XDocletModulesOjbMessages . class , XDocletModulesOjbMessages . INDEX_FIELD_MISSING , new String [ ] { name , _curIndexDescriptorDef . getName ( ) , _curClassDef . getName ( ) } ) ) ; } _curIndexColumn = fieldDef . getProperty ( PropertyHelper . OJB_PROPERTY_COLUMN ) ; generate ( template ) ; } _curIndexColumn = null ; }
Processes the template for all index columns for the current index descriptor .