net.sf.jpacriteria
Enum ReservedIdentifier

java.lang.Object
  extended by java.lang.Enum<ReservedIdentifier>
      extended by net.sf.jpacriteria.ReservedIdentifier
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<ReservedIdentifier>, CriteriaBlock

public enum ReservedIdentifier
extends java.lang.Enum<ReservedIdentifier>
implements CriteriaBlock

Version:
$Id: ReservedIdentifier.java,v 1.7 2007/03/24 16:47:20 maxim_butov Exp $
Author:
Maxim Butov

Enum Constant Summary
ALL
           
AND
           
ANY
           
AS
           
ASC
           
AVG
           
BETWEEN
           
BIT_LENGTH
           
BY
           
CHAR_LENGTH
           
CHARACTER_LENGTH
           
COUNT
           
CURRENT_DATE
           
CURRENT_TIME
           
CURRENT_TIMESTAMP
           
DELETE
           
DESC
           
DISTINCT
           
EMPTY
           
EXISTS
           
FALSE
           
FETCH
           
FROM
           
GROUP
           
HAVING
           
IN
           
INNER
           
IS
           
JOIN
           
LEFT
           
LIKE
           
LOWER
           
MAX
           
MEMBER
           
MIN
           
MOD
           
NEW
           
NOT
           
NULL
           
OBJECT
           
OF
           
OR
           
ORDER
           
OUTER
           
POSITION
           
SELECT
           
SOME
           
SUM
           
TRIM
           
TRUE
           
UNKNOWN
           
UPDATE
           
UPPER
           
WHERE
           
 
Field Summary
static CriteriaBlock GROUP_BY
           
static CriteriaBlock ORDER_BY
           
 
Method Summary
 void build(CriteriaBuffer buffer)
           
static void build(CriteriaBuffer buffer, ReservedIdentifier id, ReservedIdentifier... ids)
           
static ReservedIdentifier valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static ReservedIdentifier[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

ALL

public static final ReservedIdentifier ALL

AND

public static final ReservedIdentifier AND

ANY

public static final ReservedIdentifier ANY

AS

public static final ReservedIdentifier AS

ASC

public static final ReservedIdentifier ASC

AVG

public static final ReservedIdentifier AVG

BETWEEN

public static final ReservedIdentifier BETWEEN

BIT_LENGTH

public static final ReservedIdentifier BIT_LENGTH

BY

public static final ReservedIdentifier BY

CHAR_LENGTH

public static final ReservedIdentifier CHAR_LENGTH

CHARACTER_LENGTH

public static final ReservedIdentifier CHARACTER_LENGTH

COUNT

public static final ReservedIdentifier COUNT

CURRENT_DATE

public static final ReservedIdentifier CURRENT_DATE

CURRENT_TIME

public static final ReservedIdentifier CURRENT_TIME

CURRENT_TIMESTAMP

public static final ReservedIdentifier CURRENT_TIMESTAMP

DELETE

public static final ReservedIdentifier DELETE

DESC

public static final ReservedIdentifier DESC

DISTINCT

public static final ReservedIdentifier DISTINCT

EMPTY

public static final ReservedIdentifier EMPTY

EXISTS

public static final ReservedIdentifier EXISTS

FALSE

public static final ReservedIdentifier FALSE

FETCH

public static final ReservedIdentifier FETCH

FROM

public static final ReservedIdentifier FROM

GROUP

public static final ReservedIdentifier GROUP

HAVING

public static final ReservedIdentifier HAVING

IN

public static final ReservedIdentifier IN

INNER

public static final ReservedIdentifier INNER

IS

public static final ReservedIdentifier IS

JOIN

public static final ReservedIdentifier JOIN

LEFT

public static final ReservedIdentifier LEFT

LIKE

public static final ReservedIdentifier LIKE

LOWER

public static final ReservedIdentifier LOWER

MAX

public static final ReservedIdentifier MAX

MEMBER

public static final ReservedIdentifier MEMBER

MIN

public static final ReservedIdentifier MIN

MOD

public static final ReservedIdentifier MOD

NEW

public static final ReservedIdentifier NEW

NOT

public static final ReservedIdentifier NOT

NULL

public static final ReservedIdentifier NULL

OBJECT

public static final ReservedIdentifier OBJECT

OF

public static final ReservedIdentifier OF

OR

public static final ReservedIdentifier OR

ORDER

public static final ReservedIdentifier ORDER

OUTER

public static final ReservedIdentifier OUTER

POSITION

public static final ReservedIdentifier POSITION

SELECT

public static final ReservedIdentifier SELECT

SOME

public static final ReservedIdentifier SOME

SUM

public static final ReservedIdentifier SUM

TRIM

public static final ReservedIdentifier TRIM

TRUE

public static final ReservedIdentifier TRUE

UNKNOWN

public static final ReservedIdentifier UNKNOWN

UPDATE

public static final ReservedIdentifier UPDATE

UPPER

public static final ReservedIdentifier UPPER

WHERE

public static final ReservedIdentifier WHERE
Field Detail

ORDER_BY

public static CriteriaBlock ORDER_BY

GROUP_BY

public static CriteriaBlock GROUP_BY
Method Detail

values

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

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

valueOf

public static ReservedIdentifier 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

build

public void build(CriteriaBuffer buffer)
Specified by:
build in interface CriteriaBlock

build

public static void build(CriteriaBuffer buffer,
                         ReservedIdentifier id,
                         ReservedIdentifier... ids)


Copyright © 2007. All Rights Reserved.