📄 getter.java
字号:
//$Id: Getter.java,v 1.1.2.2 2003/09/13 16:42:25 oneovthafew Exp $
package net.sf.hibernate.property;
import java.lang.reflect.Method;
import net.sf.hibernate.HibernateException;
/**
* Gets values of a particular property
* @author Gavin King
*/
public interface Getter {
/**
* Get the property value from the given instance
*/
public Object get(Object target) throws HibernateException;
/**
* Get the declared Java type
*/
public Class getReturnType();
/**
* Optional operation (return null)
*/
public String getMethodName();
/**
* Optional operation (return null)
*/
public Method getMethod();
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -