package com.github.wz2cool.dynamic;


import java.io.Serializable;

/**
 * The enum Filter operator.
 */
public enum FilterOperator implements Serializable {
    /**
     * Less than filter operator.
     */
    LESS_THAN("LESS_THAN", 1),
    /**
     * Less than or equal filter operator.
     */
    LESS_THAN_OR_EQUAL("LESS_THAN_OR_EQUAL", 2),
    /**
     * Equal filter operator.
     */
    EQUAL("EQUAL", 3),
    /**
     * Not equal filter operator.
     */
    NOT_EQUAL("NOT_EQUAL", 4),
    /**
     * Greater than or equal filter operator.
     */
    GREATER_THAN_OR_EQUAL("GREATER_THAN_OR_EQUAL", 5),
    /**
     * Greater than filter operator.
     */
    GREATER_THAN("GREATER_THAN", 6),
    /**
     * Start with filter operator.
     */
    START_WITH("START_WITH", 7),
    /**
     * End with filter operator.
     */
    END_WITH("END_WITH", 8),
    /**
     * Contains filter operator.
     */
    CONTAINS("CONTAINS", 9),
    /**
     * In filter operator.
     */
    IN("IN", 10),
    /**
     * Not in filter operator.
     */
    NOT_IN("NOT_IN", 11),
    /**
     * Between filter operator.
     */
    BETWEEN("BETWEEN", 12);

    private String name;
    private int value;

    FilterOperator(String name, int value) {
        this.name = name;
        this.value = value;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getValue() {
        return value;
    }

    public void setValue(int value) {
        this.value = value;
    }
}

@@ -218,26 +218,10 @@
 THAN
-(%22LESS_THAN%22, 1)
 ,%0A
+
     
@@ -301,33 +301,8 @@
 QUAL
-(%22LESS_THAN_OR_EQUAL%22, 2)
 ,%0A  
@@ -358,20 +358,8 @@
 QUAL
-(%22EQUAL%22, 3)
 ,%0A  
@@ -423,24 +423,8 @@
 QUAL
-(%22NOT_EQUAL%22, 4)
 ,%0A  
@@ -512,36 +512,8 @@
 QUAL
-(%22GREATER_THAN_OR_EQUAL%22, 5)
 ,%0A  
@@ -583,27 +583,8 @@
 THAN
-(%22GREATER_THAN%22, 6)
 ,%0A  
@@ -650,25 +650,8 @@
 WITH
-(%22START_WITH%22, 7)
 ,%0A  
@@ -713,23 +713,8 @@
 WITH
-(%22END_WITH%22, 8)
 ,%0A  
@@ -776,23 +776,8 @@
 AINS
-(%22CONTAINS%22, 9)
 ,%0A  
@@ -827,18 +827,8 @@
   IN
-(%22IN%22, 10)
 ,%0A  
@@ -886,22 +886,8 @@
 T_IN
-(%22NOT_IN%22, 11)
 ,%0A  
@@ -928,24 +928,24 @@
 or.%0A     */%0A
+
     BETWEEN(
@@ -947,438 +947,7 @@
 WEEN
-(%22BETWEEN%22, 12);%0A%0A    private String name;%0A    private int value;%0A%0A    FilterOperator(String name, int value) %7B%0A        this.name = name;%0A        this.value = value;%0A    %7D%0A%0A    public String getName() %7B%0A        return name;%0A    %7D%0A%0A    public void setName(String name) %7B%0A        this.name = name;%0A    %7D%0A%0A    public int getValue() %7B%0A        return value;%0A    %7D%0A%0A    public void setValue(int value) %7B%0A        this.value = value;%0A    %7D
 %0A%7D%0A

test serializable