Skip navigation links
oracle.olapi.syntax
Class KeywordArgument
java.lang.Object
oracle.olapi.syntax.SyntaxObject
oracle.olapi.syntax.DataObject
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 |
equals, equals, fromSyntax, fromSyntax, fromSyntax, fromSyntax, fromSyntax, isValid, toSyntax, toSyntax, toSyntax, toSyntax, toSyntax, toSyntax |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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.
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