Class IndexAttributeImpl

  • All Implemented Interfaces:
    IndexAttribute

    public class IndexAttributeImpl
    extends java.lang.Object
    implements IndexAttribute
    Index part.
    Author:
    harald
    • Constructor Detail

      • IndexAttributeImpl

        public IndexAttributeImpl​(Index index)
        Creates an index attribute.
        Parameters:
        index - the index
    • Method Detail

      • getIndex

        public Index getIndex()
        Gets the index this attribute belongs to.
        Returns:
        the index
      • isDescending

        public boolean isDescending()
        Description copied from interface: IndexAttribute
        Returns whether the attribute is descending.
        Specified by:
        isDescending in interface IndexAttribute
        Returns:
        true if descending, else ascending (default)
      • setAttribute

        public void setAttribute​(Attribute attribute)
      • setDescending

        public void setDescending​(boolean descending)