net.sf.jso.query
Class OrderOperator

java.lang.Object
  extended bynet.sf.jso.query.OrderOperator
All Implemented Interfaces:
java.io.Serializable

public class OrderOperator
extends java.lang.Object
implements java.io.Serializable

Operator for order expressions.

See Also:
Serialized Form

Field Summary
static OrderOperator ASC
           
static OrderOperator ASCENDING
           
static OrderOperator DESC
           
static OrderOperator DESCENDING
           
 
Method Summary
 boolean acceptsOperand(java.lang.Integer type)
          Indicates if operator accepts a certain type for operand.
 java.lang.String toString()
          Returns a string representation of the operator.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

ASCENDING

public static final OrderOperator ASCENDING

ASC

public static final OrderOperator ASC

DESCENDING

public static final OrderOperator DESCENDING

DESC

public static final OrderOperator DESC
Method Detail

toString

public java.lang.String toString()
Returns a string representation of the operator.

Returns:
A string representation of the operator.

acceptsOperand

public boolean acceptsOperand(java.lang.Integer type)
Indicates if operator accepts a certain type for operand. Only wrapper types are accepted.

Parameters:
type - Integer containing storable field type.
Returns:
true if operand can be used; false otherwise.