站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > Hibernate 2.1.8 正式版 API 英文文档

AbstractComponentType (Hibernate API Documentation) - Hibernate 2.1.8 正式版 API 英文文档


net.sf.hibernate.type
Interface AbstractComponentType

All Superinterfaces:
Serializable, Type
All Known Implementing Classes:
ComponentType, CompositeCustomType, DynamicComponentType, ObjectType

public interface AbstractComponentType
extends Type

Enables other Component-like types to hold collections and have cascades, etc.

Author:
Gavin King
See Also:
ComponentType, ObjectType

Method Summary
 Cascades.CascadeStyle cascade(int i)
           
 int enableJoinedFetch(int i)
           
 String[] getPropertyNames()
           
 Object getPropertyValue(Object component, int i, SessionImplementor session)
           
 Object[] getPropertyValues(Object component)
          Optional operation
 Object[] getPropertyValues(Object component, SessionImplementor session)
           
 Type[] getSubtypes()
           
 void setPropertyValues(Object component, Object[] values)
          Optional operation
 
Methods inherited from interface net.sf.hibernate.type.Type
assemble, copy, deepCopy, disassemble, equals, fromString, getColumnSpan, getName, getReturnedClass, hasNiceEquals, hydrate, isAssociationType, isComponentType, isDirty, isEntityType, isModified, isMutable, isObjectType, isPersistentCollectionType, nullSafeGet, nullSafeGet, nullSafeSet, resolveIdentifier, sqlTypes, toString
 

Method Detail

getSubtypes

public Type[] getSubtypes()

getPropertyNames

public String[] getPropertyNames()

getPropertyValues

public Object[] getPropertyValues(Object component,
                                  SessionImplementor session)
                           throws HibernateException
Throws:
HibernateException

getPropertyValues

public Object[] getPropertyValues(Object component)
                           throws HibernateException
Optional operation

Throws:
HibernateException

setPropertyValues

public void setPropertyValues(Object component,
                              Object[] values)
                       throws HibernateException
Optional operation

Throws:
HibernateException

getPropertyValue

public Object getPropertyValue(Object component,
                               int i,
                               SessionImplementor session)
                        throws HibernateException
Throws:
HibernateException

cascade

public Cascades.CascadeStyle cascade(int i)

enableJoinedFetch

public int enableJoinedFetch(int i)