package bridge; public class AddCommand extends Command { private String newID; public AddCommand(CommandImpl impl) { super(impl); } @Override public boolean Execute() { boolean res = super.Execute(); newID = (String) impl.GetGeneratedKeys().get(0); return res; } public String getNewID() { return newID; }}