com.alibaba.druid.sql.dialect.oracle.ast.clause
Enum ModelClause.ModelRuleOption

java.lang.Object
  extended by java.lang.Enum<ModelClause.ModelRuleOption>
      extended by com.alibaba.druid.sql.dialect.oracle.ast.clause.ModelClause.ModelRuleOption
All Implemented Interfaces:
Serializable, Comparable<ModelClause.ModelRuleOption>
Enclosing class:
ModelClause

public static enum ModelClause.ModelRuleOption
extends Enum<ModelClause.ModelRuleOption>


Enum Constant Summary
AUTOMATIC_ORDER
           
SEQUENTIAL_ORDER
           
UPDATE
           
UPSERT
           
 
Field Summary
 String name
           
 
Method Summary
 String toString()
           
static ModelClause.ModelRuleOption valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ModelClause.ModelRuleOption[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

UPSERT

public static final ModelClause.ModelRuleOption UPSERT

UPDATE

public static final ModelClause.ModelRuleOption UPDATE

AUTOMATIC_ORDER

public static final ModelClause.ModelRuleOption AUTOMATIC_ORDER

SEQUENTIAL_ORDER

public static final ModelClause.ModelRuleOption SEQUENTIAL_ORDER
Field Detail

name

public final String name
Method Detail

values

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

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

valueOf

public static ModelClause.ModelRuleOption 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

toString

public String toString()
Overrides:
toString in class Enum<ModelClause.ModelRuleOption>


Copyright © 2012 Alibaba Group. All Rights Reserved.