1 13 14 package org.ejbca.core.ejb; 15 16 import javax.ejb.CreateException ; 17 18 19 20 52 public abstract class BasePropertyEntityBean extends BaseEntityBean { 53 54 59 public abstract String getId(); 60 61 64 public abstract void setId(String id); 65 66 71 public abstract String getProperty(); 72 73 76 public abstract void setProperty(String property); 77 78 82 public abstract String getValue(); 83 84 88 public abstract void setValue(String value); 89 90 93 public BasePropertyEntityBean() { 94 super(); 95 } 96 97 102 public PropertyEntityPK ejbCreate(String id, String property, String value) 103 throws CreateException { 104 PropertyEntityPK pk = new PropertyEntityPK(id,property); 105 setId(id); 106 setProperty(property); 107 setValue(value); 108 return pk; 109 } 110 111 public void ejbPostCreate(String id, String property, String value) { 112 } 114 115 } 116 | Popular Tags |