Package org.hibernate.type
Class EmbeddedComponentType
- java.lang.Object
-
- org.hibernate.type.AbstractType
-
- org.hibernate.type.ComponentType
-
- org.hibernate.type.EmbeddedComponentType
-
- All Implemented Interfaces:
java.io.Serializable,CompositeType,ProcedureParameterExtractionAware,Type
public class EmbeddedComponentType extends ComponentType
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.hibernate.type.ComponentType
componentTuplizer, entityMode, propertySpan
-
Fields inherited from class org.hibernate.type.AbstractType
LEGACY_DEFAULT_SIZE, LEGACY_DICTATED_SIZE
-
-
Constructor Summary
Constructors Constructor Description EmbeddedComponentType(ComponentMetamodel metamodel)EmbeddedComponentType(TypeFactory.TypeScope typeScope, ComponentMetamodel metamodel)Deprecated.Use the other constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Objectinstantiate(java.lang.Object parent, SharedSessionContractImplementor session)booleanisEmbedded()Is this component embedded? "embedded" indicates that the component is "virtual", that its properties are "flattened" onto its ownerbooleanisMethodOf(java.lang.reflect.Method method)Is the given method a member of this component's class?-
Methods inherited from class org.hibernate.type.ComponentType
assemble, canDoExtraction, compare, deepCopy, defaultSizes, dictatedSizes, disassemble, extract, extract, getCascadeStyle, getColumnSpan, getComponentTuplizer, getEntityMode, getFetchMode, getHashCode, getHashCode, getName, getPropertyIndex, getPropertyNames, getPropertyNullability, getPropertyValue, getPropertyValue, getPropertyValue, getPropertyValueGenerationStrategies, getPropertyValues, getPropertyValues, getReturnedClass, getSubtypes, hasNotNullProperty, hydrate, instantiate, isComponentType, isDirty, isDirty, isEqual, isEqual, isKey, isModified, isMutable, isSame, nullSafeGet, nullSafeGet, nullSafeSet, nullSafeSet, replace, replace, resolve, semiResolve, setPropertyValues, sqlTypes, toColumnNullness, toLoggableString
-
Methods inherited from class org.hibernate.type.AbstractType
beforeAssemble, getSemiResolvedType, isAnyType, isAssociationType, isCollectionType, isEntityType
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.hibernate.type.Type
beforeAssemble, getSemiResolvedType, isAnyType, isAssociationType, isCollectionType, isEntityType, resolve
-
-
-
-
Constructor Detail
-
EmbeddedComponentType
@Deprecated public EmbeddedComponentType(TypeFactory.TypeScope typeScope, ComponentMetamodel metamodel)
Deprecated.Use the other constructor
-
EmbeddedComponentType
public EmbeddedComponentType(ComponentMetamodel metamodel)
-
-
Method Detail
-
isEmbedded
public boolean isEmbedded()
Description copied from interface:CompositeTypeIs this component embedded? "embedded" indicates that the component is "virtual", that its properties are "flattened" onto its owner- Specified by:
isEmbeddedin interfaceCompositeType- Overrides:
isEmbeddedin classComponentType- Returns:
- True if this component is embedded; false otherwise.
-
isMethodOf
public boolean isMethodOf(java.lang.reflect.Method method)
Description copied from interface:CompositeTypeIs the given method a member of this component's class?- Specified by:
isMethodOfin interfaceCompositeType- Overrides:
isMethodOfin classComponentType- Parameters:
method- The method to check- Returns:
- True if the method is a member; false otherwise.
-
instantiate
public java.lang.Object instantiate(java.lang.Object parent, SharedSessionContractImplementor session) throws HibernateException- Overrides:
instantiatein classComponentType- Throws:
HibernateException
-
-