Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

Source code: com/flexstor/common/constants/AssetRolesI.java


1   /*
2    * AssetRolesI.java
3    *
4    * Copyright $Date: 2003/08/11 02:22:32 $ FLEXSTOR.net Inc.
5    *
6    * This work is licensed for use and distribution under license terms found at
7    * http://www.flexstor.org/license.html
8    *
9    */
10  
11  package com.flexstor.common.constants;
12  
13  /**
14   * These are the Asset Role Type's for FlexStore.
15   * It must be <b>NOTED</b> that the constant
16   * identifiers must match those provided in 
17   * the asset_role_list table for FlexStore!
18   *
19   * @author Daniel J. Nickel 2/10/99
20   * @version 1.0
21   * @since FlexDB 3.0
22   */
23  
24  public interface AssetRolesI
25  {
26  
27      /* MKS Identifier */
28      public final static String IDENTIFIER="$Id: AssetRolesI.java,v 1.2 2003/08/11 02:22:32 aleric Exp $";
29  
30      /**
31      * HighRes
32      */
33      public final static int HIGHRES = 1;
34      
35      /**
36      * LowRes
37      */
38      public final static int LOWRES = 2;
39      
40      /**
41      * Thumbnail
42      */
43      public final static int THUMBNAIL = 3;
44      
45      /**
46      * Layout
47      */
48      public final static int LAYOUT = 4;
49      
50      /**
51      * Audio
52      */
53      public final static int AUDIO = 6;
54      
55      /**
56      * Video
57      */
58      public final static int VIDEO = 5;
59      
60      /* This can be used to do a lookup of Asset
61          or used to populate the asset_role table */
62      public static String roles[] = {"", 
63                                      "HIGHRES",
64                                       "LOWRES",
65                                       "THUMBNAIL",
66                                       "LAYOUT",
67                                       "VIDEO",
68                                       "AUDIO" };
69                                       
70      // This is used to store the largest asset role id
71      // NOTE!!!!: If an asset role is added, then this needs to be incremented
72      public final static int LARGEST_ASSET_ROLE = 6;
73  }