com.hp.hpl.jena.query
Class SortCondition

java.lang.Object
  extended by com.hp.hpl.jena.query.SortCondition

public class SortCondition
extends java.lang.Object


Field Summary
 int direction
           
 com.hp.hpl.jena.query.expr.Expr expression
           
 com.hp.hpl.jena.graph.Node variable
           
 
Constructor Summary
SortCondition(com.hp.hpl.jena.query.expr.Expr expr, int dir)
           
SortCondition(com.hp.hpl.jena.graph.Node var, int dir)
           
SortCondition(java.lang.String varName, int dir)
           
 
Method Summary
 boolean equals(java.lang.Object other)
           
 void format(com.hp.hpl.jena.query.expr.ExprVisitor fmt, com.hp.hpl.jena.query.util.IndentedWriter writer)
           
 int getDirection()
           
 com.hp.hpl.jena.query.expr.Expr getExpression()
           
 com.hp.hpl.jena.graph.Node getVariable()
           
 int hashCode()
           
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

expression

public com.hp.hpl.jena.query.expr.Expr expression

variable

public com.hp.hpl.jena.graph.Node variable

direction

public int direction
Constructor Detail

SortCondition

public SortCondition(com.hp.hpl.jena.graph.Node var,
                     int dir)

SortCondition

public SortCondition(com.hp.hpl.jena.query.expr.Expr expr,
                     int dir)

SortCondition

public SortCondition(java.lang.String varName,
                     int dir)
Method Detail

format

public void format(com.hp.hpl.jena.query.expr.ExprVisitor fmt,
                   com.hp.hpl.jena.query.util.IndentedWriter writer)

getDirection

public int getDirection()
Returns:
Returns the direction.

getExpression

public com.hp.hpl.jena.query.expr.Expr getExpression()
Returns:
Returns the expression.

getVariable

public com.hp.hpl.jena.graph.Node getVariable()
Returns:
Returns the variable.

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object other)
Overrides:
equals in class java.lang.Object


Copyright © 2004, 2005 Hewlett-Packard Development Company, LP