org.apache.directory.shared.ldap.codec.extended.operations
Class StoredProcedureStatesEnum

java.lang.Object
  extended by org.apache.directory.shared.ldap.codec.extended.operations.StoredProcedureStatesEnum
All Implemented Interfaces:
IStates

public class StoredProcedureStatesEnum
extends java.lang.Object
implements IStates

Constants for StoredProcedureGrammar

Version:
$Rev$, $Date$,
Author:
Apache Directory Project

Field Summary
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
 
Fields inherited from interface org.apache.directory.shared.asn1.ber.grammar.IStates
END_STATE, GRAMMAR_END, INIT_GRAMMAR_STATE
 
Method Summary
 java.lang.String getGrammarName(IGrammar grammar)
          Get the grammar name
 java.lang.String getGrammarName(int grammar)
          Get the grammar name
static IStates getInstance()
          Get an instance of this class
 java.lang.String getState(int state)
          Get the string representing the state
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

START_STATE

public static final int START_STATE
starting state

See Also:
Constant Field Values

STORED_PROCEDURE_STATE

public static final int STORED_PROCEDURE_STATE
StoredProcedure

See Also:
Constant Field Values

LANGUAGE_STATE

public static final int LANGUAGE_STATE
Language

See Also:
Constant Field Values

PROCEDURE_STATE

public static final int PROCEDURE_STATE
Procedure

See Also:
Constant Field Values

PARAMETERS_STATE

public static final int PARAMETERS_STATE
Parameters

See Also:
Constant Field Values

PARAMETER_STATE

public static final int PARAMETER_STATE
Parameter

See Also:
Constant Field Values

PARAMETER_TYPE_STATE

public static final int PARAMETER_TYPE_STATE
Parameter type

See Also:
Constant Field Values

PARAMETER_VALUE_STATE

public static final int PARAMETER_VALUE_STATE
Parameter value

See Also:
Constant Field Values

LAST_STORED_PROCEDURE_STATE

public static final int LAST_STORED_PROCEDURE_STATE
See Also:
Constant Field Values
Method Detail

getInstance

public static IStates getInstance()
Get an instance of this class

Returns:
An instance on this class

getGrammarName

public java.lang.String getGrammarName(int grammar)
Get the grammar name

Specified by:
getGrammarName in interface IStates
Parameters:
grammar - The grammar code
Returns:
The grammar name

getGrammarName

public java.lang.String getGrammarName(IGrammar grammar)
Get the grammar name

Specified by:
getGrammarName in interface IStates
Parameters:
grammar - The grammar class
Returns:
The grammar name

getState

public java.lang.String getState(int state)
Get the string representing the state

Specified by:
getState in interface IStates
Parameters:
state - The state number
Returns:
The String representing the state


Copyright © 2003-2011 Apache Software Foundation. All Rights Reserved.