public class StoredProcedureStatesEnum extends Object implements IStates
Modifier and Type | Field and Description |
---|---|
static int |
LANGUAGE_STATE
Language
|
static int |
LAST_STORED_PROCEDURE_STATE |
static int |
PARAMETER_STATE
Parameter
|
static int |
PARAMETER_TYPE_STATE
Parameter type
|
static int |
PARAMETER_VALUE_STATE
Parameter value
|
static int |
PARAMETERS_STATE
Parameters
|
static int |
PROCEDURE_STATE
Procedure
|
static int |
START_STATE
starting state
|
static int |
STORED_PROCEDURE_STATE
StoredProcedure
|
END_STATE, GRAMMAR_END, INIT_GRAMMAR_STATE
Modifier and Type | Method and Description |
---|---|
String |
getGrammarName(IGrammar grammar)
Get the grammar name
|
String |
getGrammarName(int grammar)
Get the grammar name
|
static IStates |
getInstance()
Get an instance of this class
|
String |
getState(int state)
Get the string representing the state
|
public static final int START_STATE
public static final int STORED_PROCEDURE_STATE
public static final int LANGUAGE_STATE
public static final int PROCEDURE_STATE
public static final int PARAMETERS_STATE
public static final int PARAMETER_STATE
public static final int PARAMETER_TYPE_STATE
public static final int PARAMETER_VALUE_STATE
public static final int LAST_STORED_PROCEDURE_STATE
public static IStates getInstance()
public String getGrammarName(int grammar)
getGrammarName
in interface IStates
grammar
- The grammar codepublic String getGrammarName(IGrammar grammar)
getGrammarName
in interface IStates
grammar
- The grammar classCopyright © 2003–2014 The Apache Software Foundation. All rights reserved.