📄 abstractcomponenttype.java
字号:
//$Id: AbstractComponentType.java,v 1.8.2.1 2003/11/12 09:02:43 oneovthafew Exp $package net.sf.hibernate.type;import net.sf.hibernate.HibernateException;import net.sf.hibernate.engine.Cascades;import net.sf.hibernate.engine.SessionImplementor;/** * Enables other Component-like types to hold collections and have cascades, etc. * * @see ComponentType * @see DynaBeanType * @see ObjectType * @author Gavin King */public interface AbstractComponentType extends Type { public Type[] getSubtypes(); public String[] getPropertyNames(); public Object[] getPropertyValues(Object component, SessionImplementor session) throws HibernateException; /** * Optional operation */ public Object[] getPropertyValues(Object component) throws HibernateException; /** * Optional operation */ public void setPropertyValues(Object component, Object[] values) throws HibernateException; public Object getPropertyValue(Object component, int i, SessionImplementor session) throws HibernateException; //public Object instantiate(Object parent, SessionImplementor session) throws HibernateException; public Cascades.CascadeStyle cascade(int i); public int enableJoinedFetch(int i);}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -