org.nuiton.web.struts2
Enum FilterPagerUtil.FilterOperation

java.lang.Object
  extended by java.lang.Enum<FilterPagerUtil.FilterOperation>
      extended by org.nuiton.web.struts2.FilterPagerUtil.FilterOperation
All Implemented Interfaces:
Serializable, Comparable<FilterPagerUtil.FilterOperation>
Enclosing class:
FilterPagerUtil

public static enum FilterPagerUtil.FilterOperation
extends Enum<FilterPagerUtil.FilterOperation>


Enum Constant Summary
bn
          Not between with operator.
bw
          Begins with operator.
cn
          Contains operator.
en
          Not End with operator.
eq
          Equals operator.
ew
          Ends with operator.
ge
          Greater or equals operator.
gt
          Greater than operator.
in
          Is among operator.
le
          Lesser or equals operator.
lt
          Lesser than operator.
nc
          Not contains operator.
ne
          Not equals operator.
ni
          Not is among operator.
nn
          Is not null operator.
nu
          Is null operator.
 
Method Summary
abstract  String toHql(String paramName, String propertyName, Object data, Map<String,Object> filterParams)
           
static FilterPagerUtil.FilterOperation valueOf(String name)
          Returns the enum constant of this type with the specified name.
static FilterPagerUtil.FilterOperation[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

eq

public static final FilterPagerUtil.FilterOperation eq
Equals operator.


ne

public static final FilterPagerUtil.FilterOperation ne
Not equals operator.


cn

public static final FilterPagerUtil.FilterOperation cn
Contains operator.


nc

public static final FilterPagerUtil.FilterOperation nc
Not contains operator.


bw

public static final FilterPagerUtil.FilterOperation bw
Begins with operator.


bn

public static final FilterPagerUtil.FilterOperation bn
Not between with operator.


ew

public static final FilterPagerUtil.FilterOperation ew
Ends with operator.


en

public static final FilterPagerUtil.FilterOperation en
Not End with operator.


lt

public static final FilterPagerUtil.FilterOperation lt
Lesser than operator.


le

public static final FilterPagerUtil.FilterOperation le
Lesser or equals operator.


gt

public static final FilterPagerUtil.FilterOperation gt
Greater than operator.


ge

public static final FilterPagerUtil.FilterOperation ge
Greater or equals operator.


nu

public static final FilterPagerUtil.FilterOperation nu
Is null operator.


nn

public static final FilterPagerUtil.FilterOperation nn
Is not null operator.


in

public static final FilterPagerUtil.FilterOperation in
Is among operator.


ni

public static final FilterPagerUtil.FilterOperation ni
Not is among operator.

Method Detail

values

public static FilterPagerUtil.FilterOperation[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (FilterPagerUtil.FilterOperation c : FilterPagerUtil.FilterOperation.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static FilterPagerUtil.FilterOperation valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

toHql

public abstract String toHql(String paramName,
                             String propertyName,
                             Object data,
                             Map<String,Object> filterParams)


Copyright © 2010-2012 CodeLutin. All Rights Reserved.