View Javadoc

1   /**
2    * Copyright 2005-2006 the original author or authors.
3    *
4    * Licensed under the Gnu General Pubic License, Version 2.0 (the
5    * "License"); you may not use this file except in compliance with
6    * the License. You may obtain a copy of the License at
7    *
8    *      http://www.opensource.org/licenses/gpl-license.php
9    *
10   * This program is distributed in the hope that it will be useful,
11   * but WITHOUT ANY WARRANTY; without even the implied warranty of
12   * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
13   * See the Gnu General Public License for more details.
14   */
15  package org.figure8.join.businessobjects.environment;
16  
17  /**
18   * A VersionedResource extension designed to be accessed only through Gateway.
19   * EIS are out of the scope of the project being integrated with Join but they
20   * are here to provide additional information on environment conifguration.
21   * @author <a href="mailto:laurent.broudoux@free.fr">Laurent Broudoux</a>
22   * @version $Revision: 1.3 $
23   *
24   * @hibernate.subclass table="join_resources" discriminator-value="EIS"
25   */
26  public class EIS extends VersionedResource{
27  
28     // Static -------------------------------------------------------------------
29  
30     /** The category information of the EIS implementation of VersionedResource */
31     public static final String CATEGORY = "EIS";
32  
33  
34     // Constructors -------------------------------------------------------------
35  
36     /** Creates a new instance of EIS */
37     public EIS(){
38        super();
39     }
40  
41     /**
42      * Creates a new instance of EIS with mandatory attribute
43      * @param name This resource name (must be unique)
44      */
45     public EIS(String name, EISType eisType){
46        super(name, eisType);
47     }
48  
49  
50     // Override of VersionedResource --------------------------------------------
51  
52     /**
53      * Return the category information on this resource.
54      * @return The category information as character string
55      */
56     public String getCategory(){
57        return CATEGORY;
58     }
59  }