View Javadoc

1   /***
2    Copyright (C) 2005 The Java Community
3   
4    This program is free software; you can redistribute it and/or modify  it under
5    the terms of the GNU General Public License as published by  the Free Software
6    Foundation; either version 2 of the License, or  (at your option) any later
7    version.
8   
9    This program is distributed in the hope that it will be useful,  but WITHOUT
10   ANY WARRANTY; without even the implied warranty of  MERCHANTABILITY or FITNESS
11   FOR A PARTICULAR PURPOSE. See the  GNU General Public License for more details.
12  
13   You should have received a copy of the GNU General Public License  along with
14   this program; if not, write to the Free Software  Foundation, Inc., 59 Temple
15   Place, Suite 330, Boston, MA 02111-1307 USA.
16  
17   */
18  package org.bejug.javacareers.jobs.constants;
19  
20  import java.io.Serializable;
21  
22  /***
23   * This class contains the constants used for the status of an offer.
24   * Todo: Introduce enum (J2SE 5)
25   *
26   * @author bme (Last modified by $Author: shally $)
27   * @version $Revision: 1.4 $ - $Date: 2005/12/20 15:36:45 $
28   */
29  public class StatusConstants implements Serializable {
30      
31      /***
32       * Status indicating that the offer is not yet published.
33       */
34      public final int NOT_PUBLISHED_YET = 0;
35      
36      /***
37       * Status indicating the offer is online. This implies that publicationdate
38       * is reached.
39       */
40      public final int ACTIVE = 1;
41      
42      /***
43       * Status indicating the offer is offline.
44       */
45      public final int INACTIVE = -1;
46      
47      /***
48       * Status indicating the offer is archived.
49       */
50      public final int ARCHIVED = 999;
51  }
52  /***
53   * $Log: StatusConstants.java,v $
54   * Revision 1.4  2005/12/20 15:36:45  shally
55   * CheckStyle and PMD changes.
56   *
57   * Revision 1.3  2005/10/11 11:46:59  stephan_janssen
58   * Made class members public.
59   *
60   * Revision 1.2  2005/10/11 08:32:04  stephan_janssen
61   * Changed from interface to class and added todo in regards to enum.
62   *
63   * Revision 1.1  2005/08/26 07:58:29  ge0ffrey
64   * split up the sources in service, serviceimpl and webclient
65   *
66   * Revision 1.2  2005/06/09 08:18:43  bejug_cc
67   * Fix initial import
68   *
69   * Revision 1.6  2005/05/11 17:25:39  sja
70   * Fields in an interface are implicitly static and final ie they MUST be constants (JLS§9.3).
71   *
72   * Revision 1.5  2005/05/11 12:49:30  ssc
73   * Checstyle errors
74   *
75   * Revision 1.4  2005/05/02 12:11:39  bme
76   * introduced some constants
77   *
78   * Revision 1.3  2005/05/01 22:02:21  sja
79   * Added CVS tags.
80   *
81   * Revision 1.2  2005/04/29 07:10:03  PSONG09
82   * update
83   * Revision 1.1 2005/04/19 11:51:22 PSONG09 First
84   * release
85   * 
86   * Revision 1.2 2005/04/18 09:57:45 bme *** empty log message ***
87   * 
88   * Revision 1.1 2005/04/15 14:15:32 sja First release
89   *  
90   */