public class EmbeddableSourceImpl extends AbstractHbmSourceNode implements EmbeddableSource
| Constructor and Description |
|---|
EmbeddableSourceImpl(MappingDocument mappingDocument,
EmbeddableSourceContainer container,
EmbeddableMapping jaxbEmbeddableMapping,
java.util.List attributeMappings,
boolean isDynamic,
boolean isUnique,
java.lang.String logicalTableName,
NaturalIdMutability naturalIdMutability) |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<AttributeSource> |
attributeSources()
Obtain this container's attribute sources.
|
AttributePath |
getAttributePathBase() |
AttributeRole |
getAttributeRoleBase() |
LocalMetadataBuildingContext |
getLocalMetadataBuildingContext()
Obtain the local binding context associated with this container.
|
java.lang.String |
getParentReferenceAttributeName() |
ToolingHintContext |
getToolingHintContext() |
java.util.Map<EntityMode,java.lang.String> |
getTuplizerClassMap() |
JavaTypeDescriptor |
getTypeDescriptor() |
boolean |
isDynamic()
Indicates whether this embeddable/component is dynamic (represented as a Map),
or whether a dedicated class for it is available.
|
boolean |
isUnique() |
mappingRoot, metadataBuildingContext, origin, sourceMappingDocumentpublic EmbeddableSourceImpl(MappingDocument mappingDocument, EmbeddableSourceContainer container, EmbeddableMapping jaxbEmbeddableMapping, java.util.List attributeMappings, boolean isDynamic, boolean isUnique, java.lang.String logicalTableName, NaturalIdMutability naturalIdMutability)
public JavaTypeDescriptor getTypeDescriptor()
getTypeDescriptor in interface EmbeddableSourcepublic java.lang.String getParentReferenceAttributeName()
getParentReferenceAttributeName in interface EmbeddableSourcepublic java.util.Map<EntityMode,java.lang.String> getTuplizerClassMap()
getTuplizerClassMap in interface EmbeddableSourcepublic boolean isDynamic()
EmbeddableSourceisDynamic in interface EmbeddableSourcetrue indicates that the composition is represented as a Map;
false indicates there is a dedicated class for representing the
composition.public boolean isUnique()
isUnique in interface EmbeddableSourcepublic AttributePath getAttributePathBase()
getAttributePathBase in interface AttributeSourceContainerpublic AttributeRole getAttributeRoleBase()
getAttributeRoleBase in interface AttributeSourceContainerpublic java.util.List<AttributeSource> attributeSources()
AttributeSourceContainerattributeSources in interface AttributeSourceContainerpublic LocalMetadataBuildingContext getLocalMetadataBuildingContext()
AttributeSourceContainergetLocalMetadataBuildingContext in interface AttributeSourceContainerpublic ToolingHintContext getToolingHintContext()
getToolingHintContext in interface ToolingHintContextContainerCopyright © 2001-2018 Red Hat, Inc. All Rights Reserved.