first cut of merge of STABLE-pre1_0 into HEAD. I won't even guarantee that it
[mir.git] / source / mircoders / entity / EntityFeature.java
1 package mircoders.entity;
2
3 import java.lang.*;
4 import java.io.*;
5 import java.util.*;
6 import java.sql.*;
7
8 import mir.entity.*;
9 import mir.misc.*;
10 import mir.storage.*;
11
12 import mircoders.storage.*;
13 /**
14  * Diese Klasse enthält die Daten eines MetaObjekts
15  *
16  * @author RK
17  * @version 29.6.1999
18  */
19
20
21 public class EntityFeature extends Entity
22 {
23
24                 public EntityFeature()
25                 {
26         super();
27                 }
28
29                 public EntityFeature(StorageObject theStorage) {
30                         this();
31         setStorage(theStorage);
32                 }
33
34         public void update() throws StorageObjectException{
35                 super.update();
36                 DatabaseContent dbContent = DatabaseContent.getInstance();
37                 dbContent.setUnproduced("to_feature="+getId());
38         }
39
40 }