no message
[mir.git] / source / mircoders / storage / DatabaseLinksImcs.java
1 /*
2  * put your module comment here
3  * formatted with JxBeauty (c) johann.langhofer@nextra.at
4  */
5
6
7 package  mircoders.storage;
8
9 import  java.lang.*;
10 import  java.sql.*;
11 import  java.io.*;
12 import  java.util.*;
13 import  freemarker.template.*;
14 import  mir.storage.*;
15 import  mir.entity.*;
16 import  mir.misc.*;
17
18
19 /**
20  * <b>Diese Klasse implementiert die Datenbankverbindung zur MetaObjekt-Tabelle
21  *
22  *
23  */
24 public class DatabaseLinksImcs extends Database
25     implements StorageObject {
26   private static DatabaseLinksImcs instance;
27
28   /**
29    * put your documentation comment here
30    * @return
31    * @exception StorageObjectException
32    */
33   public static DatabaseLinksImcs getInstance () throws StorageObjectException {
34     if (instance == null) {
35       instance = new DatabaseLinksImcs();
36       instance.myselfDatabase = instance;
37     }
38     return  instance;
39   }
40
41   /**
42    * put your documentation comment here
43    */
44   private DatabaseLinksImcs () throws StorageObjectException
45   {
46     super();
47     //this.cache = new HashMap();
48     this.hasTimestamp = false;
49     this.theTable = "links_imcs";
50     try {
51       this.theEntityClass = Class.forName("mircoders.entity.EntityLinksImcs");
52     } catch (Exception e) {
53       throw  new StorageObjectException(e.toString());
54     }
55   }
56
57   /**
58    * put your documentation comment here
59    * @return
60    */
61   public SimpleHash getHashData () {
62     return  getHashData();
63   }
64
65   public SimpleList getPopupData () {
66     return  getPopupData();
67   }
68 }
69
70
71