public interface SingularAttributeSource extends AttributeSource, RelationalValueSourceContainer
| Modifier and Type | Method and Description |
|---|---|
PropertyGeneration |
getGeneration()
Obtain a description of if/when the attribute value is generated by the database.
|
SingularAttributeNature |
getNature()
Obtain the nature of this attribute type.
|
boolean |
isInsertable()
Determine whether this attribute is insertable.
|
boolean |
isLazy()
Should the attribute be (bytecode enhancement) lazily loaded?
|
boolean |
isUpdatable()
Determine whether this attribute is updateable.
|
boolean |
isVirtualAttribute()
Determine whether this is a virtual attribute or whether it physically exists on the users domain model.
|
getName, getPropertyAccessorName, getTypeInformation, isIncludedInOptimisticLocking, isSingular, metaAttributesareValuesIncludedInInsertByDefault, areValuesIncludedInUpdateByDefault, areValuesNullableByDefault, relationalValueSourcesboolean isVirtualAttribute()
true indicates the attribute is virtual, meaning it does NOT exist on the domain model;
false indicates the attribute physically exists.SingularAttributeNature getNature()
boolean isInsertable()
true indicates the attribute value should be used in the SQL INSERT; false
indicates it should not.boolean isUpdatable()
true indicates the attribute value should be used in the SQL UPDATE; false
indicates it should not.PropertyGeneration getGeneration()
boolean isLazy()
true to indicate the attribute should be lazily loaded.Copyright © 2018 JBoss by Red Hat. All rights reserved.