public interface SingularAttributeSource extends AttributeSource
Modifier and Type | Method and Description |
---|---|
GenerationTiming |
getGenerationTiming()
Obtain a description of if/when the attribute value is generated by the database.
|
NaturalIdMutability |
getNaturalIdMutability()
Retrieve the natural id mutability
|
SingularAttributeNature |
getSingularAttributeNature()
Obtain the nature of this attribute type.
|
boolean |
isBytecodeLazy()
Should the attribute be lazily loaded by bytecode enhancement?
|
java.lang.Boolean |
isInsertable()
Did the mapping specify that the given attribute value(s) should be inserted into the database?
|
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.
|
getAttributePath, getAttributeRole, getName, getPropertyAccessorName, getSourceType, getTypeInformation, getXmlNodeName, isIncludedInOptimisticLocking, isSingular
getToolingHintContext
boolean isVirtualAttribute()
true
indicates the attribute is virtual, meaning it does NOT exist on the domain model;
false
indicates the attribute physically exists.SingularAttributeNature getSingularAttributeNature()
GenerationTiming getGenerationTiming()
java.lang.Boolean isInsertable()
true
indicates value(s) should be inserted; false
indicates not.java.lang.Boolean isUpdatable()
true
indicates value(s) should be updated; false
indicates not.boolean isBytecodeLazy()
true
to indicate the attribute should be lazily loaded by bytecode enhancement?NaturalIdMutability getNaturalIdMutability()
Copyright © 2001-2018 Red Hat, Inc. All Rights Reserved.