Project: stp

com.ibm.rational.wvcm.stp.cq
Enum CqUserDb.DateLimit

Object
  extended by Enum<CqUserDb.DateLimit>
      extended by CqUserDb.DateLimit
All Implemented Interfaces:
CqUserDb.SearchKey<Date>, Serializable, Comparable<CqUserDb.DateLimit>
Enclosing interface:
CqUserDb

public static enum CqUserDb.DateLimit
extends Enum<CqUserDb.DateLimit>
implements CqUserDb.SearchKey<Date>

A DateLimit SearchKey limits the search to just those objects whose creation or modification time are in a target range.


Enum Constant Summary
CREATED_AFTER
          Matches an object created on or after the target date
CREATED_BEFORE
          Matches an object created on or before the target date
MODIFIED_AFTER
          Matches an object modified on or after the target date
MODIFIED_BEFORE
          Matches an object modified on or before the target date
 
Method Summary
static CqUserDb.DateLimit valueOf(String name)
          Returns the enum constant of this type with the specified name.
static CqUserDb.DateLimit[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

CREATED_AFTER

public static final CqUserDb.DateLimit CREATED_AFTER
Matches an object created on or after the target date


CREATED_BEFORE

public static final CqUserDb.DateLimit CREATED_BEFORE
Matches an object created on or before the target date


MODIFIED_AFTER

public static final CqUserDb.DateLimit MODIFIED_AFTER
Matches an object modified on or after the target date


MODIFIED_BEFORE

public static final CqUserDb.DateLimit MODIFIED_BEFORE
Matches an object modified on or before the target date

Method Detail

valueOf

public static CqUserDb.DateLimit 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

values

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

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

Generated Thu 3-Nov-2011 01:39 AM

Copyright © IBM 2011. All rights reserved.