1 13 14 package org.ejbca.core.ejb.hardtoken; 15 16 17 import javax.ejb.CreateException ; 18 19 import org.ejbca.core.ejb.BaseEntityBean; 20 21 22 71 public abstract class HardTokenPropertyEntityBean extends BaseEntityBean { 72 73 public static final String PROPERTY_COPYOF = "copyof="; 74 75 76 81 public abstract String getId(); 82 83 85 public abstract void setId(String id); 86 87 92 public abstract String getProperty(); 93 94 96 public abstract void setProperty(String property); 97 98 102 public abstract String getValue(); 103 104 107 public abstract void setValue(String value); 108 109 113 public HardTokenPropertyPK ejbCreate(String id, String property, String value) 114 throws CreateException { 115 setId(id); 116 setProperty(property); 117 setValue(value); 118 return null; 119 } 120 121 public void ejbPostCreate(String id, String property, String value) { 122 } 124 } 125 | Popular Tags |