www.pudn.com > town-1[1].0.4.rar > Enums.java


package com.workingdogs.town; 
 
/* 
Town, a Java JDBC abstraction layer 
Copyright (C) 1999  Serge Knystautas, Jon S. Stevens 
 
This library is free software; you can redistribute it and/or 
modify it under the terms of the GNU Library General Public 
License as published by the Free Software Foundation; either 
version 2 of the License, or (at your option) any later version. 
 
This library is distributed in the hope that it will be useful, 
but WITHOUT ANY WARRANTY; without even the implied warranty of 
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
Library General Public License for more details. 
 
You should have received a copy of the GNU Library General Public 
License along with this library; if not, write to the 
Free Software Foundation, Inc., 59 Temple Place - Suite 330, 
Boston, MA  02111-1307, USA. 
*/ 
/** 
  A class for constants. 
 
@author Jon S. Stevens jon@working-dogs.com 
@author Serge Knystautas sergek@lokitech.com 
@version 1.0 
*/ 
public class Enums 
{ 
    /** DataSet record that has been deleted but not removed from the DataSet */ 
    public final static int ZOMBIE = 1; 
    /** A record marked for delete */ 
    public final static int DELETE = 2; 
    /** A record marked for update */ 
    public final static int UPDATE = 3; 
    /** A record marked for insert */ 
    public final static int INSERT = 4; 
    /** trigger state before a delete is run */ 
    public final static int BEFOREDELETE = 5; 
    /** trigger state after a delete is run */ 
    public final static int AFTERDELETE = 6; 
    /** trigger state before a insert is run */ 
    public final static int BEFOREINSERT = 7; 
    /** trigger state after a insert is run */ 
    public final static int AFTERINSERT = 8; 
    /** trigger state before a update is run */ 
    public final static int BEFOREUPDATE = 9; 
    /** trigger state after a update is run */ 
    public final static int AFTERUPDATE = 10; 
    /** an unknown type */ 
    public final static int UNKNOWN = 11; 
    /** an oracle type */ 
    public final static int ORACLE = 12; 
    /** an sybase type */ 
    public final static int SYBASE = 13; 
    /** an sqlserver type */ 
    public final static int SQLSERVER = 14; 
}