Interface AttributeSource

    • Method Detail

      • getSourceType

        org.hibernate.boot.model.source.internal.hbm.XmlElementMetadata getSourceType()
      • getName

        java.lang.String getName()
        Obtain the attribute name.
        Returns:
        The attribute name. null is NOT allowed!
      • isSingular

        boolean isSingular()
        Attributes are (coarsely speaking) either singular or plural.
        Returns:
        true indicates the attribute is singular (and therefore castable to SingularAttributeSource); false indicates it is plural (and therefore castable to PluralAttributeSource).
      • getXmlNodeName

        java.lang.String getXmlNodeName()
        Ugh. This is the deprecated DOM4J entity-mode feature
        Returns:
        The xml node name
      • getTypeInformation

        HibernateTypeSource getTypeInformation()
        Obtain information about the Hibernate type (Type) for this attribute.
        Returns:
        The Hibernate type information
      • getPropertyAccessorName

        java.lang.String getPropertyAccessorName()
        Obtain the name of the property accessor style used to access this attribute.
        Returns:
        The property accessor style for this attribute.
        See Also:
        PropertyAccessStrategy
      • isIncludedInOptimisticLocking

        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?
        Returns:
        true indicates it should be included; false, it should not.