|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SingularAttributeSource
Source-agnostic description of information needed to bind a singular attribute.
Method Summary | |
---|---|
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. |
Methods inherited from interface org.hibernate.metamodel.source.binder.AttributeSource |
---|
getName, getPropertyAccessorName, getTypeInformation, isIncludedInOptimisticLocking, isSingular, metaAttributes |
Methods inherited from interface org.hibernate.metamodel.source.binder.RelationalValueSourceContainer |
---|
areValuesIncludedInInsertByDefault, areValuesIncludedInUpdateByDefault, areValuesNullableByDefault, relationalValueSources |
Method Detail |
---|
boolean 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.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |