
package de.ivu.elect.business.exchange.entity;

import de.ivu.elect.jee.presentation.Icons;

public enum ImportStatus {

  HOCHGELADEN {
    @Override
    public String getIcon(Icons icons) {
      return icons.getIconHelp();
    }

    @Override
    public boolean isFormatBekannt() {
      return false;
    }
  },
  FORMAT_FESTGELEGT {
    @Override
    public String getIcon(Icons icons) {
      return icons.getIconFlag();
    }
  },
  IMPORTIERT {
    @Override
    public String getIcon(Icons icons) {
      return icons.getIconCheck();
    }
  },
  ABGELEHNT {
    @Override
    public String getIcon(Icons icons) {
      return icons.getIconCancel();
    }
  };

  public abstract String getIcon(Icons icons);

  public boolean isFormatBekannt() {
    return true;
  }

}
