Class OdfClassificationHandler.LevelValue

java.lang.Object
org.ametys.odf.tree.OdfClassificationHandler.LevelValue
Enclosing class:
OdfClassificationHandler

public static class OdfClassificationHandler.LevelValue extends Object
Wrapper object for a level value
  • Constructor Details

    • LevelValue

      public LevelValue(String value, Long order)
      The constructor
      Parameters:
      value - the value
      order - the order
  • Method Details

    • getValue

      public String getValue()
      Get the value
      Returns:
      the value
    • getOrder

      public Long getOrder()
      Get the order
      Returns:
      the order
    • compareTo

      Compare to a level value depends of the order first then the value
      Parameters:
      levelValue - the level value to compare
      Returns:
      the int value of the comparaison