public class SingularAttributeSourceAnyImpl extends AbstractHbmSourceNode implements SingularAttributeSourceAny
| Constructor and Description |
|---|
SingularAttributeSourceAnyImpl(MappingDocument sourceMappingDocument,
AttributeSourceContainer container,
JaxbHbmAnyAssociationType jaxbAnyMapping,
java.lang.String logicalTableName,
NaturalIdMutability naturalIdMutability) |
| Modifier and Type | Method and Description |
|---|---|
AttributePath |
getAttributePath() |
AttributeRole |
getAttributeRole() |
java.lang.String |
getCascadeStyleName()
Obtain the cascade styles to be applied to this association.
|
AnyDiscriminatorSource |
getDiscriminatorSource() |
GenerationTiming |
getGenerationTiming()
Obtain a description of if/when the attribute value is generated by the database.
|
AnyKeySource |
getKeySource() |
java.lang.String |
getName()
Obtain the attribute name.
|
NaturalIdMutability |
getNaturalIdMutability()
Retrieve the natural id mutability
|
java.lang.String |
getPropertyAccessorName()
Obtain the name of the property accessor style used to access this attribute.
|
SingularAttributeNature |
getSingularAttributeNature()
Obtain the nature of this attribute type.
|
XmlElementMetadata |
getSourceType() |
ToolingHintContext |
getToolingHintContext() |
HibernateTypeSource |
getTypeInformation()
Obtain information about the Hibernate type (
Type) for this attribute. |
java.lang.String |
getXmlNodeName()
Ugh.
|
boolean |
isBytecodeLazy()
Should the attribute be lazily loaded by bytecode enhancement?
|
boolean |
isIncludedInOptimisticLocking()
If the containing entity is using optimistic locking, should this
attribute participate in that locking? Meaning, should changes in the
value of this attribute at runtime indicate that the entity is now dirty
in terms of optimistic locking?
|
java.lang.Boolean |
isInsertable()
Did the mapping specify that the given attribute value(s) should be inserted into the database?
|
boolean |
isSingular()
Attributes are (coarsely speaking) either singular or plural.
|
java.lang.Boolean |
isUpdatable()
Did the mapping specify that the given attribute value(s) should be updated in the database?
|
boolean |
isVirtualAttribute()
Determine whether this is a virtual attribute or whether it physically exists on the users domain model.
|
mappingRoot, metadataBuildingContext, origin, sourceMappingDocumentpublic SingularAttributeSourceAnyImpl(MappingDocument sourceMappingDocument, AttributeSourceContainer container, JaxbHbmAnyAssociationType jaxbAnyMapping, java.lang.String logicalTableName, NaturalIdMutability naturalIdMutability)
public SingularAttributeNature getSingularAttributeNature()
SingularAttributeSourcegetSingularAttributeNature in interface SingularAttributeSourcepublic XmlElementMetadata getSourceType()
getSourceType in interface AttributeSourcepublic boolean isSingular()
AttributeSourceisSingular in interface AttributeSourcetrue indicates the attribute is singular (and therefore castable
to SingularAttributeSource); false indicates it is plural (and
therefore castable to PluralAttributeSource).public java.lang.String getName()
AttributeSourcegetName in interface AttributeSourcenull is NOT allowed!public java.lang.String getXmlNodeName()
AttributeSourcegetXmlNodeName in interface AttributeSourcepublic AttributePath getAttributePath()
getAttributePath in interface AttributeSourcepublic AttributeRole getAttributeRole()
getAttributeRole in interface AttributeSourcepublic boolean isVirtualAttribute()
SingularAttributeSourceisVirtualAttribute in interface SingularAttributeSourcetrue indicates the attribute is virtual, meaning it does NOT exist on the domain model;
false indicates the attribute physically exists.public GenerationTiming getGenerationTiming()
SingularAttributeSourcegetGenerationTiming in interface SingularAttributeSourcepublic java.lang.Boolean isInsertable()
SingularAttributeSourceisInsertable in interface SingularAttributeSourcetrue indicates value(s) should be inserted; false indicates not.public java.lang.Boolean isUpdatable()
SingularAttributeSourceisUpdatable in interface SingularAttributeSourcetrue indicates value(s) should be updated; false indicates not.public boolean isBytecodeLazy()
SingularAttributeSourceisBytecodeLazy in interface SingularAttributeSourcetrue to indicate the attribute should be lazily loaded by bytecode enhancement?public NaturalIdMutability getNaturalIdMutability()
SingularAttributeSourcegetNaturalIdMutability in interface SingularAttributeSourcepublic HibernateTypeSource getTypeInformation()
AttributeSourceType) for this attribute.getTypeInformation in interface AttributeSourcepublic java.lang.String getPropertyAccessorName()
AttributeSourcegetPropertyAccessorName in interface AttributeSourcePropertyAccessStrategypublic boolean isIncludedInOptimisticLocking()
AttributeSourceisIncludedInOptimisticLocking in interface AttributeSourcetrue indicates it should be included; false, it should not.public ToolingHintContext getToolingHintContext()
getToolingHintContext in interface ToolingHintContextContainerpublic AnyDiscriminatorSource getDiscriminatorSource()
getDiscriminatorSource in interface AnyMappingSourcepublic AnyKeySource getKeySource()
getKeySource in interface AnyMappingSourcepublic java.lang.String getCascadeStyleName()
CascadeStyleSourcegetCascadeStyleName in interface CascadeStyleSourceCopyright © 2001-2018 Red Hat, Inc. All Rights Reserved.