/** * Generates an ImportId based on an TImport object The import has to be an * import created by winery. This method uses the convention that the id is * derived from the location * * @param i the TImport element to derive an id from */ public GenericImportId(TImport i) { this(i.getNamespace(), GenericImportId.getId(i), false, i.getImportType()); }