org.eclipse.wst.rdb.internal.models.sql.tables
Class ActionGranularityType

java.lang.Object
  |
  +--org.eclipse.emf.common.util.AbstractEnumerator
        |
        +--org.eclipse.wst.rdb.internal.models.sql.tables.ActionGranularityType
All Implemented Interfaces:
org.eclipse.emf.common.util.Enumerator

public final class ActionGranularityType
extends org.eclipse.emf.common.util.AbstractEnumerator

A representation of the literals of the enumeration 'Action Granularity Type', and utility methods for working with them. The literals of this enumeration are used to indicate whether the actionStatement of a Trigger is to be executed once for each affected row, in the case of a row-level trigger, or once for the whole triggering INSERT , DELETE , MERGE , or UPDATE statement, in the case of a statement-level trigger.

See Also:
SQLTablesPackage.getActionGranularityType()

Field Summary
static int ROW
          The 'ROW' literal value.
static ActionGranularityType ROW_LITERAL
          The 'ROW' literal object.
static int STATEMENT
          The 'STATEMENT' literal value.
static ActionGranularityType STATEMENT_LITERAL
          The 'STATEMENT' literal object.
static java.util.List VALUES
          A public read-only list of all the 'Action Granularity Type' enumerators.
 
Method Summary
static ActionGranularityType get(int value)
          Returns the 'Action Granularity Type' literal with the specified value.
static ActionGranularityType get(java.lang.String name)
          Returns the 'Action Granularity Type' literal with the specified name.
 
Methods inherited from class org.eclipse.emf.common.util.AbstractEnumerator
getName, getValue, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

STATEMENT

public static final int STATEMENT
The 'STATEMENT' literal value.
See Also:
STATEMENT_LITERAL

ROW

public static final int ROW
The 'ROW' literal value.
See Also:
ROW_LITERAL

STATEMENT_LITERAL

public static final ActionGranularityType STATEMENT_LITERAL
The 'STATEMENT' literal object.

If the meaning of 'STATEMENT' literal object isn't clear, there really should be more of a description here...

See Also:
STATEMENT

ROW_LITERAL

public static final ActionGranularityType ROW_LITERAL
The 'ROW' literal object.

If the meaning of 'ROW' literal object isn't clear, there really should be more of a description here...

See Also:
ROW

VALUES

public static final java.util.List VALUES
A public read-only list of all the 'Action Granularity Type' enumerators.
Method Detail

get

public static ActionGranularityType get(java.lang.String name)
Returns the 'Action Granularity Type' literal with the specified name.

get

public static ActionGranularityType get(int value)
Returns the 'Action Granularity Type' literal with the specified value.