/**
 *
 * Copyright (c) 2006-2016, Speedment, Inc. All Rights Reserved.
 *
 * Licensed under the Apache License, Version 2.0 (the "License"); You may not
 * use this file except in compliance with the License. You may obtain a copy of
 * the License at:
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
 * License for the specific language governing permissions and limitations under
 * the License.
 */
package com.speedment.config.db.parameters;

import com.speedment.annotation.Api;

/**
 *
 * @author pemi
 */
@Api(version = "2.2")
public enum OrderType {
    ASC, DESC, NONE;
}
@@ -705,16 +705,52 @@
 ion.Api;
+%0Aimport java.util.function.Supplier;
 %0A%0A/**%0A *
@@ -827,19 +827,1913 @@
  ASC
-, DESC, NONE;%0A%7D
+ %7B%0A        @Override%0A        public %3CT%3E T selectLazily(Supplier%3CT%3E ascAternative, Supplier%3CT%3E descAternative, Supplier%3CT%3E noneAternative) %7B%0A            return ascAternative.get();%0A        %7D%0A%0A        @Override%0A        public %3CT%3E T select(T ascAternative, T descAternative, T noneAternative) %7B%0A            return ascAternative;%0A        %7D%0A%0A        @Override%0A        public %3CT%3E void selectRunnable(Runnable ascAternative, Runnable descAternative, Runnable noneAternative) %7B%0A            ascAternative.run();%0A        %7D%0A%0A    %7D, DESC %7B%0A        @Override%0A        public %3CT%3E T selectLazily(Supplier%3CT%3E ascAternative, Supplier%3CT%3E descAternative, Supplier%3CT%3E noneAternative) %7B%0A            return descAternative.get();%0A        %7D%0A%0A        @Override%0A        public %3CT%3E T select(T ascAternative, T descAternative, T noneAternative) %7B%0A            return descAternative;%0A        %7D%0A%0A        @Override%0A        public %3CT%3E void selectRunnable(Runnable ascAternative, Runnable descAternative, Runnable noneAternative) %7B%0A            ascAternative.run();%0A        %7D%0A%0A    %7D, NONE %7B%0A        @Override%0A        public %3CT%3E T selectLazily(Supplier%3CT%3E ascAternative, Supplier%3CT%3E descAternative, Supplier%3CT%3E noneAternative) %7B%0A            return noneAternative.get();%0A        %7D%0A%0A        @Override%0A        public %3CT%3E T select(T ascAternative, T descAternative, T noneAternative) %7B%0A            return noneAternative;%0A        %7D%0A%0A        @Override%0A        public %3CT%3E void selectRunnable(Runnable ascAternative, Runnable descAternative, Runnable noneAternative) %7B%0A            ascAternative.run();%0A        %7D%0A    %7D;%0A%0A    public abstract %3CT%3E T selectLazily(Supplier%3CT%3E ascAternative, Supplier%3CT%3E descAternative, Supplier%3CT%3E noneAternative);%0A%0A    public abstract %3CT%3E T select(T ascAternative, T descAternative, T noneAternative);%0A%0A    public abstract %3CT%3E void selectRunnable(Runnable ascAternative, Runnable descAternative, Runnable noneAternative);%0A%0A%7D%0A

Fix test that failed for OSGi