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

📄 idgenerator.java

📁 根据Scott W. Ambler在1998年写的关于ORM Persistence Layer的详细设计论文的设计思路,Artem Rudoy 开发了一个开源的ORM实现 -- PL(Persist
💻 JAVA
字号:
package pl.sql;

import java.util.*;
import pl.*;

/**
 * Interface for all ID generators.
 *
 * @author: Artem Rudoy
 */
public interface IdGenerator
{
/**
 * Return new ID for the class specified by the classMap parameter.
 *
 * @return new ID for the class specified by the classMap parameter
 * @param classMap class map for which ID is needed
 */
public Object getNewId(pl.map.ClassMap classMap) throws PlException;
/**
 * Init ID generator.
 *
 * @param properties properties for this ID generator
 */
public void init(Properties parameters) throws PlException;
}

⌨️ 快捷键说明

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