/** Boston to Pilsen conversion. * This method converts the absolute column names to relative names. */ protected void stripSchemaName () { // call super to handle the columns stored in _columns super.stripSchemaName(); // handle _associatedColumns if (_associatedColumns != null) { // Use ListIterator here, because I want to replace the value // stored in the ArrayList. The ListIterator returned by // ArrayList.listIterator() supports the set method. ListIterator i = _associatedColumns.listIterator(); while (i.hasNext()) i.set(NameUtil.getRelativeMemberName((String)i.next())); } } }
/** Boston to Pilsen conversion. * This method converts the absolute column names to relative names. */ protected void stripSchemaName () { // call super to handle the columns stored in _columns super.stripSchemaName(); // handle _associatedColumns if (_associatedColumns != null) { // Use ListIterator here, because I want to replace the value // stored in the ArrayList. The ListIterator returned by // ArrayList.listIterator() supports the set method. ListIterator i = _associatedColumns.listIterator(); while (i.hasNext()) i.set(NameUtil.getRelativeMemberName((String)i.next())); } } }
((MappingFieldElementImpl)i.next()).stripSchemaName();
((MappingFieldElementImpl)i.next()).stripSchemaName();