org.nuxeo.ecm.core.query.sql.model
Class DoubleLiteral
java.lang.Object
org.nuxeo.ecm.core.query.sql.model.Literal
org.nuxeo.ecm.core.query.sql.model.DoubleLiteral
- All Implemented Interfaces:
- java.io.Serializable, ASTNode, Operand
public class DoubleLiteral
- extends Literal
- Author:
- Bogdan Stefanescu
- See Also:
- Serialized Form
Field Summary |
double |
value
|
Method Summary |
void |
accept(IVisitor visitor)
Accept the given visitor. |
java.lang.String |
asString()
Gets a string representation of the value. |
boolean |
equals(java.lang.Object obj)
|
int |
hashCode()
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
value
public final double value
DoubleLiteral
public DoubleLiteral(double value)
DoubleLiteral
public DoubleLiteral(java.lang.Double value)
DoubleLiteral
public DoubleLiteral(java.lang.Float value)
DoubleLiteral
public DoubleLiteral(java.lang.String value)
accept
public void accept(IVisitor visitor)
- Description copied from interface:
ASTNode
- Accept the given visitor.
- Parameters:
visitor
- the AST node visitor
asString
public java.lang.String asString()
- Description copied from class:
Literal
- Gets a string representation of the value.
- Specified by:
asString
in class Literal
- Returns:
- a string representation of the value
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
Copyright © 2010 Nuxeo SAS. All Rights Reserved.