Skip navigation links


com.essbase.eas.essbase.ui.scripting.autocomplete
Class MDXCommand

java.lang.Object
  extended by com.essbase.eas.ui.editor.misc.StatementCommand
      extended by com.essbase.eas.essbase.ui.scripting.autocomplete.ScriptingCommand
          extended by com.essbase.eas.essbase.ui.scripting.autocomplete.MDXCommand

All Implemented Interfaces:
StatementToken, java.io.Serializable, java.lang.Cloneable
Direct Known Subclasses:
MDXCmdAXIS, MDXCmdBOOLEAN, MDXCmdDOT, MDXCmdMEM, MDXCmdROWCOL, MDXCmdSET, MDXFileName, MDXFuncs1Parm, MDXFuncs2Parm

public class MDXCommand
extends ScriptingCommand

Title: Description: Copyright: Copyright (c) 2001 Company: Hyperion Solutions Corporation

Version:
1.0
Author:
Bill Schleifer
See Also:
Serialized Form

Nested Class Summary

 

Nested classes/interfaces inherited from class com.essbase.eas.ui.editor.misc.StatementCommand
StatementCommand.WordListWindowPopup

 

Field Summary

 

Fields inherited from class com.essbase.eas.essbase.ui.scripting.autocomplete.ScriptingCommand
APPNAME, CALCNAME, DBNAME, ESSBASESERVER, FILTERNAME, FUNCNAME, GRPNAME, MACRONAME, USERNAME, VARNAME

 

Fields inherited from class com.essbase.eas.ui.editor.misc.StatementCommand
ADDPROPERTY, BRACKETED, CLASS, COMMAND, COMMANDS, DONOTLIST, EOL, FORCE, ISFUNCTION, list, LOOP, LOOPCOMMAND, NAME, nameTokens, next, NEXT_COMMAND, NOTIFYCLASS, NOTIFYMETHOD, NOTIFYOBJECT, OPT_PROPERTY, OPTIONAL, options, OPTIONS, optionTokens, PARAN, parent, PREFIX, prefixTokens, QUOTED, REGISTER, SUFFIX, suffixTokens, table, TEXT, TRIGGER_NEXT

 

Constructor Summary
MDXCommand()
           
MDXCommand(java.lang.Object parent, java.lang.String name)
           
MDXCommand(java.lang.Object parent, java.lang.String name, boolean lastToken)
           
MDXCommand(java.lang.Object parent, java.lang.String name, boolean lastToken, boolean optional)
           

 

Method Summary
protected  StatementCommand createOptionCommand(int index)
           
protected  int danglingTokenCount(java.util.List tokenList, int startindex)
           
protected  int danglingTokenCount(java.util.List tokenList, int startindex, boolean openParenOK)
           
protected  int danglingTokenCount(java.util.List tokenList, int startindex, boolean openParenOK, boolean openTupleOK)
           
 java.lang.String getEndOfStatement()
          Returns the string that represents the end of statement
protected  java.lang.String getLastToken(StatementContext context, int dec)
           
protected  boolean inOpenTuple(StatementContext context, int startindex)
           
protected  int is2ParmToken(StatementContext context, int startindex)
           
protected  int isTupleToken(StatementContext context, int startindex)
           
protected  EditToken newEditToken(java.lang.String text)
           
protected  int tokenListSize2Parm(StatementContext context, int startindex)
           
protected  int tokenListSizeWTuple(StatementContext context, int startindex)
           

 

Methods inherited from class com.essbase.eas.essbase.ui.scripting.autocomplete.ScriptingCommand
clone, compareTokens, getApplication, getApplication, getApplication, getApplication, getApplications, getChildNotifyObjects, getCurrentStatement, getDatabase, getDatabase, getDatabase, getDatabase, getDatabase, getNextTokens, getNotifyObjects, getObjects, getSafePrefix, getSafeSuffix, getSelectedServer, getTokenList, getTokenListEx, isLastToken, isNextToken, isToken, removeParanString, setCompleteText, setOptional, setWordCompleteText, showOptions

 

Methods inherited from class com.essbase.eas.ui.editor.misc.StatementCommand
addAttribute, addCommand, addCommandOptions, addNameTokens, addNextCommands, addOptionCommands, addOptions, addOptionsTokens, canceledCommand, checkFix, clearAttributes, exportXml, findCommand, generateSpaces, getAttribute, getAttributes, getCommands, getCommandsParent, getCommandTable, getElements, getKey, getLastStatementToken, getLineSep, getList, getName, getParent, getSafeKey, hasKey, insertCommand, isCommand, isForcedOption, isListEmpty, isOptional, isToken, put, removeAllCommands, removeAttribute, removeCommand, removeQuoteString, resetParent, resetSelection, setCompleteText, setCompleteText, setForcedOption, setName, setOptions, setParent, tokenListSize, toString, writeKeywordsToFile

 

Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

 

Constructor Detail

MDXCommand

public MDXCommand()

MDXCommand

public MDXCommand(java.lang.Object parent,
                  java.lang.String name)

MDXCommand

public MDXCommand(java.lang.Object parent,
                  java.lang.String name,
                  boolean lastToken)

MDXCommand

public MDXCommand(java.lang.Object parent,
                  java.lang.String name,
                  boolean lastToken,
                  boolean optional)

Method Detail

getEndOfStatement

public java.lang.String getEndOfStatement()
Description copied from interface: StatementToken
Returns the string that represents the end of statement
Specified by:
getEndOfStatement in interface StatementToken
Overrides:
getEndOfStatement in class StatementCommand

newEditToken

protected EditToken newEditToken(java.lang.String text)
Overrides:
newEditToken in class StatementCommand

createOptionCommand

protected StatementCommand createOptionCommand(int index)
Overrides:
createOptionCommand in class ScriptingCommand

danglingTokenCount

protected int danglingTokenCount(java.util.List tokenList,
                                 int startindex)

danglingTokenCount

protected int danglingTokenCount(java.util.List tokenList,
                                 int startindex,
                                 boolean openParenOK)

danglingTokenCount

protected int danglingTokenCount(java.util.List tokenList,
                                 int startindex,
                                 boolean openParenOK,
                                 boolean openTupleOK)

getLastToken

protected java.lang.String getLastToken(StatementContext context,
                                        int dec)

inOpenTuple

protected boolean inOpenTuple(StatementContext context,
                              int startindex)

isTupleToken

protected int isTupleToken(StatementContext context,
                           int startindex)

tokenListSizeWTuple

protected int tokenListSizeWTuple(StatementContext context,
                                  int startindex)

is2ParmToken

protected int is2ParmToken(StatementContext context,
                           int startindex)

tokenListSize2Parm

protected int tokenListSize2Parm(StatementContext context,
                                 int startindex)

Skip navigation links


Copyright © 2001, 2012, Oracle. All rights reserved.