|
Oracle® OLAP Java API Reference 11g Release 1 (11.1) B28128-03 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectoracle.olapi.syntax.SyntaxObject
oracle.olapi.syntax.DataObject
oracle.olapi.syntax.Expression
oracle.olapi.syntax.TypedExpression
oracle.olapi.syntax.LiteralExpression
oracle.olapi.syntax.StringExpression
public class StringExpression
A LiteralExpression that represents a literal text expression.
| Constructor Summary | |
|---|---|
StringExpression(java.lang.String value)
Creates a StringExpression with the specified
value. |
|
StringExpression(java.lang.String value,
boolean useNVarchar2)
Creates a StringExpression with the specified
value and specifies whether to make the data type of the expression
an NVARCHAR2 or a VARCHAR2. |
|
| Method Summary | |
|---|---|
java.lang.String |
getValue()
Gets the value of this StringExpression. |
java.lang.Object |
visit(SyntaxObjectVisitor visitor,
java.lang.Object context)
Calls the visitStringExpression method of the
SyntaxObjectVisitor and passes that method this
StringExpression and an Object. |
| Methods inherited from class oracle.olapi.syntax.SyntaxObject |
|---|
equals, equals, fromSyntax, fromSyntax, fromSyntax, fromSyntax, fromSyntax, isValid, toSyntax, toSyntax, toSyntax, toSyntax, toSyntax |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public StringExpression(java.lang.String value,
boolean useNVarchar2)
StringExpression with the specified
value and specifies whether to make the data type of the expression
an NVARCHAR2 or a VARCHAR2.
value - A String that contains the value for this
expression.useNVarchar2 - A boolean that if true
makes the data type of the new
StringExpression be NVARCHAR2
or if false makes the data type be
VARCHAR2.public StringExpression(java.lang.String value)
StringExpression with the specified
value.
value - A String that contains the value for this
expression.| Method Detail |
|---|
public java.lang.Object visit(SyntaxObjectVisitor visitor,
java.lang.Object context)
visitStringExpression method of the
SyntaxObjectVisitor and passes that method this
StringExpression and an Object.
visit in class SyntaxObjectvisitor - A SyntaxObjectVisitor.context - An Object.
Object returned by the
visitStringExpression method.public java.lang.String getValue()
StringExpression.
String that contains the value of this
StringExpression.
|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||