package mircoders.entity;
-import java.lang.*;
-import java.io.*;
-import java.util.*;
-import java.sql.*;
+import java.util.*;
-import mir.entity.*;
-import mir.misc.*;
-import mir.storage.*;
+import mir.entity.*;
+import mir.storage.*;
+import mir.storage.store.*;
-import mircoders.storage.*;
/**
* Diese Klasse enthält die Daten eines MetaObjekts
*
*/
-public class EntityLinksImcs extends Entity
+public class EntityLinksImcs extends Entity implements StorableObject
{
- private static int instances;
public EntityLinksImcs(){
super();
- instances++;
}
public EntityLinksImcs(StorageObject theStorage)
setStorage(theStorage);
}
- public void finalize() {
- instances--;
- super.finalize();
+ /**
+ * Method: getStoreIdentifier
+ * Description: returns unique StoreIdentifer under which the Entity
+ * is Stored. Based upon primary key and tablename.
+ *
+ * @return StoreIdentifier
+ */
+ public StoreIdentifier getStoreIdentifier() {
+ String id = getId();
+ if ( id!=null && theStorageObject!= null )
+ return new StoreIdentifier(this, id+"@"+theStorageObject.getTableName());
+ return null;
}
+
+ /**
+ * Method: getNotifyOnReleaseSet()
+ * Description: returns empty Set, GenericContainer does not implement
+ * dependencies.
+ *
+ * @return null
+ */
+ public Set getNotifyOnReleaseSet() { return null; }
+
}
+