Class PluralAttributeSourceBagImpl

All Implemented Interfaces:
Helper.InLineViewNameInferrer, AttributeSource, CascadeStyleSource, FetchableAttributeSource, Orderable, PluralAttributeSource, ToolingHintContextContainer

public class PluralAttributeSourceBagImpl extends AbstractPluralAttributeSourceImpl implements Orderable
  • Constructor Details

  • Method Details

    • getNature

      public PluralAttributeNature getNature()
      Specified by:
      getNature in interface PluralAttributeSource
    • getSourceType

      public XmlElementMetadata getSourceType()
      Specified by:
      getSourceType in interface AttributeSource
    • getXmlNodeName

      public String getXmlNodeName()
      Description copied from interface: AttributeSource
      This is only useful to log warnings when these deprecated attributes are populated. It was only useful for DOM4J entity-mode, which was removed a long time ago.
      Specified by:
      getXmlNodeName in interface AttributeSource
      Returns:
      The xml node name
    • isOrdered

      public boolean isOrdered()
      Description copied from interface: Orderable
      If the source of plural attribute is supposed to be applied the ORDER BY when loading.
      Specified by:
      isOrdered in interface Orderable
      Returns:
      true indicates to apply the ORDER BY; false means not.
    • getOrder

      public String getOrder()
      Description copied from interface: Orderable
      The order by clause used during loading this plural attribute.

      If the ordering element is not specified, ordering by the primary key of the associated entity is assumed

      Specified by:
      getOrder in interface Orderable
      Returns:
      The ORDER BY fragment used during loading this plural attribute from DB.
      See Also: