Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.hp.hpl.jena.graph.query
Class Expression.Constant

    java.lang.Object
      com.hp.hpl.jena.graph.query.Expression.Base
          com.hp.hpl.jena.graph.query.Expression.Constant

All Implemented Interfaces:
  Expression

Direct Known Subclasses:
  Expression.Fixed

Enclosing interface:
  Expression

    public abstract static class Expression.Constant

extends Expression.Base

An abstract base class for literal nodes; subclasses implement getValue().

Nested Class Summary

Nested classes/interfaces inherited from interface com.hp.hpl.jena.graph.query.Expression
`Expression.Application, Expression.Base, Expression.BoolConstant, Expression.Constant, Expression.Fixed, Expression.Util, Expression.Valof, Expression.Variable`

Field Summary

Fields inherited from interface com.hp.hpl.jena.graph.query.Expression
`FALSE, TRUE`

Constructor Summary
`Expression.Constant()`

Method Summary
`abstract java.lang.Object` | `getValue()` If this Expression is a literal, answer the value of that literal.
`boolean` | `isConstant()` Answer true iff this Expression represents a literal [Java object] value.

Methods inherited from class com.hp.hpl.jena.graph.query.Expression.Base
`argCount, equals, getArg, getFun, getName, isApply, isVariable`

Methods inherited from class java.lang.Object
`getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Methods inherited from interface com.hp.hpl.jena.graph.query.Expression
`prepare`

Constructor Detail

### Expression.Constant

    public Expression.Constant()

Method Detail

### isConstant

    public boolean isConstant()

  Description copied from interface: `Expression`
  Answer true iff this Expression represents a literal [Java object] value.

  Specified by:
    `isConstant` in interface `Expression`
  Overrides:
    `isConstant` in class `Expression.Base`

### getValue

    public abstract java.lang.Object getValue()

  Description copied from interface: `Expression`
  If this Expression is a literal, answer the value of that literal. Otherwise the behaviour is unspecified.

  Specified by:
    `getValue` in interface `Expression`
  Overrides:
    `getValue` in class `Expression.Base`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 Hewlett-Packard Development Company, LP