View Javadoc

1   /*
2    * Copyright 2004-2009 the original author or authors.
3    *
4    * Licensed under the Apache License, Version 2.0 (the "License");
5    * you may not use this file except in compliance with the License.
6    * You may obtain a copy of the License at
7    *
8    *      http://www.apache.org/licenses/LICENSE-2.0
9    *
10   * Unless required by applicable law or agreed to in writing, software
11   * distributed under the License is distributed on an "AS IS" BASIS,
12   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13   * See the License for the specific language governing permissions and
14   * limitations under the License.
15   */
16  
17  package org.springmodules.validation.valang.predicates;
18  
19  /**
20   * Enumeration of different operator types.
21   *
22   * @author Steven Devijver
23   * @author David Winterfeldt
24   */
25  public enum Operator {
26  
27      EQUAL, NOT_EQUAL, 
28      LESS_THAN, LESS_THAN_OR_EQUAL,
29      GREATER_THAN, GREATER_THAN_OR_EQUAL,
30      IN, NOT_IN, BETWEEN, NOT_BETWEEN, 
31      NULL, NOT_NULL, 
32      HAS_TEXT, HAS_NO_TEXT, HAS_LENGTH, HAS_NO_LENGTH,
33      IS_BLANK, IS_NOT_BLANK, IS_WORD, IS_NOT_WORD,
34      IS_UPPERCASE, IS_NOT_UPPERCASE, IS_LOWERCASE, IS_NOT_LOWERCASE
35  
36  }