org.nuxeo.ecm.core.query.sql.model
Class IntegerLiteral
java.lang.Object
org.nuxeo.ecm.core.query.sql.model.Literal
org.nuxeo.ecm.core.query.sql.model.IntegerLiteral
- All Implemented Interfaces:
- Serializable, ASTNode, Operand
public class IntegerLiteral
- extends Literal
- Author:
- Bogdan Stefanescu
- See Also:
- Serialized Form
value
public final long value
IntegerLiteral
public IntegerLiteral(long value)
IntegerLiteral
public IntegerLiteral(Long value)
IntegerLiteral
public IntegerLiteral(Integer value)
IntegerLiteral
public IntegerLiteral(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 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 String toString()
- Overrides:
toString
in class Object
equals
public boolean equals(Object obj)
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
Copyright © 2011 Nuxeo SAS. All Rights Reserved.