⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 basepropertyentitybean.java

📁 一套JAVA的CA证书签发系统.
💻 JAVA
字号:
/************************************************************************* *                                                                       * *  EJBCA: The OpenSource Certificate Authority                          * *                                                                       * *  This software is free software; you can redistribute it and/or       * *  modify it under the terms of the GNU Lesser General Public           * *  License as published by the Free Software Foundation; either         * *  version 2.1 of the License, or any later version.                    * *                                                                       * *  See terms of license at gnu.org.                                     * *                                                                       * *************************************************************************/ package se.anatom.ejbca;import javax.ejb.CreateException;/** * Base class for property entity beans implementing required methods and helpers. * A property entity bean extends other entity beans with propertys. *  * Primary Key is a combined id and property hash. * id (String) primary key of entity bean using this property entity bean. * property String should be one of the property constants. * value (String) the value of the property. * * @version $Id: BasePropertyEntityBean.java,v 1.0 2003/12/26 12:37:16 herrvendil Exp  */public abstract class BasePropertyEntityBean extends BaseEntityBean {	public abstract String getId();	public abstract void setId(String id);	public abstract String getProperty();	public abstract void setProperty(String property);	public abstract String getValue();	public abstract void setValue(String value);    /**     * Creates a new BasePropertyEntityBean object.     */    public BasePropertyEntityBean() {        super();    }    	/**	 * Entity Bean holding data of a raadmin profile.	 *	 * 	 * @return PropertyEntityPK beeing the PrimaryKey for the created entity	 */	public PropertyEntityPK ejbCreate(String id, String property, String value)	       throws CreateException {	       		    PropertyEntityPK pk = new PropertyEntityPK(id,property); 		setId(id);		setProperty(property);		setValue(value);				return pk;	}	public void ejbPostCreate(String id, String property, String value) {		// Do nothing. Required.	}}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -