类 EmbeddableSourceVirtualImpl
- java.lang.Object
-
- org.hibernate.boot.model.source.internal.hbm.AbstractHbmSourceNode
-
- org.hibernate.boot.model.source.internal.hbm.EmbeddableSourceVirtualImpl
-
public class EmbeddableSourceVirtualImpl extends AbstractHbmSourceNode implements EmbeddableSource
A virtual embeddable; what Hibernate historically (pre-JPA) called an embedded component. Mainly used to model a<properties/>mapping- 作者:
- Steve Ebersole
-
-
构造器概要
构造器 构造器 说明 EmbeddableSourceVirtualImpl(MappingDocument mappingDocument, AttributesHelper.Callback containingCallback, EmbeddableSourceContainer container, List attributeJaxbMappings, String logicalTableName, NaturalIdMutability naturalIdMutability, JaxbHbmPropertiesType jaxbPropertiesGroup)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 List<AttributeSource>attributeSources()Obtain this container's attribute sources.AttributePathgetAttributePathBase()AttributeRolegetAttributeRoleBase()LocalMetadataBuildingContextgetLocalMetadataBuildingContext()Obtain the local binding context associated with this container.StringgetParentReferenceAttributeName()ToolingHintContextgetToolingHintContext()Map<EntityMode,String>getTuplizerClassMap()JavaTypeDescriptorgetTypeDescriptor()booleanisDynamic()Indicates whether this embeddable/component is dynamic (represented as a Map), or whether a dedicated class for it is available.booleanisUnique()-
从类继承的方法 org.hibernate.boot.model.source.internal.hbm.AbstractHbmSourceNode
mappingRoot, metadataBuildingContext, origin, sourceMappingDocument
-
-
-
-
构造器详细资料
-
EmbeddableSourceVirtualImpl
public EmbeddableSourceVirtualImpl(MappingDocument mappingDocument, AttributesHelper.Callback containingCallback, EmbeddableSourceContainer container, List attributeJaxbMappings, String logicalTableName, NaturalIdMutability naturalIdMutability, JaxbHbmPropertiesType jaxbPropertiesGroup)
-
-
方法详细资料
-
getTypeDescriptor
public JavaTypeDescriptor getTypeDescriptor()
- 指定者:
getTypeDescriptor在接口中EmbeddableSource
-
getParentReferenceAttributeName
public String getParentReferenceAttributeName()
-
getTuplizerClassMap
public Map<EntityMode,String> getTuplizerClassMap()
- 指定者:
getTuplizerClassMap在接口中EmbeddableSource
-
isDynamic
public boolean isDynamic()
从接口复制的说明:EmbeddableSourceIndicates whether this embeddable/component is dynamic (represented as a Map), or whether a dedicated class for it is available.- 指定者:
isDynamic在接口中EmbeddableSource- 返回:
trueindicates that the composition is represented as a Map;falseindicates there is a dedicated class for representing the composition.
-
isUnique
public boolean isUnique()
- 指定者:
isUnique在接口中EmbeddableSource
-
getAttributePathBase
public AttributePath getAttributePathBase()
- 指定者:
getAttributePathBase在接口中AttributeSourceContainer
-
getAttributeRoleBase
public AttributeRole getAttributeRoleBase()
- 指定者:
getAttributeRoleBase在接口中AttributeSourceContainer
-
attributeSources
public List<AttributeSource> attributeSources()
从接口复制的说明:AttributeSourceContainerObtain this container's attribute sources.- 指定者:
attributeSources在接口中AttributeSourceContainer- 返回:
- The attribute sources.
-
getLocalMetadataBuildingContext
public LocalMetadataBuildingContext getLocalMetadataBuildingContext()
从接口复制的说明:AttributeSourceContainerObtain the local binding context associated with this container.- 指定者:
getLocalMetadataBuildingContext在接口中AttributeSourceContainer- 返回:
- The local binding context
-
getToolingHintContext
public ToolingHintContext getToolingHintContext()
-
-