1 package org.hibernate.type; 3 4 import java.lang.reflect.Method ; 5 6 import org.hibernate.EntityMode; 7 import org.hibernate.FetchMode; 8 import org.hibernate.HibernateException; 9 import org.hibernate.engine.CascadeStyle; 10 import org.hibernate.engine.SessionImplementor; 11 12 19 public interface AbstractComponentType extends Type { 20 public Type[] getSubtypes(); 21 public String [] getPropertyNames(); 22 26 public boolean[] getPropertyNullability(); 27 public Object [] getPropertyValues(Object component, SessionImplementor session) throws HibernateException; 28 32 public Object [] getPropertyValues(Object component, EntityMode entityMode) throws HibernateException; 33 37 public void setPropertyValues(Object component, Object [] values, EntityMode entityMode) throws HibernateException; 38 public Object getPropertyValue(Object component, int i, SessionImplementor session) throws HibernateException; 39 public CascadeStyle getCascadeStyle(int i); 41 public FetchMode getFetchMode(int i); 42 public boolean isMethodOf(Method method); 43 } 44 | Popular Tags |