private static DatabaseImcs instance;
public static DatabaseImcs getInstance() throws StorageObjectException {
- if (instance == null) {
- instance = new DatabaseImcs();
- instance.myselfDatabase = instance;
- }
- return instance;
+ if (instance == null) {
+ instance = new DatabaseImcs();
+ instance.myselfDatabase = instance;
+ }
+ return instance;
}
private DatabaseImcs() throws StorageObjectException
{
- super();
+ super();
this.cache = new HashMap();
this.hasTimestamp = false;
- this.theTable="imc";
+ this.theTable="links_imc";
try {
- this.theEntityClass = Class.forName("mircoders.entity.EntityImcs");
+ this.theEntityClass = Class.forName("mircoders.entity.EntityImcs");
}
catch (Exception e) {
- throw new StorageObjectException(e.toString());
+ throw new StorageObjectException(e.toString());
}
}
public SimpleList getPopupData() {
return getPopupData("title",true);
}
-
-
-
-}
+}
\ No newline at end of file