public interface AttributeSource extends ToolingHintContextContainer
Property
instances.Modifier and Type | Method and Description |
---|---|
AttributePath |
getAttributePath() |
AttributeRole |
getAttributeRole() |
String |
getName()
Obtain the attribute name.
|
String |
getPropertyAccessorName()
Obtain the name of the property accessor style used to access this attribute.
|
XmlElementMetadata |
getSourceType() |
HibernateTypeSource |
getTypeInformation()
Obtain information about the Hibernate type (
Type ) for this attribute. |
String |
getXmlNodeName()
Ugh.
|
boolean |
isIncludedInOptimisticLocking()
If the containing entity is using optimistic locking, should this
attribute participate in that locking?
|
boolean |
isSingular()
Attributes are (coarsely speaking) either singular or plural.
|
getToolingHintContext
XmlElementMetadata getSourceType()
String getName()
null
is NOT allowed!boolean isSingular()
true
indicates the attribute is singular (and therefore castable
to SingularAttributeSource
); false
indicates it is plural (and
therefore castable to PluralAttributeSource
).String getXmlNodeName()
AttributePath getAttributePath()
AttributeRole getAttributeRole()
HibernateTypeSource getTypeInformation()
Type
) for this attribute.String getPropertyAccessorName()
PropertyAccessStrategy
boolean isIncludedInOptimisticLocking()
true
indicates it should be included; false
, it should not.Copyright © 2017. All rights reserved.