org.apache.clerezza.rdf.core.sparql.query
Class Variable

java.lang.Object
  extended by org.apache.clerezza.rdf.core.sparql.query.Variable
All Implemented Interfaces:
Expression

public class Variable
extends Object
implements Expression

Defines a Variable. A Variable can occur in an Expression and is itself an Expression.

Author:
hasan

Constructor Summary
Variable()
           
Variable(String name)
          Creates a variable with the specified name
 
Method Summary
 boolean equals(Object obj)
           
 String getName()
           
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Variable

public Variable()

Variable

public Variable(String name)
Creates a variable with the specified name

Parameters:
name -
Method Detail

getName

public String getName()
Returns:
the name

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object


Copyright © 2012 The Apache Software Foundation. All Rights Reserved.