View Javadoc

1   package org.astrogrid.store.delegate.myspaceItn05;
2   
3   /***
4    * The <code>EntryCodes</code> class defines the values for the various
5    * codes specifying the type of each entry (ie. file) held in a MySpace
6    * Service.  The alternatives are things like: VOTable, query, workflow
7    * etc.
8    *
9    * @author A C Davenhall (Edinburgh)
10   * @since Iteration 5.
11   * @version Iteration 5.
12   */
13  
14  public class EntryCodes
15  {  
16  
17  //
18  //Public constants defining the permitted codes for the entry type.
19  
20  /***
21   * The entry is of an unknown type.
22   */
23     public static final int UNKNOWN = 0;  // Unknown.
24  
25  /***
26   * The entry is a container.
27   */
28     public static final int CON = 1;      // Container.
29  
30  /***
31   * The entry is a VOTable.
32   */
33     public static final int VOT = 2;      // VOTable (XML).
34  
35  /***
36   * The entry is a query (XML).
37   */
38     public static final int QUERY = 3;    // Query (XML).
39  
40  /***
41   * The entry is a workflow (XML).
42   */
43     public static final int WORKFLOW = 4; // Workflow (XML).
44  
45  /***
46   * The entry is generic XML of unrecognised type.
47   */
48     public static final int XML = 5;      // Generic XML.
49  
50  }