public interface AttributeSource
| Modifier and Type | Method and Description |
|---|---|
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.
|
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()
PropertyAccessorboolean 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()
Copyright © 2018 JBoss by Red Hat. All rights reserved.