public abstract class AbstractSingularAttributeSourceEmbeddedImpl extends AbstractHbmSourceNode implements SingularAttributeSourceEmbedded
Modifier | Constructor and Description |
---|---|
protected |
AbstractSingularAttributeSourceEmbeddedImpl(MappingDocument sourceMappingDocument,
AttributeSourceContainer container,
EmbeddedAttributeMapping embeddedAttributeMapping,
List nestedAttributeMappings,
boolean isDynamic,
NaturalIdMutability naturalIdMutability,
String logicalTableName) |
|
AbstractSingularAttributeSourceEmbeddedImpl(MappingDocument sourceMappingDocument,
EmbeddedAttributeMapping jaxbEmbeddedAttributeMapping,
EmbeddableSource embeddableSource,
NaturalIdMutability naturalIdMutability) |
Modifier and Type | Method and Description |
---|---|
EmbeddableSource |
getEmbeddableSource()
Gets the source information about the embeddable/composition.
|
GenerationTiming |
getGenerationTiming()
Obtain a description of if/when the attribute value is generated by the database.
|
String |
getName()
Obtain the attribute name.
|
NaturalIdMutability |
getNaturalIdMutability()
Retrieve the natural id mutability
|
String |
getPropertyAccessorName()
Obtain the name of the property accessor style used to access this attribute.
|
SingularAttributeNature |
getSingularAttributeNature()
Obtain the nature of this attribute type.
|
HibernateTypeSource |
getTypeInformation()
Obtain information about the Hibernate type (
Type ) for this attribute. |
boolean |
isSingular()
Attributes are (coarsely speaking) either singular or plural.
|
boolean |
isVirtualAttribute()
Determine whether this is a virtual attribute or whether it physically exists on the users domain model.
|
mappingRoot, metadataBuildingContext, origin, sourceMappingDocument
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isBytecodeLazy, isInsertable, isUpdatable
getAttributePath, getAttributeRole, getSourceType, getXmlNodeName, isIncludedInOptimisticLocking
getToolingHintContext
protected AbstractSingularAttributeSourceEmbeddedImpl(MappingDocument sourceMappingDocument, AttributeSourceContainer container, EmbeddedAttributeMapping embeddedAttributeMapping, List nestedAttributeMappings, boolean isDynamic, NaturalIdMutability naturalIdMutability, String logicalTableName)
public AbstractSingularAttributeSourceEmbeddedImpl(MappingDocument sourceMappingDocument, EmbeddedAttributeMapping jaxbEmbeddedAttributeMapping, EmbeddableSource embeddableSource, NaturalIdMutability naturalIdMutability)
public EmbeddableSource getEmbeddableSource()
EmbeddableSourceContributor
getEmbeddableSource
in interface EmbeddableSourceContributor
public String getName()
AttributeSource
getName
in interface AttributeSource
null
is NOT allowed!public boolean isSingular()
AttributeSource
isSingular
in interface AttributeSource
true
indicates the attribute is singular (and therefore castable
to SingularAttributeSource
); false
indicates it is plural (and
therefore castable to PluralAttributeSource
).public boolean isVirtualAttribute()
SingularAttributeSource
isVirtualAttribute
in interface SingularAttributeSource
true
indicates the attribute is virtual, meaning it does NOT exist on the domain model;
false
indicates the attribute physically exists.public SingularAttributeNature getSingularAttributeNature()
SingularAttributeSource
getSingularAttributeNature
in interface SingularAttributeSource
public HibernateTypeSource getTypeInformation()
AttributeSource
Type
) for this attribute.getTypeInformation
in interface AttributeSource
public String getPropertyAccessorName()
AttributeSource
getPropertyAccessorName
in interface AttributeSource
PropertyAccessStrategy
public NaturalIdMutability getNaturalIdMutability()
SingularAttributeSource
getNaturalIdMutability
in interface SingularAttributeSource
public GenerationTiming getGenerationTiming()
SingularAttributeSource
getGenerationTiming
in interface SingularAttributeSource
Copyright © 2019 JBoss by Red Hat. All rights reserved.