1 package mircoders.entity;
12 import mircoders.storage.*;
14 * Diese Klasse enthält die Daten eines MetaObjekts
21 public class EntityMedia extends Entity
28 public EntityMedia(StorageObject theStorage)
31 setStorage(theStorage);
35 * fetches the MediaType entry assiciated w/ this media
37 * @return mir.entity.Entity
39 public Entity getMediaType() throws StorageObjectException {
41 return ((DatabaseMedia)theStorageObject).getMediaType(this);
42 } catch (StorageObjectException e) {
43 throw new StorageObjectException("getMediaType(): "+e.toString());