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.
|
org.hibernate.boot.model.source.internal.hbm.XmlElementMetadata |
getSourceType() |
HibernateTypeSource |
getTypeInformation()
Obtain information about the Hibernate type (
Type ) for this attribute. |
String |
getXmlNodeName()
This is only useful to log warnings when these deprecated attributes are populated.
|
boolean |
isIncludedInOptimisticLocking()
If the containing entity is using optimistic locking, should this
attribute participate in that locking? Meaning, should changes in the
value of this attribute at runtime indicate that the entity is now dirty
in terms of optimistic locking?
|
boolean |
isSingular()
Attributes are (coarsely speaking) either singular or plural.
|
getToolingHintContext
org.hibernate.boot.model.source.internal.hbm.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 © 2001-2021 Red Hat, Inc. All Rights Reserved.