org.acmsl.queryj
Class IntField

java.lang.Object
  |
  +--org.acmsl.queryj.Field
        |
        +--org.acmsl.queryj.IntField

public abstract class IntField
extends Field

Represents integer fields.

Version:
$Revision: 1.1 $
Author:
Jose San Leandro

Constructor Summary
IntField(java.lang.String name, Table table)
          Creates an integer field using given information.
 
Method Summary
 Condition equals(int value)
          Retrieves the variable condition to be able to filter for equality.
 Condition greaterThan(int value)
          Retrieves the variable condition to be able to filter for lower values.
 Condition lessThan(int value)
          Retrieves the variable condition to be able to filter for higher values.
 Condition notEquals(int value)
          Retrieves the variable condition to be able to filter for non-equality.
 
Methods inherited from class org.acmsl.queryj.Field
equals, getName, getTable, greaterThan, in, isNull, lessThan, notEquals, notIn, setName, setTable, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

IntField

public IntField(java.lang.String name,
                Table table)
Creates an integer field using given information.

Parameters:
name - the field name.
table - the table.
Method Detail

equals

public Condition equals(int value)
Retrieves the variable condition to be able to filter for equality.

Parameters:
value - the value.
Returns:
such kind of condition.

notEquals

public Condition notEquals(int value)
Retrieves the variable condition to be able to filter for non-equality.

Parameters:
value - the value.
Returns:
such kind of condition.

greaterThan

public Condition greaterThan(int value)
Retrieves the variable condition to be able to filter for lower values.

Parameters:
value - the value.
Returns:
such kind of condition.

lessThan

public Condition lessThan(int value)
Retrieves the variable condition to be able to filter for higher values.

Parameters:
value - the value.
Returns:
such kind of condition.


Copyright © 2003 ACM S.L.. All Rights Reserved.