org.openfaces.component.filter
Enum FilterCondition

java.lang.Object
  extended by java.lang.Enum<FilterCondition>
      extended by org.openfaces.component.filter.FilterCondition
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<FilterCondition>

public enum FilterCondition
extends java.lang.Enum<FilterCondition>

This enumeration defines a list of filter conditions that can be used by the filter components.


Enum Constant Summary
BEGINS_WITH
           
BETWEEN
           
CONTAINS
           
EMPTY
           
ENDS_WITH
           
EQUALS
           
GREATER
           
GREATER_OR_EQUAL
           
LESS
           
LESS_OR_EQUAL
           
 
Method Summary
static FilterCondition byName(java.lang.String name)
           
 java.lang.String getDefaultLabel()
           
 java.lang.String getFullName()
           
 java.lang.String getName()
           
<T> T
process(FilterConditionProcessor<T> processor)
           
static FilterCondition valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static FilterCondition[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

EMPTY

public static final FilterCondition EMPTY

EQUALS

public static final FilterCondition EQUALS

CONTAINS

public static final FilterCondition CONTAINS

BEGINS_WITH

public static final FilterCondition BEGINS_WITH

ENDS_WITH

public static final FilterCondition ENDS_WITH

LESS

public static final FilterCondition LESS

GREATER

public static final FilterCondition GREATER

LESS_OR_EQUAL

public static final FilterCondition LESS_OR_EQUAL

GREATER_OR_EQUAL

public static final FilterCondition GREATER_OR_EQUAL

BETWEEN

public static final FilterCondition BETWEEN
Method Detail

values

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

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

valueOf

public static FilterCondition valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name

getDefaultLabel

public java.lang.String getDefaultLabel()

getName

public java.lang.String getName()

getFullName

public java.lang.String getFullName()

process

public <T> T process(FilterConditionProcessor<T> processor)

byName

public static FilterCondition byName(java.lang.String name)


Copyright © 1998-2010 TeamDev Ltd. All Rights Reserved.