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

📄 abstractcomponenttype.java

📁 一个Java持久层类库
💻 JAVA
字号:
//$Id: AbstractComponentType.java 7670 2005-07-29 05:36:14Z oneovthafew $package org.hibernate.type;import java.lang.reflect.Method;import org.hibernate.EntityMode;import org.hibernate.FetchMode;import org.hibernate.HibernateException;import org.hibernate.engine.CascadeStyle;import org.hibernate.engine.SessionImplementor;/** * Enables other Component-like types to hold collections and have cascades, etc. * * @see ComponentType * @see AnyType * @author Gavin King */public interface AbstractComponentType extends Type {	/**	 * Get the types of the component properties	 */	public Type[] getSubtypes();	/**	 * Get the names of the component properties	 */	public String[] getPropertyNames();	/**	 * Optional operation	 * @return nullability of component properties	 */	public boolean[] getPropertyNullability();	/**	 * Get the values of the component properties of 	 * a component instance	 */	public Object[] getPropertyValues(Object component, SessionImplementor session) throws HibernateException;	/**	 * Optional operation	 */	public Object[] getPropertyValues(Object component, EntityMode entityMode) throws HibernateException;	/**	 * Optional operation	 */	public void setPropertyValues(Object component, Object[] values, EntityMode entityMode) throws HibernateException;	public Object getPropertyValue(Object component, int i, SessionImplementor session) throws HibernateException;	//public Object instantiate(Object parent, SessionImplementor session) throws HibernateException;	public CascadeStyle getCascadeStyle(int i);	public FetchMode getFetchMode(int i);	public boolean isMethodOf(Method method);	public boolean isEmbedded();}

⌨️ 快捷键说明

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