1 package de.webman.acl; 2 3 import com.teamkonzept.lib.TKException; 4 import com.teamkonzept.lib.TKVector; 5 import de.webman.acl.db.EventDBData; 6 7 14 public class Event 15 extends WMObject 16 { 17 18 20 22 25 private String name = null; 26 27 28 30 35 protected Event (EventDBData data) 36 { 37 super(data); 38 39 this.name = data.getName(); 40 } 41 42 43 45 51 public final ObjectFactory getFactory () 52 throws TKException 53 { 54 return EventFactory.getInstance(); 55 } 56 57 62 public final String getName () 63 { 64 return name; 65 } 66 67 72 public final void setName (String name) 73 { 74 super.modifyAttribute(this.name, name); 75 this.name = name; 76 } 77 78 84 public final TKVector getActions () 85 throws TKException 86 { 87 return ActionFactory.getInstance().getActions(this); 88 } 89 90 } 91 | Popular Tags |