Enum JoinOperator
- java.lang.Object
-
- java.lang.Enum<JoinOperator>
-
- org.castor.cpa.persistence.sql.query.JoinOperator
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<JoinOperator>
public enum JoinOperator extends java.lang.Enum<JoinOperator>
Class holding different join types.- Version:
- $Revision: 8469 $ $Date: 2006-04-25 15:08:23 -0600 (Tue, 25 Apr 2006) $
- Author:
- Dennis Butterstein, Ralf Joachim
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static JoinOperator
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static JoinOperator[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INNER
public static final JoinOperator INNER
Keyword to construct inner join.
-
LEFT
public static final JoinOperator LEFT
Keyword to construct left outer join.
-
RIGHT
public static final JoinOperator RIGHT
Keyword to construct right outer join.
-
FULL
public static final JoinOperator FULL
Keyword to construct full outer join.
-
-
Method Detail
-
values
public static JoinOperator[] 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 (JoinOperator c : JoinOperator.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static JoinOperator 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 namejava.lang.NullPointerException
- if the argument is null
-
-