to.etc.domui.component.lookup
Enum ILookupControlInstance.AppendCriteriaResult

java.lang.Object
  extended by java.lang.Enum<ILookupControlInstance.AppendCriteriaResult>
      extended by to.etc.domui.component.lookup.ILookupControlInstance.AppendCriteriaResult
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<ILookupControlInstance.AppendCriteriaResult>
Enclosing interface:
ILookupControlInstance

public static enum ILookupControlInstance.AppendCriteriaResult
extends java.lang.Enum<ILookupControlInstance.AppendCriteriaResult>

Represents result of ILookupControlInstance.appendCriteria(QCriteria). Can be one of values:

  1. INVALID
  2. EMPTY
  3. VALID

Author:
Vladimir Mijic Created on 6 Jan 2011

Enum Constant Summary
EMPTY
          No search critaria is entered.
INVALID
          Entered search critaria is not valid.
VALID
          Search critaria is entered by user, represents explicit filters.
 
Method Summary
static ILookupControlInstance.AppendCriteriaResult valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static ILookupControlInstance.AppendCriteriaResult[] 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

INVALID

public static final ILookupControlInstance.AppendCriteriaResult INVALID
Entered search critaria is not valid.


EMPTY

public static final ILookupControlInstance.AppendCriteriaResult EMPTY
No search critaria is entered. This however can result in implicit filter added into criteria.


VALID

public static final ILookupControlInstance.AppendCriteriaResult VALID
Search critaria is entered by user, represents explicit filters. This information is important when we want to force user to define at least one explicit criteria in order to permit search on large data sets.

Method Detail

values

public static ILookupControlInstance.AppendCriteriaResult[] 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 (ILookupControlInstance.AppendCriteriaResult c : ILookupControlInstance.AppendCriteriaResult.values())
    System.out.println(c);

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

valueOf

public static ILookupControlInstance.AppendCriteriaResult 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
java.lang.NullPointerException - if the argument is null