Class PluralAttributeSourceSetImpl

    • Method Detail

      • isSorted

        public boolean isSorted()
        Description copied from interface: Sortable
        If the source of plural attribute is supposed to be sorted.
        Specified by:
        isSorted in interface Sortable
        Returns:
        true the attribute will be sortable or false means not.
      • getComparatorName

        public String getComparatorName()
        Description copied from interface: Sortable
        The comparator class name which will be used to sort the attribute.
        Specified by:
        getComparatorName in interface Sortable
        Returns:
        Qualified class name which implements Comparator contact.
      • 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:
        OrderBy.value()
      • 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