Skip navigation links

Oracle® OLAP Java API Reference
11g Release 1 (11.1)

B28128-01


oracle.olapi.syntax
Class KeywordArgument

java.lang.Object
  extended by oracle.olapi.syntax.SyntaxObject
      extended by oracle.olapi.syntax.DataObject
          extended by oracle.olapi.syntax.KeywordArgument

All Implemented Interfaces:
FunctionArgument

public final class KeywordArgument
extends DataObject
implements FunctionArgument

A DataObject that represents a keyword as a function argument.


Constructor Summary
KeywordArgument(java.lang.String name)
          Creates an KeywordArgument with the specified name.

 

Method Summary
 boolean equals(java.lang.Object rhs)
          Indicates whether this KeywordArgument is the same as the specified KeywordArgument.
 java.lang.String getName()
          Gets the name of this KeywordArgument.
 java.lang.Object visit(SyntaxObjectVisitor visitor, java.lang.Object context)
          Calls the visitKeywordArgument method of the SyntaxObjectVisitor and passes that method this KeywordArgument and an Object.

 

Methods inherited from class oracle.olapi.syntax.SyntaxObject
fromSyntax, fromSyntax, fromSyntax, fromSyntax, fromSyntax, isValid, toSyntax, toSyntax, toSyntax, toSyntax, toSyntax

 

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

 

Constructor Detail

KeywordArgument

public KeywordArgument(java.lang.String name)
Creates an KeywordArgument with the specified name.
Parameters:
name - A String that contains a name for the new KeywordArgument</CODE.

Method Detail

visit

public java.lang.Object visit(SyntaxObjectVisitor visitor,
                              java.lang.Object context)
Calls the visitKeywordArgument method of the SyntaxObjectVisitor and passes that method this KeywordArgument and an Object.
Specified by:
visit in class SyntaxObject
Parameters:
visitor - A SyntaxObjectVisitor.
context - An Object.
Returns:
The Object returned by the visitKeywordArgument method.

getName

public java.lang.String getName()
Gets the name of this KeywordArgument.
Returns:
A String that contains the name of this KeywordArgument</CODE.

equals

public boolean equals(java.lang.Object rhs)
Indicates whether this KeywordArgument is the same as the specified KeywordArgument.
Overrides:
equals in class java.lang.Object
Parameters:
rhs - A KeywordArgument to compare to this KeywordArgument.
Returns:
A boolean that is true if this KeywordArgument is the same as the input KeywordArgument or is false otherwise.

Skip navigation links

Copyright © 2002, 2007, Oracle. All rights reserved.