|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AttributeSource
Contract for sources of persistent attribute descriptions.
Method Summary | |
---|---|
String |
getName()
Obtain the attribute name. |
String |
getPropertyAccessorName()
Obtain the name of the property accessor style used to access this attribute. |
ExplicitHibernateTypeSource |
getTypeInformation()
Obtain information about the Hibernate type ( Type ) for this attribute. |
boolean |
isIncludedInOptimisticLocking()
If the containing entity is using OptimisticLockStyle.ALL or
OptimisticLockStyle.DIRTY style optimistic locking, should this attribute
be used? |
boolean |
isSingular()
Is this a singular attribute? Specifically, can it be cast to SingularAttributeSource ? |
Iterable<MetaAttributeSource> |
metaAttributes()
Obtain the meta-attribute sources associated with this attribute. |
Method Detail |
---|
String getName()
null
ais NOT allowed!boolean isSingular()
SingularAttributeSource
?
true
indicates this is castable to SingularAttributeSource
; false
otherwise.ExplicitHibernateTypeSource getTypeInformation()
Type
) for this attribute.
String getPropertyAccessorName()
PropertyAccessor
boolean isIncludedInOptimisticLocking()
OptimisticLockStyle.ALL
or
OptimisticLockStyle.DIRTY
style optimistic locking, should this attribute
be used?
true
indicates it should be included; false
, it should not.Iterable<MetaAttributeSource> metaAttributes()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |