|
Oracle® OLAP Java API Reference 11g Release 2 (11.2) E10794-01 Beta Draft |
||||||||
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.DateExpression
public class DateExpression
A LiteralExpression
that represents a date.
Constructor Summary | |
---|---|
DateExpression(java.lang.String value,
DataType dataType)
Creates a new DateExpression of the specified data type and
with the specified value. |
Method Summary | |
---|---|
java.lang.String |
getValue()
Gets the value of this DateExpression . |
java.lang.Object |
visit(SyntaxObjectVisitor visitor,
java.lang.Object context)
Calls the visitDateExpression method of the
SyntaxObjectVisitor and passes that method this
DateExpression 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, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DateExpression(java.lang.String value, DataType dataType)
DateExpression
of the specified data type and
with the specified value.
value
- A String
that contains an expression that resolves
to a date.dataType
- A DataType
that represents a data type that is
in the DataType.DATETIME_CATEGORY
category.Method Detail |
---|
public java.lang.Object visit(SyntaxObjectVisitor visitor, java.lang.Object context)
visitDateExpression
method of the
SyntaxObjectVisitor
and passes that method this
DateExpression
and an Object
.
visit
in class SyntaxObject
visitor
- A SyntaxObjectVisitor
.context
- An Object
.
Object
returned by the
visitDateExpression
method.public java.lang.String getValue()
DateExpression
.
String
that contains the value of this
DateExpression
.
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |