public class EmbeddableSourceImpl extends AbstractHbmSourceNode implements EmbeddableSource
Constructor and Description |
---|
EmbeddableSourceImpl(MappingDocument mappingDocument,
EmbeddableSourceContainer container,
EmbeddableMapping jaxbEmbeddableMapping,
List attributeMappings,
boolean isDynamic,
boolean isUnique,
String logicalTableName,
NaturalIdMutability naturalIdMutability) |
Modifier and Type | Method and Description |
---|---|
List<AttributeSource> |
attributeSources()
Obtain this container's attribute sources.
|
AttributePath |
getAttributePathBase() |
AttributeRole |
getAttributeRoleBase() |
LocalMetadataBuildingContext |
getLocalMetadataBuildingContext()
Obtain the local binding context associated with this container.
|
String |
getParentReferenceAttributeName() |
ToolingHintContext |
getToolingHintContext() |
Map<EntityMode,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, sourceMappingDocument
public EmbeddableSourceImpl(MappingDocument mappingDocument, EmbeddableSourceContainer container, EmbeddableMapping jaxbEmbeddableMapping, List attributeMappings, boolean isDynamic, boolean isUnique, String logicalTableName, NaturalIdMutability naturalIdMutability)
public JavaTypeDescriptor getTypeDescriptor()
getTypeDescriptor
in interface EmbeddableSource
public String getParentReferenceAttributeName()
getParentReferenceAttributeName
in interface EmbeddableSource
public Map<EntityMode,String> getTuplizerClassMap()
getTuplizerClassMap
in interface EmbeddableSource
public boolean isDynamic()
EmbeddableSource
isDynamic
in interface EmbeddableSource
true
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 EmbeddableSource
public AttributePath getAttributePathBase()
getAttributePathBase
in interface AttributeSourceContainer
public AttributeRole getAttributeRoleBase()
getAttributeRoleBase
in interface AttributeSourceContainer
public List<AttributeSource> attributeSources()
AttributeSourceContainer
attributeSources
in interface AttributeSourceContainer
public LocalMetadataBuildingContext getLocalMetadataBuildingContext()
AttributeSourceContainer
getLocalMetadataBuildingContext
in interface AttributeSourceContainer
public ToolingHintContext getToolingHintContext()
getToolingHintContext
in interface ToolingHintContextContainer
Copyright © 2017 JBoss by Red Hat. All rights reserved.