com.is.jrf
Interface JRFConstants

All Known Subinterfaces:
ColumnSpec
All Known Implementing Classes:
AbstractDomain

public interface JRFConstants

This interface should be implemented whenever a class wants easy access to the value of these variables.


Field Summary
static java.sql.Date CURRENT_DATE
           
static java.sql.Timestamp CURRENT_TIMESTAMP
          This is a special timestamp that, when detected, is replaced with the current date/time function in the sql.
static java.lang.String DEFAULT_TO_EMPTY_STRING
           
static java.lang.Boolean DEFAULT_TO_FALSE
           
static java.sql.Timestamp DEFAULT_TO_NOW
           
static java.lang.Object DEFAULT_TO_NULL
           
static java.lang.Integer DEFAULT_TO_ONE
           
static java.sql.Date DEFAULT_TO_TODAY
           
static java.lang.Boolean DEFAULT_TO_TRUE
           
static java.lang.Integer DEFAULT_TO_ZERO
           
static java.lang.String EQUALS
           
static int NATURAL_PRIMARY_KEY
           
static int NO_POST_FIND
          This option should be used as an argument to the AbstractDomain constructor when we don't want the postFind() method to be executed.
static java.lang.String NOT_EQUALS
           
static int OPTIMISTIC_LOCK
           
static int REQUIRED
           
static int SEQUENCED_PRIMARY_KEY
           
static int SUBTYPE_IDENTIFIER
           
static int UNIQUE
           
 

Field Detail

CURRENT_TIMESTAMP

public static final java.sql.Timestamp CURRENT_TIMESTAMP
This is a special timestamp that, when detected, is replaced with the current date/time function in the sql. This value must be unique enough that no one else would accidentally use it.

CURRENT_DATE

public static final java.sql.Date CURRENT_DATE

SEQUENCED_PRIMARY_KEY

public static final int SEQUENCED_PRIMARY_KEY

NATURAL_PRIMARY_KEY

public static final int NATURAL_PRIMARY_KEY

OPTIMISTIC_LOCK

public static final int OPTIMISTIC_LOCK

REQUIRED

public static final int REQUIRED

UNIQUE

public static final int UNIQUE

SUBTYPE_IDENTIFIER

public static final int SUBTYPE_IDENTIFIER

DEFAULT_TO_NULL

public static final java.lang.Object DEFAULT_TO_NULL

DEFAULT_TO_EMPTY_STRING

public static final java.lang.String DEFAULT_TO_EMPTY_STRING

DEFAULT_TO_ZERO

public static final java.lang.Integer DEFAULT_TO_ZERO

DEFAULT_TO_ONE

public static final java.lang.Integer DEFAULT_TO_ONE

DEFAULT_TO_NOW

public static final java.sql.Timestamp DEFAULT_TO_NOW

DEFAULT_TO_TODAY

public static final java.sql.Date DEFAULT_TO_TODAY

DEFAULT_TO_TRUE

public static final java.lang.Boolean DEFAULT_TO_TRUE

DEFAULT_TO_FALSE

public static final java.lang.Boolean DEFAULT_TO_FALSE

EQUALS

public static final java.lang.String EQUALS

NOT_EQUALS

public static final java.lang.String NOT_EQUALS

NO_POST_FIND

public static final int NO_POST_FIND
This option should be used as an argument to the AbstractDomain constructor when we don't want the postFind() method to be executed.