com.hp.hpl.jena.sparql.expr.nodevalue
Class NodeValueInteger

java.lang.Object
  extended by com.hp.hpl.jena.sparql.expr.ExprNode
      extended by com.hp.hpl.jena.sparql.expr.NodeValue
          extended by com.hp.hpl.jena.sparql.expr.nodevalue.NodeValueInteger
All Implemented Interfaces:
Expr

public class NodeValueInteger
extends NodeValue


Field Summary
 
Fields inherited from class com.hp.hpl.jena.sparql.expr.NodeValue
DecimalZERO, FALSE, IntegerZERO, nvEmptyString, nvINF, nvNaN, nvNegINF, nvNothing, nvONE, nvZERO, TRUE, VerboseExceptions, VerboseWarnings
 
Fields inherited from interface com.hp.hpl.jena.sparql.expr.Expr
CMP_EQUAL, CMP_GREATER, CMP_INDETERMINATE, CMP_LESS, CMP_UNEQUAL
 
Constructor Summary
NodeValueInteger(BigInteger i)
           
NodeValueInteger(BigInteger i, com.hp.hpl.jena.graph.Node n)
           
NodeValueInteger(long i)
           
 
Method Summary
 String asString()
           
 BigDecimal getDecimal()
           
 double getDouble()
           
 float getFloat()
           
 BigInteger getInteger()
           
 boolean isDecimal()
           
 boolean isDouble()
           
 boolean isFloat()
           
 boolean isInteger()
           
 boolean isNumber()
           
 String toString()
           
 void visit(NodeValueVisitor visitor)
           
 
Methods inherited from class com.hp.hpl.jena.sparql.expr.NodeValue
apply, applyNodeTransform, asNode, asQuotedString, asQuotedString, asUnquotedString, booleanReturn, compare, compareAlways, copySubstitute, equals, eval, evalNode, getBoolean, getConstant, getDateTime, getDuration, getNode, getString, hasDateTime, hashCode, hasNode, isBlank, isBoolean, isConstant, isDate, isDateTime, isDuration, isGDay, isGMonth, isGMonthDay, isGYear, isGYearMonth, isIRI, isLiteral, isString, isTime, makeBoolean, makeDate, makeDate, makeDateTime, makeDateTime, makeDecimal, makeDecimal, makeDecimal, makeDecimal, makeDouble, makeFloat, makeInteger, makeInteger, makeInteger, makeNode, makeNode, makeNode, makeNode, makeNodeBoolean, makeNodeBoolean, makeNodeDate, makeNodeDate, makeNodeDateTime, makeNodeDateTime, makeNodeDecimal, makeNodeDecimal, makeNodeDouble, makeNodeDouble, makeNodeFloat, makeNodeFloat, makeNodeInteger, makeNodeInteger, makeNodeString, makeString, notSameAs, notSameAs, raise, sameAs, toNode, visit
 
Methods inherited from class com.hp.hpl.jena.sparql.expr.ExprNode
asVar, copySubstitute, deepCopy, getExpr, getExprVar, getFunction, getGraphPattern, getVarName, getVarNamesMentioned, getVarsMentioned, isExpr, isFunction, isGraphPattern, isSatisfied, isVariable, varNamesMentioned, varsMentioned
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NodeValueInteger

public NodeValueInteger(BigInteger i)

NodeValueInteger

public NodeValueInteger(BigInteger i,
                        com.hp.hpl.jena.graph.Node n)

NodeValueInteger

public NodeValueInteger(long i)
Method Detail

isNumber

public boolean isNumber()
Overrides:
isNumber in class NodeValue

isInteger

public boolean isInteger()
Overrides:
isInteger in class NodeValue

isDecimal

public boolean isDecimal()
Overrides:
isDecimal in class NodeValue

isFloat

public boolean isFloat()
Overrides:
isFloat in class NodeValue

isDouble

public boolean isDouble()
Overrides:
isDouble in class NodeValue

getInteger

public BigInteger getInteger()
Overrides:
getInteger in class NodeValue

getDouble

public double getDouble()
Overrides:
getDouble in class NodeValue

getFloat

public float getFloat()
Overrides:
getFloat in class NodeValue

getDecimal

public BigDecimal getDecimal()
Overrides:
getDecimal in class NodeValue

asString

public String asString()
Overrides:
asString in class NodeValue

toString

public String toString()
Overrides:
toString in class NodeValue

visit

public void visit(NodeValueVisitor visitor)
Specified by:
visit in class NodeValue


Licenced under the Apache License, Version 2.0