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

📄 repository.java

📁 JDBF是一个实现o/r mapping 的软件
💻 JAVA
字号:
/*
 * 03/12/2002 - 14:08:11
 *
 * $RCSfile: Repository.java,v $ - JDBF Object Relational mapping system
 * Copyright (C) 2002 JDBF Development Team
 * 
 * http://jdbf.sourceforge.net
 *
 * This program 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
 * of the License, or (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 */
 
 /*
  * $Id: Repository.java,v 1.6 2004/05/20 22:41:22 gmartone Exp $
  */
package org.jdbf.engine.repository;

import org.jdbf.engine.basic.ObjectMapped;
import org.jdbf.engine.mapping.MappingException;


/**
 * <code>Repository</code> is the interfaces of repository.
 * 
 * @author Giovanni Martone
 * @version $Revision: 1.6 $
 * last changed by $Author: gmartone $ 
 */
public interface Repository{

	/**
	 * Return value of property specified in propertyName for
	 * ObjectMapped
	 * @param map
	 * @param propertyName
	 * @return Object
	 * @throws MappingException
	 */
	public Object getPropertyValue(ObjectMapped map,String propertyName) 
		throws MappingException;
	
	/**
	 * Set value for property specified in proertyName
	 * @param map
	 * @param propertyName
	 * @param propertyValue
	 * @return ObjectMapped
	 * @throws MappingException
	 */
	public ObjectMapped setPropertyValue(ObjectMapped map,String propertyName, 
	        Object propertyValue) throws MappingException;
}

/*
  $Log $
*/

⌨️ 快捷键说明

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