6888e657486b356358bf080204690d27d839158f
[mir.git] / source / mircoders / entity / EntityBreaking.java
1 package mircoders.entity;
2
3 /**
4  * Title: EntityBreaking
5  * Description: Maps table "breaking" to Java Object
6  * Copyright:    Copyright (c) 2001
7  * Company:      Indymedia.de
8  * @author /rk
9  * @version 1.0
10  */
11
12
13 import  java.util.*;
14
15 import  mir.entity.*;
16 import  mir.storage.*;
17 import  mir.storage.store.*;
18
19
20 public class EntityBreaking extends Entity implements StorableObject
21 {
22         public EntityBreaking() {       super();        }
23         public EntityBreaking(StorageObject theStorage) {       this(); setStorage(theStorage); }
24
25
26     /**
27    *  Method:       getStoreIdentifier
28    *  Description:  returns unique StoreIdentifer under which the Entity
29    *                is Stored. Based upon primary key and tablename.
30    *
31    *  @return       StoreIdentifier
32    */
33   public StoreIdentifier getStoreIdentifier() {
34     String id = getId();
35     if ( id!=null && theStorageObject!= null )
36      return new StoreIdentifier(this, id+"@"+theStorageObject.getTableName());
37     return null;
38   }
39
40   /**
41    *  Method:       getNotifyOnReleaseSet()
42    *  Description:  returns empty Set, GenericContainer does not implement
43    *                dependencies.
44    *
45    *  @return       null
46    */
47   public Set getNotifyOnReleaseSet() { return null; }
48
49 }