Save This Page
Home » hibernate-annotations-3.4.0.CR1 » org.hibernate » type » [javadoc | source]
org.hibernate.type
public interface: AbstractComponentType [javadoc | source]

All Implemented Interfaces:
    Type

All Known Implementing Classes:
    AnyType, ComponentType, CompositeCustomType, EmbeddedComponentType

Enables other Component-like types to hold collections and have cascades, etc.
Method from org.hibernate.type.AbstractComponentType Summary:
getCascadeStyle,   getFetchMode,   getPropertyNames,   getPropertyNullability,   getPropertyValue,   getPropertyValues,   getPropertyValues,   getSubtypes,   isEmbedded,   isMethodOf,   setPropertyValues
Method from org.hibernate.type.AbstractComponentType Detail:
 public CascadeStyle getCascadeStyle(int i)
 public FetchMode getFetchMode(int i)
 public String[] getPropertyNames()
    Get the names of the component properties
 public boolean[] getPropertyNullability()
    Optional operation
 public Object getPropertyValue(Object component,
    int i,
    SessionImplementor session) throws HibernateException
 public Object[] getPropertyValues(Object component,
    SessionImplementor session) throws HibernateException
    Get the values of the component properties of a component instance
 public Object[] getPropertyValues(Object component,
    EntityMode entityMode) throws HibernateException
    Optional operation
 public Type[] getSubtypes()
    Get the types of the component properties
 public boolean isEmbedded()
 public boolean isMethodOf(Method method)
 public  void setPropertyValues(Object component,
    Object[] values,
    EntityMode entityMode) throws HibernateException
    Optional operation