package CH.ifa.draw.io.importFormats;


/**
 * Container for ImportFormats. Is an ImportFormat itself.
 * Can be used to arrange ImportFormats in groups.
 * @deprecated This type is not to be used anymore. Please use {@link de.renew.ioontology.importing.ImportFormatMulti} and its subtypes instead.
 */
@Deprecated(since = "5.0", forRemoval = true)
@SuppressWarnings("removal")
public interface ImportFormatMulti extends ImportFormat {

    /**
     * Adds a format to the MultiFormat.
     * @require importFormat != null.
     * @param importFormat The format to be added to MultiFormat.
     */
    public void addImportFormat(ImportFormat importFormat);

    /**
     * Remove a format from the MultiFormat.
     * @param importFormat the ImportFormat to be removed.
     */
    public void removeImportFormat(ImportFormat importFormat);

    /**
     * Returns all formats in the MultiFormat.
     * @ensure result != null.
     * @return ImportFormat[] array of all ImportFormats in MultiFormat.
     */
    public ImportFormat[] allImportFormats();
}